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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov edx, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [eax + 0x2c]
xor ebx, ebx
push ecx
mov ecx, esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call edx
mov edi, dword [ebp + 8]
cmp byte [0x57241a], bl
je 0x49e0cd
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x57250c]
mov dword [esp + 0x3c], eax
mov eax, dword [ecx]
xor edx, edx
mov dword [esp + 0x30], ebx
cmp eax, ebx
je 0x49dce1
cmp eax, 1
jne 0x49dceb
mov eax, dword [ecx + 0xc]
mov edx, dword [ecx + 8]
mov dword [esp + 0x30], eax
mov eax, 0x55555556
imul edx
mov eax, dword [0x56a8e0]
mov esi, edx
shr esi, 0x1f
add esi, edx
mov edx, dword [0x56a8d8]
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, dword [0x56a8e4]
sub eax, dword [0x56a8dc]
mov dword [esp + 0x38], eax
mov eax, ecx
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x14], eax
cmp byte [ecx + 0x274], bl
je 0x49dd30
lea ecx, [esi + esi]
jmp 0x49dd3d
movzx ecx, byte [ecx + 0x275]
neg ecx
sbb ecx, ecx
and ecx, esi
mov dword [esp + 0x10], ecx
mov ecx, dword [0x542400]
mov dword [esp + 0x50], ecx
mov ecx, dword [0x542404]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x542408]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x54240c]
push ebx
mov dword [esp + 0x60], ecx
mov ecx, 2
push ecx
push ecx
push edx
mov edx, dword [esp + 0x20]
push 0xffffffffffffffff
push ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov dword [esp + 0x88], ebx
mov ebx, dword [0x56a8dc]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], ecx
push edx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x98], 0xffffffff
mov dword [esp + 0x9c], 0xffffffff
call fcn.0043f5a0
mov eax, dword [0x56a8dc]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, dword [0x56a8d8]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x2c]
call fcn.0043d9f0
mov eax, dword [esp + 0x34]
mov ecx, dword [0x56a8d8]
mov edx, dword [esp + 0x10]
mov ebx, dword [0x56a8dc]
push 0
push 2
push 1
push eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
add ecx, edx
push 0
push ecx
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov eax, dword [esp + 0x3c]
mov edx, dword [0x56a8dc]
mov ecx, dword [esp + 0x34]
sub eax, esi
push edx
mov edx, dword [0x56a8d8]
add ecx, eax
mov eax, dword [esp + 0x20]
add edx, eax
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x58]
push eax
mov dword [esp + 0x58], ecx
call fcn.0043d9f0
mov eax, dword [0x56a8e0]
mov edx, dword [esp + 0x10]
push 0
push 2
push 2
mov ecx, esi
sub ecx, eax
push ecx
push 0xffffffffffffffff
push 0
add eax, edx
mov ebx, dword [0x56a8dc]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov eax, dword [0x56a8dc]
push eax
mov eax, dword [0x56a8e0]
mov ecx, esi
sub ecx, eax
sub eax, esi
add eax, dword [esp + 0x40]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x2c]
call fcn.0043d9f0
mov eax, dword [0x56a8dc]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x38]
push 0
push 1
lea edx, [eax + ecx]
mov ecx, dword [0x56a8d8]
push 2
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x1c]
add eax, ebx
push eax
push ecx
mov ecx, dword [0x56a8d8]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x54], eax
call fcn.0043d9f0
mov eax, dword [esp + 0x34]
mov ecx, dword [0x56a8dc]
mov edx, dword [0x56a8d8]
push 0
push 1
push 1
push eax
mov eax, dword [esp + 0x20]
push 0xffffffffffffffff
push ecx
add edx, eax
mov eax, dword [esp + 0x2c]
push edx
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x48]
mov eax, dword [0x56a8d8]
push ecx
add eax, edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [esp + 0x58]
call fcn.0043d9f0
mov eax, dword [0x56a8e0]
push 0
push 1
mov edx, esi
push 2
sub edx, eax
push edx
push 0xffffffffffffffff
mov ecx, dword [0x56a8dc]
mov edx, dword [esp + 0x24]
push ecx
add eax, edx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [0x56a8e0]
mov ecx, esi
sub ecx, eax
sub eax, esi
add eax, dword [esp + 0x40]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x24]
call fcn.0043d9f0
mov ecx, dword [0x56a8e4]
mov ebx, dword [esp + 0x30]
mov eax, ecx
sub eax, ebx
add eax, dword [esp + 0x40]
push 0
add eax, dword [esp + 0x24]
push 2
push 2
mov dword [esp + 0x24], eax
mov eax, dword [0x56a8d8]
push eax
mov eax, dword [esp + 0x24]
push 0xffffffffffffffff
push ecx
sub ebx, ecx
mov ecx, dword [esp + 0x28]
push ecx
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov edx, dword [esp + 0x30]
sub edx, dword [0x56a8e4]
mov eax, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x58]
push ecx
mov ecx, dword [0x56a8d8]
call fcn.0043d9f0
mov edx, dword [esp + 0x34]
mov eax, dword [0x56a8e4]
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
push 0
push 2
push 1
push edx
push 0xffffffffffffffff
push eax
sub ebx, eax
mov eax, dword [0x56a8d8]
add eax, ecx
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov edx, dword [esp + 0x30]
sub edx, dword [0x56a8e4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x56a8d8]
push edx
add ecx, eax
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x58]
push edx
mov edx, dword [esp + 0x24]
call fcn.0043d9f0
push 0
mov ecx, dword [0x56a8e0]
mov eax, dword [0x56a8e4]
mov ebx, dword [esp + 0x34]
push 2
push 2
mov edx, esi
sub edx, ecx
push edx
push 0xffffffffffffffff
push eax
sub ebx, eax
mov eax, dword [esp + 0x28]
add ecx, eax
mov eax, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0x6c]
call fcn.0043f5a0
mov eax, dword [esp + 0x30]
sub eax, dword [0x56a8e4]
mov ecx, esi
push eax
mov eax, dword [0x56a8e0]
sub ecx, eax
sub eax, esi
add eax, dword [esp + 0x40]
lea edx, [esp + 0x54]
add eax, dword [esp + 0x20]
push eax
push edx
mov edx, dword [esp + 0x24]
call fcn.0043d9f0
mov esi, dword [esp + 0x44]
xor ebx, ebx
mov eax, dword [esi + 0x14]
sub eax, dword [esi + 0x278]
mov ecx, dword [esp + 0x28]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x98], eax
mov eax, dword [esi + 0x18]
sub eax, dword [esi + 0x27c]
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x28]
cmp byte [esi + 0x140], bl
je 0x49e125
add esi, 0x30
jmp 0x49e128
mov esi, dword [esi + 0x2c]
mov edx, dword [0x572500]
mov ecx, dword [0x5724f4]
push 0xff
push 0x25
push ebx
push edx
push ecx
lea edx, [esp + 0xac]
push edx
push eax
add esi, 4
push esi
mov ecx, edi
call fcn.0043ae00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc