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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
add esp, 0xffffff10
mov eax, dword [ebp + 8]
mov edx, eax
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
lea ebx, [ebp + 0xc]
mov dword [esp + 0x7c], eax
mov eax, 0x18
mov dword [esp + 0xe8], esi
mov dword [esp + 0xe4], edi
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0xe0]
mov esi, dword [ebx]
mov edi, dword [ecx]
sub esi, edi
mov dword [esp + 0x78], eax
mov eax, 0x4373b4
mov eax, esi
mov dword [esp + 0x74], edx
cdq
mov esi, dword [esp + 0x78]
idiv esi
mov dword [esp + 0xdc], eax
cmp dword [esp + 0xe4], 0
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ecx
jne 0x49e936
jmp 0x49f142
mov ecx, dword [esp + 0x6c]
call fcn.0049f350
cmp eax, dword [esp + 0xe4]
jae 0x49ebe6
mov ecx, dword [esp + 0x6c]
call fcn.0049f380
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x68], eax
call fcn.004998a0
mov ecx, dword [esp + 0x68]
sub ecx, eax
cmp ecx, dword [esp + 0xe4]
jae 0x49e97e
mov ecx, dword [esp + 0x6c]
call fcn.0040fd40
mov ecx, dword [esp + 0x6c]
call fcn.004998a0
add eax, dword [esp + 0xe4]
mov ecx, 0x20000
mov ecx, esp
mov dword [ecx], eax
mov ecx, dword [esp + 0x6c]
call fcn.0040fdc0
sub esp, 4
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0x6c]
mov ecx, esp
lea edx, [esp + 0xd0]
mov dword [ecx], edx
mov ecx, eax
call fcn.00455be0
sub esp, 4
mov eax, dword [esp + 0xd8]
mov ecx, ebx
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xd0]
call fcn.00455c40
sub esp, 4
mov ecx, 0x18
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x70]
mov edx, dword [eax]
mov esi, dword [esp + 0x6c]
mov edi, dword [esi]
sub edx, edi
mov eax, 0x3ff
mov eax, edx
cdq
idiv ecx
mov dword [esp + 0xcc], eax
mov dword [esp + 0xc8], 0
mov eax, dword [esp + 0xe8]
mov dword [esp], eax
call fcn.0040ffe0
mov ecx, dword [esp + 0xe4]
mov edx, dword [esp + 0xd4]
imul esi, dword [esp + 0xcc], 0x18
add edx, esi
mov esi, esp
mov dword [esi + 8], eax
mov dword [esi + 4], ecx
call fcn.0049f200
mov ecx, dword [esp + 0x6c]
call fcn.0049f3d0
sub esp, 0xc
mov ecx, dword [esp + 0xc8]
sub ecx, 0xffffffff
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0x70]
call fcn.0049f210
mov edi, dword [esp + 0x6c]
mov ebx, dword [edi]
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx + 4], esi
mov dword [edx], ebx
mov ecx, edi
mov dword [esp + 0x64], eax
call fcn.0049f450
sub esp, 0xc
mov ecx, dword [esp + 0xc8]
add ecx, 1
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xcc]
add edx, dword [esp + 0xe4]
imul edx, edx, 0x18
add ecx, edx
mov edx, dword [esp + 0x6c]
call fcn.0049f220
mov edi, dword [esp + 0x70]
mov ebx, dword [edi]
mov edx, esp
mov dword [edx + 8], ecx
mov dword [edx + 4], esi
mov dword [edx], ebx
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x60], eax
call fcn.0049f450
sub esp, 0xc
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x5c], eax
call fcn.004998a0
mov ecx, dword [esp + 0xe4]
add ecx, eax
mov dword [esp + 0xe4], ecx
mov eax, dword [esp + 0x6c]
cmp dword [eax], 0
je 0x49eb96
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
mov esi, esp
mov dword [esi + 4], ecx
mov dword [esi], edx
mov ecx, eax
call fcn.00410400
sub esp, 8
mov eax, dword [esp + 0x6c]
mov ecx, 0x43721c
mov ecx, esp
lea edx, [esp + 0xc0]
mov dword [ecx], edx
mov ecx, 0x437450
mov ecx, eax
call fcn.00455be0
sub esp, 4
mov eax, 0x18
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 8]
mov esi, dword [ecx]
sub edx, esi
mov dword [esp + 0x58], eax
mov eax, edx
cdq
mov esi, dword [esp + 0x58]
idiv esi
call fcn.0049f230
mov edi, esp
mov dword [edi + 4], eax
mov dword [edi], edx
lea ecx, [esp + 0xc0]
call fcn.0049f4d0
sub esp, 8
mov eax, dword [esp + 0x6c]
mov ecx, 0x40
mov ecx, eax
call fcn.00550dc0
mov eax, dword [esp + 0xd4]
imul ecx, dword [esp + 0xd8], 0x18
add eax, ecx
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0xd4]
imul edx, dword [esp + 0xe4], 0x18
add eax, edx
mov dword [ecx + 4], eax
mov eax, dword [esp + 0xd4]
mov dword [ecx], eax
jmp 0x49f13d
mov eax, 0x18
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov esi, dword [esp + 0x70]
mov edi, dword [esi]
sub edx, edi
mov dword [esp + 0x54], eax
mov eax, esi
mov eax, edx
cdq
mov edi, dword [esp + 0x54]
idiv edi
cmp eax, dword [esp + 0xe4]
jae 0x49edef
mov eax, dword [esp + 0xe8]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0xa8]
call fcn.00498240
sub esp, 4
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
imul esi, dword [esp + 0xe4], 0x18
add edx, esi
mov esi, dword [esp + 0x6c]
mov edi, dword [esi + 4]
mov ebx, dword [ecx]
mov ecx, esp
call fcn.0049f240
mov dword [ecx + 4], edi
mov dword [ecx], ebx
mov ecx, 0x437468
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.0049f450
sub esp, 0xc
mov dword [esp + 0x4c], eax
lea eax, [esp + 0xa8]
mov dword [esp], eax
call fcn.0049acd0
mov ecx, 0x18
mov edx, dword [esp + 0xe4]
mov esi, dword [esp + 0x6c]
call fcn.0049f250
mov ebx, dword [esp + 0x70]
mov esi, dword [ebx]
sub edi, esi
mov dword [esp + 0x48], eax
mov eax, edi
mov dword [esp + 0x44], edx
cdq
idiv ecx
mov ecx, dword [esp + 0x44]
sub ecx, eax
mov eax, dword [esp + 0x6c]
call fcn.0049f260
mov esi, esp
mov edi, dword [esp + 0x48]
call fcn.0049f270
mov dword [esi + 4], ecx
mov dword [esi], edx
mov ecx, eax
call fcn.0049f3d0
sub esp, 0xc
mov dword [esp + 0x40], eax
call fcn.0049f280
mov ecx, dword [0x88c654]
mov edx, 3
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x49ed16
jmp 0x49f195
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x6c]
call fcn.0049f290
imul eax, eax, 0x18
add edx, eax
mov dword [ecx + 4], edx
mov eax, dword [ecx + 4]
mov edx, dword [esp + 0x70]
mov esi, dword [edx]
mov edi, dword [0x88c650]
mov ebx, dword [0x88c654]
mov ecx, 0x40000
mov ecx, edi
sub ecx, 1
imul edi, ecx
and edi, 1
cmp edi, 0
sete cl
cmp ebx, 0xa
setl ch
or cl, ch
test cl, 1
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], eax
jne 0x49ed86
jmp 0x49f195
mov eax, 0x3ffff
mov eax, esp
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x3c]
mov dword [eax], edx
mov ecx, dword [esp + 0x6c]
call fcn.00410760
sub esp, 8
lea eax, [esp + 0xa8]
mov ecx, 0
mov edx, dword [esp + 0x6c]
mov esi, dword [edx + 4]
sub ecx, dword [esp + 0xe4]
imul ecx, ecx, 0x18
add esi, ecx
mov ecx, dword [esp + 0x70]
mov edi, dword [ecx]
mov dword [esp], edi
mov dword [esp + 4], esi
mov dword [esp + 8], eax
call fcn.00455c70
lea ecx, [esp + 0xa8]
call fcn.00551e20
jmp 0x49f0b6
mov eax, dword [0x88c650]
call fcn.0049f2a0
mov edx, 0x4373e4
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x49ee2f
jmp 0x49f1ca
mov eax, dword [esp + 0xe8]
mov ecx, 0x4373e4
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x88]
call fcn.00498240
sub esp, 4
mov ecx, 0
mov edx, dword [esp + 0x6c]
mov esi, dword [edx + 4]
mov dword [esp + 0x84], esi
call fcn.0049f2b0
mov edi, dword [esp + 0x84]
mov ebx, dword [esp + 0x84]
sub ecx, dword [esp + 0xe4]
imul ecx, ecx, 0x18
add ebx, ecx
mov ecx, dword [0x88c650]
mov edx, dword [0x88c654]
mov dword [esp + 0x34], eax
mov eax, 2
mov eax, ecx
sub eax, 1
imul ecx, eax
and ecx, 1
cmp ecx, 0
sete al
cmp edx, 0xa
setl ah
or al, ah
test al, 1
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], esi
jne 0x49eed5
jmp 0x49f1ca
mov eax, 0xffff
mov eax, esp
mov ecx, dword [esp + 0x28]
call fcn.0049f2c0
mov edx, dword [esp + 0x30]
mov dword [eax + 4], edx
mov esi, dword [esp + 0x2c]
mov dword [eax], esi
mov ecx, dword [esp + 0x6c]
call fcn.0049f450
sub esp, 0xc
mov dword [esp + 0x24], eax
mov eax, dword [0x88c650]
mov ecx, dword [0x88c654]
mov edx, esi
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x49ef40
jmp 0x49f1b5
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
mov edx, dword [eax + 4]
mov esi, dword [esp + 0x70]
call fcn.0049f2d0
mov ebx, dword [0x88c650]
mov eax, dword [0x88c654]
mov ecx, 0x1f
mov ecx, ebx
add ecx, 0xffffffff
imul ebx, ecx
and ebx, 1
cmp ebx, 0
sete cl
cmp eax, 0xa
setl ch
or cl, ch
test cl, 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], edx
jne 0x49efa1
jmp 0x49f1b5
mov eax, dword [0x88c650]
mov ecx, dword [0x88c654]
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x49efdd
jmp 0x49f1fb
mov eax, dword [0x88c650]
mov ecx, dword [0x88c654]
mov edx, esi
mov edx, eax
add edx, 0xffffffff
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
push ebx
mov ebx, 0xb14d9059
xor ebx, 0xb14d9053
cmp ecx, ebx
pop ebx
setl bh
or bl, bh
test bl, 1
jne 0x49f024
jmp 0x49f1fb
mov eax, esp
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [esp + 0x20]
mov dword [eax], edx
mov ecx, dword [esp + 0x6c]
call fcn.00410760
sub esp, 8
mov eax, 0
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x84]
sub eax, dword [esp + 0xe4]
imul eax, eax, 0x18
add edx, eax
mov eax, dword [esp + 0x70]
mov esi, dword [eax]
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0049f7b0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x88]
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx]
imul esi, dword [esp + 0xe4], 0x18
add edx, esi
call fcn.0049f2e0
mov dword [esp], esi
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00455c70
lea ecx, [esp + 0x88]
call fcn.00551e20
mov eax, dword [0x88c650]
mov ecx, dword [0x88c654]
mov edx, 0x437324
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x49f0f7
jmp 0x49f1c5
mov eax, dword [0x88c650]
mov ecx, dword [0x88c654]
mov edx, 0x4373c0
mov edx, eax
sub edx, 1
imul eax, edx
and eax, 1
cmp eax, 0
sete bl
cmp ecx, 0xa
setl bh
or bl, bh
test bl, 1
jne 0x49f138
jmp 0x49f1c5
jmp 0x49f13d
jmp 0x49f142
mov eax, 0x4373cc
mov eax, esp
lea ecx, [esp + 0x80]
mov dword [eax], ecx
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], ecx
mov ecx, eax
call fcn.0044f250
sub esp, 4
mov eax, dword [esp + 0xdc]
mov ecx, 0x7fff
mov ecx, esp
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x7c]
mov dword [ecx], eax
mov ecx, dword [esp + 0x14]
call fcn.0049f820
sub esp, 8
mov eax, dword [esp + 0x74]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov eax, dword [esp + 0xe4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
imul eax, eax, 0x18
add edx, eax
call fcn.0049f2f0
jmp 0x49ed16
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x24]
mov dword [eax + 4], ecx
jmp 0x49ef40
jmp 0x49f0f7
mov eax, dword [esp + 0xe8]
mov ecx, esp
mov dword [ecx], eax
lea ecx, [esp + 0x88]
call fcn.00498240
sub esp, 4
mov ecx, dword [esp + 0x6c]
mov edx, dword [ecx + 4]
mov dword [esp + 0x84], edx
mov dword [esp + 0x10], eax
jmp 0x49ee2f
jmp 0x49efdd