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

Disassembly:
push 0xffffffffffffffff
push 0x403abc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x15c
push ebx
push ebp
push esi
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x128]
xor ebp, ebp
rep stosd dword es:[edi], eax
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x38], eax
push ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x14], ebp
mov dword [esp + 0x12c], 0x44
mov dword [esp + 0x44], eax
call fcn.0049da70
add esp, 4
mov esi, dword [eax + 4]
mov dword [esp + 0x174], ebp
cmp esi, ebp
jne 0x49dbd1
mov esi, dword [0x4040a4]
lea edx, [esp + 0x34]
lea eax, [esp + 0x128]
push edx
push eax
push ebp
push ebp
mov edi, 1
push 4
push edi
push ebp
push ebp
call dword [0x404004]
push eax
push esi
call dword [0x406078]
test eax, eax
push edi
lea ecx, [esp + 0x6c]
sete bl
mov dword [esp + 0x178], 0xffffffff
call dword [fcn.004040a0]
test bl, bl
je 0x49dc24
call dword [0x404000]
xor al, al
jmp 0x49e0ba
lea ecx, [esp + 0x68]
push ecx
call fcn.0049da70
add esp, 4
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x178], edi
call fcn.0049f1c0
push edi
lea ecx, [esp + 0x6c]
mov byte [esp + 0x178], 3
call dword [fcn.004040a0]
lea ecx, [esp + 0x48]
call fcn.0049f560
mov dl, byte [esp + 0x2b]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x14]
lea ecx, [esp + 0x48]
push eax
mov byte [esp + 0x178], 4
call fcn.0049f5c0
lea ecx, [esp + 0x11c]
push ecx
lea ecx, [esp + 0x4c]
call fcn.0049f820
lea ecx, [esp + 0x48]
call fcn.0049f3a0
mov edx, dword [0x40409c]
mov eax, dword [0x404098]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x78], edx
mov dword [esp + 0x80], eax
call dword [0x404094]
mov ecx, dword [0x404090]
mov dword [esp + 0x10], edi
mov dword [esp + 0xd8], ecx
lea edx, [esp + 0x84]
push ebp
push edx
lea ecx, [esp + 0x80]
mov byte [esp + 0x17c], 5
call dword [0x40408c]
push ebp
lea ecx, [esp + 0x88]
mov dword [esp + 0x178], 6
call dword [0x404088]
mov eax, dword [esp + 0x78]
mov edx, dword [0x404084]
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x78], edx
lea eax, [esp + 0x10c]
mov bl, 7
push eax
mov byte [esp + 0x178], bl
call fcn.0049da70
add esp, 4
mov eax, dword [eax + 4]
mov byte [esp + 0x174], 8
cmp eax, ebp
jne 0x49dd4f
mov eax, dword [0x4040a4]
cmp dword [esp + 0xd4], ebp
jne 0x49dd8f
push 0x21
push eax
call dword [0x404080]
add esp, 8
cmp eax, ebp
je 0x49dd8f
push edi
push eax
lea ecx, [esp + 0x8c]
call dword [0x40407c]
lea ecx, [esp + 0x84]
call dword [0x404078]
lea ecx, [esp + 0x84]
test ecx, ecx
jne 0x49dda6
mov edx, dword [esp + 0x78]
push ebp
push 2
mov eax, dword [edx + 4]
lea ecx, [esp + eax + 0x80]
call dword [0x404074]
push edi
lea ecx, [esp + 0x110]
mov byte [esp + 0x178], bl
call dword [fcn.004040a0]
mov ebx, dword [0x404070]
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x18]
cmp esi, ebp
je 0x49df8f
mov ecx, dword [esp + 0x1c]
mov eax, 0x92492493
sub ecx, esi
imul ecx
add edx, ecx
mov eax, dword [esp + 0x24]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp eax, edx
jae 0x49df8f
mov edx, dword [esp + 0x10]
mov edi, dword [0x40406c]
add esi, edx
push 0x406030
push esi
call edi
add esp, 8
test al, al
jne 0x49de28
push 0x406038
push esi
call edi
add esp, 8
test al, al
je 0x49dec9
mov eax, dword [esi + 0x14]
push eax
call fcn.004a0140
sub esp, 0x14
mov edi, eax
mov eax, dword [esi + 0x10]
mov ebp, esp
mov dword [esp + 0x5c], esp
mov dword [ebp], eax
mov ecx, dword [0x404068]
mov edx, dword [ecx]
mov dword [ebp + 8], edx
mov eax, dword [ecx + 4]
lea ecx, [esp + 0x48]
mov dword [ebp + 0xc], eax
call ebx
mov ecx, dword [0x4060c8]
mov dword [ebp + 0x10], ecx
lea ecx, [esp + 0x48]
call dword [0x404064]
lea ecx, [esp + 0x90]
call dword [0x404060]
mov edx, dword [esi + 0x14]
lea ecx, [esp + 0x78]
push edx
push edi
call dword [0x40405c]
mov eax, dword [esi + 0x14]
push eax
push edi
push 0x4f
push 3
call fcn.0049ff10
mov eax, dword [esi + 0x18]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esi + 0x14]
add esp, 0x10
add eax, ecx
lea ecx, [esp + 0x64]
push ecx
push edx
push edi
push eax
mov eax, dword [esp + 0x44]
push eax
call dword [0x40608c]
push edi
mov esi, eax
call fcn.004a0110
add esp, 4
test esi, esi
je 0x49dee2
xor ebp, ebp
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
inc ecx
add eax, 0x1c
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], eax
jmp 0x49ddc9
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0xd8]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x404084]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x78], ecx
lea ecx, [esp + 0x84]
mov byte [esp + 0x174], 9
call dword [0x404058]
lea ecx, [esp + 0x84]
mov byte [esp + 0x174], 4
call dword [0x404054]
lea ecx, [esp + 0xd8]
call dword [0x404050]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x174], 3
je 0x49df5d
push 0
mov ecx, esi
call fcn.0049e150
add esi, 0x1c
cmp esi, edi
jne 0x49df49
mov esi, dword [esp + 0x18]
push esi
call fcn.004a0110
xor eax, eax
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x174], 0xffffffff
call fcn.0049f330
xor al, al
jmp 0x49e0ba
mov eax, dword [esp + 0xd4]
cmp eax, ebp
je 0x49dfc3
push eax
call dword [0x404108]
add esp, 4
test eax, eax
jne 0x49dfc3
push 2
push ebp
lea ecx, [esp + 0x8c]
call dword [0x40407c]
lea edx, [esp + 0x84]
test edx, edx
jne 0x49dfda
mov eax, dword [esp + 0x78]
push ebp
push 2
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x80]
call dword [0x404074]
mov edx, dword [esp + 0x38]
push edx
call dword [0x406070]
or ebx, 0xffffffff
cmp eax, ebx
jne 0x49e06a
lea ecx, [esp + 0xd8]
mov byte [esp + 0x174], 4
call dword [0x40404c]
mov eax, dword [0x404090]
lea ecx, [esp + 0xd8]
mov dword [esp + 0xd8], eax
call dword [0x404048]
mov edi, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
cmp esi, edi
mov byte [esp + 0x174], 3
je 0x49e041
push ebp
mov ecx, esi
call fcn.0049e150
add esi, 0x1c
cmp esi, edi
jne 0x49e02e
mov esi, dword [esp + 0x18]
push esi
call fcn.004a0110
add esp, 4
lea ecx, [esp + 0x48]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x174], ebx
call fcn.0049f330
xor al, al
jmp 0x49e0ba
mov ecx, dword [esp + 0x34]
push ecx
call dword [fcn.0040401c]
lea ecx, [esp + 0xd8]
mov byte [esp + 0x174], 4
call dword [0x40404c]
lea ecx, [esp + 0xd8]
call dword [0x404050]
lea ecx, [esp + 0x14]
mov byte [esp + 0x174], 3
call fcn.0049e110
lea ecx, [esp + 0x48]
mov dword [esp + 0x174], ebx
call fcn.0049f330
mov al, 1
mov ecx, dword [esp + 0x16c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x168
ret