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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x10]
cmp eax, dword [ecx + 8]
jbe 0x49f30f
sub esp, 0x90
lea eax, [0x4b84c2]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.0047e8b0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
lea edi, [esp + 0x50]
mov edx, eax
xor eax, eax
call fcn.0045f2e0
mov dword [esp + 0x50], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x54], eax
lea eax, [0x4b7388]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], 7
lea eax, [0x4b746f]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], 7
lea eax, [0x4b7aeb]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 9
lea eax, [0x4b7525]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 7
lea eax, [0x4b8014]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0xa
lea eax, [0x4b7794]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], 8
lea eax, [0x4b74b5]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], 7
lea eax, [esp + 0x50]
mov dword [esp], eax
mov dword [esp + 4], 8
mov dword [esp + 8], 8
call fcn.0048cc20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [0x4b7ce3]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 9
lea eax, [esp + 0x40]
mov dword [esp], eax
mov dword [esp + 4], 2
mov dword [esp + 8], 2
call fcn.0048cc20
mov eax, dword [0x1f666d4]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], edx
mov dword [esp], eax
lea eax, [0x4b7b21]
mov dword [esp + 4], eax
mov dword [esp + 8], 9
call fcn.0047a830
mov eax, dword [0x1f66d9c]
mov dword [esp + 0x28], eax
mov ecx, dword [str.__N9x376XB_N_Xcbr6309xn26__AXRXn63__xrm3276n890c807x389x23B__98_]
mov dword [esp + 0x38], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x34], ebx
lea ebp, [0x4a9d00]
mov dword [esp], ebp
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00448720
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x34]
mov ebp, dword [esp + 0x24]
xor esi, esi
jmp 0x49f271
mov eax, edi
movzx edi, byte [edx + ecx]
xor eax, edi
mov edi, dword [esp + 0x3c]
mov byte [edi + esi], al
inc esi
mov eax, dword [esp + 0x34]
mov eax, edi
mov edx, ebx
mov ebx, dword [esp + 0x34]
cmp esi, ebp
jge 0x49f290
jae 0x49f305
movzx edi, byte [esi + ebx]
test edx, edx
je 0x49f300
mov eax, esi
mov ebx, edx
cdq
idiv ebx
cmp ebx, edx
ja 0x49f255
jmp 0x49f2f7
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
mov edx, dword [esp + 0x20]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0x1ff
call fcn.004804c0
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
call fcn.0048e8b0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0048fe70
add esp, 0x90
ret
mov eax, edx
mov ecx, ebx
call fcn.0045f180
call fcn.00432d80
mov eax, esi
mov ecx, ebp
call fcn.0045f180
nop
call fcn.0045dcf0
jmp fcn.0049f070