Function at 0x10049310
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x1017a611
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x101ce00c]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101ce00c]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x1c], eax
mov eax, edi
mov dword [esp + 0x20], 0
lea edx, [eax + 1]
jmp 0x10049360
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10049360
sub eax, edx
lea esi, [eax + eax*2 + 2]
push edx
pop edx
mov ebx, dword [esp + 0x7c]
cmp ebx, 1
jne 0x1004937e
add esi, esi
xchg ebx, eax
xchg ebx, eax
push esi
call fcn.10117b2c
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
mov ebp, ebp
test ebp, ebp
jne 0x100493b9
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x17]
push ecx
push 0x10181900
mov ecx, esi
call fcn.10003d50
mov dword [esp + 0x68], ebp
mov dword [esp + 0x20], 1
jmp 0x10049660
push esi
push 0
push ebp
call fcn.10118770
add esp, 0xc
test bh, bh
test ebx, ebx
jne 0x10049484
mov bl, 0x25
mov dl, 0x30
mov cl, 0x32
mov al, 0x78
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], 0x20
mov byte [esp + 0x41], 0
push ecx
pop ecx
mov byte [esp + 0x48], bl
mov byte [esp + 0x49], dl
mov byte [esp + 0x4a], cl
mov byte [esp + 0x4b], al
mov byte [esp + 0x4c], 0
test ecx, ecx
mov ebx, ebp
push eax
pop eax
test edi, edi
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10049415
sub eax, edx
mov dword [esp + 0x18], eax
mov dh, dh
xor esi, esi
test eax, eax
jle 0x10049616
jmp 0x10049436
mov eax, dword [esp + 0x18]
add eax, 0xffffffff
cmp esi, eax
jge 0x10049459
movzx edx, byte [edi + esi]
push edx
lea eax, [esp + 0x40]
push eax
push ebx
call fcn.10119287
add esp, 0xc
push eax
pop eax
add ebx, 3
mov bh, bh
jmp 0x10049476
movzx ecx, byte [edi + esi]
push ecx
lea edx, [esp + 0x4c]
push edx
push ebx
call fcn.10119287
add esp, 0xc
test eax, 0x4797
add ebx, 2
push eax
pop eax
add esi, 1
cmp esi, dword [esp + 0x18]
jl 0x10049432
jmp 0x10049616
cmp ebx, 1
jne 0x10049616
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x10049492
sub eax, edx
lea eax, [eax + eax + 2]
push eax
call fcn.10117b2c
add esp, 4
mov esi, eax
test bl, bl
test esi, esi
jne 0x100494e7
push ebp
call fcn.10117bef
add esp, 4
mov ebx, ebx
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x17]
push ecx
push 0x10181900
mov ecx, esi
call fcn.10003d50
mov dword [esp + 0x68], 0
mov dword [esp + 0x20], 1
jmp 0x10049660
mov eax, edi
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100494f0
sub eax, edx
lea edx, [eax + eax + 2]
push edx
push 0
push esi
call fcn.10118770
add esp, 0xc
test ecx, ecx
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x10049512
sub eax, ecx
add eax, 1
push eax
push esi
push 0xffffffffffffffff
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dh, dh
mov bl, 0x25
mov dl, 0x30
mov cl, 0x32
mov al, 0x78
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], dl
mov byte [esp + 0x52], cl
mov byte [esp + 0x53], al
mov byte [esp + 0x54], 0x20
mov byte [esp + 0x55], bl
mov byte [esp + 0x56], dl
mov byte [esp + 0x57], cl
mov byte [esp + 0x58], al
mov byte [esp + 0x59], 0x20
mov byte [esp + 0x5a], 0
test ah, ah
mov byte [esp + 0x3c], bl
mov byte [esp + 0x3d], dl
mov byte [esp + 0x3e], cl
mov byte [esp + 0x3f], al
mov byte [esp + 0x40], 0x20
mov byte [esp + 0x41], bl
mov byte [esp + 0x42], dl
mov byte [esp + 0x43], cl
mov byte [esp + 0x44], al
mov byte [esp + 0x45], 0
test edi, edi
mov ebx, ebp
mov edi, edi
test ebx, ebx
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x100495a1
sub eax, edx
sar eax, 1
mov ebp, eax
mov ebp, ebp
xor edi, edi
test ebp, ebp
jle 0x10049607
lea ebx, [ebx]
test ecx, ecx
movzx ecx, byte [esi + edi*2]
lea eax, [ebp - 1]
cmp edi, eax
movzx eax, byte [esi + edi*2 + 1]
push eax
push ecx
jge 0x100495eb
lea edx, [esp + 0x58]
push edx
push ebx
call fcn.10119287
add esp, 0x10
push ecx
pop ecx
add ebx, 6
mov ecx, ecx
jmp 0x10049600
lea edx, [esp + 0x44]
push edx
push ebx
call fcn.10119287
add esp, 0x10
mov ebx, ebx
add ebx, 5
push ebx
pop ebx
add edi, 1
cmp edi, ebp
jl 0x100495c0
push esi
call fcn.10117bef
add esp, 4
mov cl, cl
mov ebp, dword [esp + 0x18]
lea eax, [esp + 0x17]
push eax
push ebp
lea ecx, [esp + 0x2c]
call fcn.10003d50
mov dword [esp + 0x68], 1
test bh, bh
push ebp
call fcn.10117bef
add esp, 4
mov ebp, ebp
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x24]
push ecx
mov ecx, esi
call fcn.10003dd0
mov dword [esp + 0x20], 1
mov byte [esp + 0x68], 0
lea ecx, [esp + 0x24]
call fcn.10001dc0
mov eax, esi
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.101180ca
add esp, 0x58
ret