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

Disassembly:
push 0xffffffffffffffff
push 0x5593d8
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b2ae0]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x20]
xor ebp, ebp
push ebp
push ebp
push 0x31
push eax
call dword [0x56077c]
push eax
call fcn.004f8e36
cmp eax, ebp
je 0x49d7b2
mov eax, dword [eax + 4]
cmp eax, ebp
je 0x49d7b2
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx + 4]
push eax
push edx
call dword [0x5600ec]
mov ecx, dword [esp + 0xb0]
push 1
call fcn.004f84bd
mov eax, dword [ebx + 0x20]
push eax
call dword [0x560780]
push eax
call fcn.004f2f04
push ebp
push 0x5bb504
push 0x5b43b0
push ebp
push eax
call fcn.00546371
add esp, 0x14
lea ecx, [esp + 0x6c]
push ecx
mov esi, eax
call fcn.00448460
lea edx, [esp + 0x3c]
push edx
push 2
push ebp
push ebp
mov ecx, esi
mov dword [esp + 0xb8], ebp
call fcn.004fc255
mov edi, dword [esp + 0x44]
push ecx
mov eax, esp
mov dword [eax], ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x28], esp
push eax
mov edx, ebx
mov dword [esp + 0x24], edi
call fcn.0049e710
mov byte [esp + 0xa8], 1
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x49d873
lea ecx, [esp + 0x2c]
push 1
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esp
cmp eax, ebp
je 0x49d860
inc dword [eax + 4]
mov ecx, ebx
call fcn.0049ee50
sub edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], edi
mov byte [esp + 0xa8], 0
cmp eax, ebp
je 0x49d893
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], ebp
jg 0x49d893
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
lea ecx, [esp + 0x4c]
push ecx
push 2
push 1
push ebp
mov ecx, esi
call fcn.004fc255
lea edx, [esp + 0x5c]
push edx
push 2
push 2
push ebp
mov ecx, esi
call fcn.004fc255
lea esi, [esp + 0x14]
mov edi, ebx
call fcn.0049f2e0
mov byte [esp + 0xa8], 2
mov esi, dword [esp + 0x14]
cmp esi, ebp
je 0x49d9d3
push ebp
lea eax, [esp + 0x30]
push eax
push ecx
mov eax, esp
mov dword [eax], esi
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esp
mov edi, 1
cmp eax, ebp
je 0x49d8f3
add dword [eax + 4], edi
mov ecx, ebx
call fcn.0049ee50
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0xb4]
lea ecx, [esp + 0x3c]
push ecx
push edx
push eax
push ecx
mov ecx, dword [esp + 0x24]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], esp
cmp eax, ebp
je 0x49d924
add dword [eax + 4], edi
mov edx, dword [esp + 0xc0]
push edx
push ebx
call fcn.0049c070
cmp eax, ebp
je 0x49d9cf
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], esp
cmp eax, ebp
je 0x49d952
add dword [eax + 4], edi
lea edx, [esp + 0x1c]
push edx
mov esi, ebx
call fcn.0049f010
mov byte [esp + 0xa8], 3
mov eax, dword [eax]
mov esi, dword [esp + 0x14]
cmp esi, eax
je 0x49d99a
mov ecx, esi
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebp
je 0x49d983
add dword [esi + 4], edi
mov esi, dword [esp + 0x14]
cmp ecx, ebp
je 0x49d99a
dec dword [ecx + 4]
cmp dword [ecx + 4], ebp
jg 0x49d996
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
call edx
mov esi, dword [esp + 0x14]
mov byte [esp + 0xa8], 2
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x49d9c5
dec dword [eax + 4]
mov ecx, eax
add eax, 4
cmp dword [eax], ebp
jg 0x49d9bd
mov eax, dword [ecx]
mov edx, dword [eax]
push edi
call edx
mov esi, dword [esp + 0x14]
mov dword [esp + 0x18], ebp
cmp esi, ebp
jne 0x49d8d4
jmp 0x49d9d3
mov esi, dword [esp + 0x14]
cmp dword [0x5bf954], ebp
jne 0x49dc74
lea edi, [esp + 0x24]
mov esi, ebx
call fcn.0049e0d0
mov byte [esp + 0xa8], 4
mov ebp, dword [esp + 0x24]
mov edi, 1
test ebp, ebp
je 0x49dc4f
push ecx
mov eax, esp
mov dword [esp + 0x1c], esp
mov dword [eax], ebp
add dword [ebp + 4], edi
push ebx
call fcn.0049af70
test eax, eax
je 0x49dc4f
mov edx, dword [eax]
mov esi, dword [eax + 8]
mov ecx, eax
mov eax, dword [edx + 0x28]
call eax
test eax, eax
je 0x49da50
push ecx
mov ecx, dword [esp + 0xb4]
mov eax, esp
mov dword [esp + 0x1c], esp
push ecx
mov ecx, dword [esp + 0x24]
mov dword [eax], ebp
add dword [ebp + 4], edi
push ebx
call fcn.0049d3a0
jmp 0x49dc4f
cmp esi, 6
jne 0x49dabe
mov ecx, 2
push ecx
mov eax, esp
lea edx, [esp + 0x24]
mov dword [esp + 0x1c], esp
push edx
mov dword [eax], ebp
add dword [ebp + 4], edi
mov edx, ebx
call fcn.0049ea60
mov byte [esp + 0xa8], 5
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49daa8
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x1c], esp
test eax, eax
je 0x49da96
add dword [eax + 4], edi
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x20]
push eax
push ebx
call fcn.0049d3a0
lea esi, [esp + 0x20]
mov byte [esp + 0xa8], 4
call fcn.00404170
jmp 0x49dc4f
cmp esi, 7
jne 0x49db76
mov ecx, 2
push ecx
mov dword [esp + 0x1c], esp
mov eax, esp
lea edx, [esp + 0x1c]
push edx
mov dword [eax], ebp
add dword [ebp + 4], edi
mov edx, ebx
call fcn.0049ea60
mov byte [esp + 0xa8], 6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49db60
mov ecx, 2
push ecx
mov edx, esp
mov dword [esp + 0x24], esp
mov dword [edx], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49db0d
add dword [eax + 4], edi
lea eax, [esp + 0x24]
push eax
mov edx, ebx
call fcn.0049ea60
mov byte [esp + 0xa8], 7
mov eax, dword [esp + 0x20]
test eax, eax
je 0x49db4f
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], esp
test eax, eax
je 0x49db3d
add dword [eax + 4], edi
mov ecx, dword [esp + 0xb4]
push ecx
mov ecx, dword [esp + 0x24]
push ebx
call fcn.0049d3a0
lea esi, [esp + 0x20]
mov byte [esp + 0xa8], 6
call fcn.00404170
lea esi, [esp + 0x18]
mov byte [esp + 0xa8], 4
call fcn.00404170
jmp 0x49dc4f
cmp esi, 8
je 0x49dc2d
cmp esi, 0x2e
je 0x49dc2d
cmp esi, 9
je 0x49dbc3
cmp esi, 0x2f
je 0x49dbc3
cmp esi, 0xb
je 0x49dba0
cmp esi, 0xa
jne 0x49dc4f
mov edx, dword [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [esp + 0x2c], esp
push edx
mov dword [eax], ebp
add dword [ebp + 4], edi
push ebx
call fcn.0049cf30
jmp 0x49dc4f
mov ecx, 2
push ecx
mov eax, esp
mov dword [eax], ebp
add dword [ebp + 4], edi
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], esp
push eax
mov edx, ebx
call fcn.0049ea60
mov byte [esp + 0xa8], 8
mov eax, dword [esp + 0x18]
test eax, eax
je 0x49dc1a
mov ecx, dword [esp + 0x1c]
push ecx
push ecx
mov ecx, esp
mov dword [ecx], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x30], esp
test eax, eax
je 0x49dc09
add dword [eax + 4], edi
mov edi, dword [esp + 0xb8]
call fcn.0049cc40
mov edi, 1
lea esi, [esp + 0x18]
mov byte [esp + 0xa8], 4
call fcn.00404170
jmp 0x49dc4f
mov edx, dword [esp + 0x1c]
push edx
push ecx
mov eax, esp
mov dword [eax], ebp
add dword [ebp + 4], edi
mov edi, dword [esp + 0xb8]
mov dword [esp + 0x30], esp
call fcn.0049cc40
mov edi, 1
mov byte [esp + 0xa8], 2
test ebp, ebp
je 0x49dc6e
dec dword [ebp + 4]
cmp dword [ebp + 4], 0
jg 0x49dc6e
mov eax, dword [ebp]
mov edx, dword [eax]
push edi
mov ecx, ebp
call edx
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x78]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
xor edi, edi
add eax, edx
je 0x49dd7a
mov ebp, dword [0x5600e4]
xor ebx, ebx
cmp edi, eax
jb 0x49dca5
call fcn.005177ee
mov eax, dword [esp + 0x78]
lea esi, [eax + ebx]
mov eax, dword [esi + 8]
mov edx, dword [eax + 4]
lea ecx, [esp + 0x88]
push ecx
push 0x18
push edx
call dword [0x560104]
lea ecx, [esp + 0x2c]
call fcn.004f86b3
mov eax, dword [esp + 0xb0]
mov byte [esp + 0xa8], 9
test eax, eax
je 0x49dce2
mov eax, dword [eax + 4]
push eax
call dword [0x5600f0]
push eax
lea ecx, [esp + 0x30]
call fcn.004f8b78
mov eax, dword [esi + 8]
test eax, eax
je 0x49dd0d
mov eax, dword [eax + 4]
test eax, eax
je 0x49dd0d
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [0x5600ec]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x90]
mov eax, dword [esi + 4]
mov esi, dword [esi]
push 0xcc0020
push 0
push 0
push ecx
mov ecx, dword [esp + 0x9c]
push edx
mov edx, dword [esp + 0xc4]
push ecx
push eax
mov eax, dword [edx + 4]
push esi
push eax
call ebp
lea ecx, [esp + 0x2c]
mov byte [esp + 0xa8], 2
call fcn.004f8bf7
mov ecx, dword [esp + 0x7c]
sub ecx, dword [esp + 0x78]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
inc edi
add eax, edx
add ebx, 0xc
cmp edi, eax
jb 0x49dca5
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov byte [esp + 0xa8], 0
cmp esi, ebp
je 0x49dd9b
dec dword [esi + 4]
cmp dword [esi + 4], ebp
lea eax, [esi + 4]
mov ecx, esi
jg 0x49dd9b
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov eax, dword [esp + 0x78]
cmp eax, ebp
je 0x49ddac
push eax
call fcn.004efc12
add esp, 4
mov ecx, dword [esp + 0x6c]
push ecx
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x80], ebp
mov dword [esp + 0x84], ebp
call fcn.004efc12
add esp, 4
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x98
ret 8