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

Disassembly:
push 0xffffffffffffffff
push 0x4d36d2
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x518450]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x518450]
xor eax, esp
push eax
lea eax, [esp + 0x11c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x48], esi
mov ebp, dword [esp + 0x12c]
xor ebx, ebx
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x124], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.0043789d
mov dword [esp + 0x38], eax
push 0x50
lea eax, [esp + 0x8c]
mov byte [esp + 0x128], 1
push ebx
push eax
call fcn.004bf040
add esp, 0xc
lea eax, [esp + 0x88]
mov ecx, ebp
push eax
call fcn.00437ca6
cmp dword [esp + 0xa4], ebx
je 0x43717c
mov edi, dword [ebp + 0x18]
add edi, ebp
mov eax, dword [edi]
add edi, 4
mov dword [esp + 0x18], eax
test eax, eax
je 0x43717c
mov ecx, dword [edi + 4]
mov ebx, dword [edi]
add edi, 8
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x43716b
mov eax, dword [edi + 4]
mov ebp, dword [edi]
add edi, 8
mov dword [esp + 0x28], eax
test eax, eax
je 0x437160
mov esi, eax
mov eax, dword [edi]
add edi, 4
push edi
push eax
push ebp
lea eax, [esp + 0x44]
push ebx
push eax
call fcn.00437b49
add esp, 0x14
add edi, 0x10
dec esi
jne 0x437140
mov ecx, dword [esp + 0x14]
dec ecx
mov dword [esp + 0x14], ecx
jne 0x43712e
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x43711e
mov esi, dword [esp + 0x48]
xor ebx, ebx
mov ebp, dword [esp + 0x4c]
cmp dword [esp + 0x9c], 0
je 0x437455
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add ecx, eax
add ecx, ebp
lea edi, [eax + ebp]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x44], edi
jmp 0x43744d
cmp dword [edi + 8], ebx
je 0x437438
push dword [edi]
push 0x48d1aab3
push 0x612c68f
push 0x85ecbbf5
call fcn.00402173
add esp, 0xc
push eax
lea eax, [esp + 0xe0]
push eax
call fcn.004bad3c
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0xe4]
add esp, 0xc
push ebx
push eax
call fcn.0044572d
mov dword [esp + 0x18], eax
test eax, eax
je 0x437449
push dword [edi + 8]
call fcn.004b998e
pop ecx
lea ecx, [esp + 0x74]
mov dword [esp + 0x14], eax
push ecx
push dword [edi + 8]
mov ecx, dword [esi + 0x5c]
push eax
push ebx
push dword [edi + 4]
push dword [esp + 0x2c]
call fcn.00446d2d
mov edx, dword [esp + 0x14]
lea eax, [edi + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x10]
add eax, ebp
movzx ecx, word [edx]
mov dword [esp + 0x24], eax
mov ah, cl
mov al, ch
lea ecx, [edx + 2]
movzx eax, ax
mov dword [esp + 0x30], eax
lea eax, [edi + 0x14]
mov dword [esp + 0x20], ecx
jmp 0x437423
mov ax, word [esp + 0x30]
add dword [esp + 0x30], 0xffff
test ax, ax
je 0x43742d
mov eax, dword [edi + 8]
add eax, edx
cmp ecx, eax
jae 0x43742d
mov eax, dword [ecx]
bswap eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push eax
push 0x74061b89
push 0x3ac577ac
push 0xb93b0ac4
mov byte [esp + 0x134], 2
call fcn.00402173
add esp, 0xc
push eax
lea eax, [esp + 0x100]
push eax
call fcn.004bad3c
mov ecx, dword [esi + 0x5c]
lea eax, [esp + 0x104]
add esp, 0xc
push ebx
push eax
call fcn.0044572d
test eax, eax
je 0x43747d
lea ecx, [esp + 0x50]
push ecx
push eax
call fcn.0044555c
pop ecx
pop ecx
test eax, eax
je 0x43747d
mov edx, dword [esp + 0x20]
mov dword [esp + 0x18], ebx
movzx ecx, word [edx + 4]
add edx, 6
mov ah, cl
mov al, ch
mov ecx, ebx
movzx eax, ax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
cmp eax, dword [esp + 0x24]
jae 0x4373fe
mov esi, dword [esp + 0x14]
mov ebp, eax
mov edi, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x60]
jge 0x4373ee
mov ecx, dword [edx]
add edx, 4
bswap ecx
add ecx, esi
mov dword [esp + 0x20], edx
mov eax, dword [ecx]
add ecx, 4
bswap eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x5c], ecx
test eax, eax
je 0x4373c9
lea eax, [esp + 0x40]
mov dword [esp + 0x2c], ebx
push eax
lea eax, [esp + 0x54]
mov dword [esp + 0x74], ebx
push eax
lea eax, [esp + 0x6c]
xorps xmm0, xmm0
push eax
lea eax, [esp + 0x44]
movlpd qword [esp + 0x84], xmm0
push eax
push dword [esp + 0xc8]
lea eax, [ebp + 8]
movlpd qword [esp + 0x94], xmm0
push eax
push dword [ebp + 4]
lea eax, [esp + 0x9c]
push dword [ebp]
push 1
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0x58]
push eax
lea eax, [esp + 0xa0]
push eax
push dword [esp + 0x68]
push edi
push dword [esp + 0x58]
push ecx
call fcn.00436c52
mov edx, dword [esp + 0x64]
add esp, 0x44
mov ecx, dword [esp + 0x5c]
add ebp, 0x18
mov eax, dword [esp + 0x1c]
imul eax, eax, 0x14
add ecx, eax
mov eax, dword [esp + 0x18]
cmp ecx, eax
cmova eax, ecx
mov ecx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x34], ecx
cmp ebp, dword [esp + 0x24]
jb 0x437319
mov esi, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x50]
mov dword [esp + 0x20], eax
mov byte [esp + 0x124], 1
call fcn.0040ab0c
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
cmp eax, dword [esp + 0x24]
jb 0x43724b
push edx
call fcn.004bcd12
pop ecx
mov ecx, dword [esp + 0x28]
mov eax, dword [edi + 0x10]
add eax, ebp
cmp eax, ecx
sbb edi, edi
and edi, eax
mov dword [esp + 0x44], edi
jmp 0x43744d
mov ecx, dword [esp + 0x28]
test edi, edi
jne 0x4371a4
cmp dword [esp + 0xac], 0
je 0x4374a1
mov dword [esi + 0x74], 0x1d
mov al, byte [esi + 0x26]
mov byte [esi + 0x78], al
mov al, byte [esi + 0x30]
mov byte [esi + 0x79], al
mov al, byte [esi + 0x31]
mov byte [esi + 0x7a], al
jmp 0x437503
mov dword [esi + 0x74], 0x22
lea ecx, [esp + 0x50]
mov al, byte [esi + 0x26]
mov byte [esi + 0x78], al
mov al, byte [esi + 0x30]
mov byte [esi + 0x79], al
mov al, byte [esi + 0x31]
mov byte [esi + 0x7a], al
call fcn.0040ab0c
jmp 0x437503
cmp dword [esp + 0xb4], 0
je 0x4374f1
cmp dword [ebp], 2
jb 0x4374b6
mov eax, dword [ebp + 0x28]
jmp 0x4374b8
mov eax, ebx
add eax, ebp
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
call fcn.004382dc
mov edi, eax
pop ecx
test edi, edi
je 0x4374f1
lea eax, [esp + 0x14]
push eax
call fcn.004382dc
mov ebp, eax
pop ecx
add ebp, ebx
je 0x4374ee
lea eax, [esp + 0x14]
push eax
call fcn.004382dc
pop ecx
lea ebx, [eax + ebp]
dec edi
jne 0x4374cf
push dword [esp + 0x40]
lea eax, [esp + 0x68]
mov ecx, esi
push eax
call fcn.0042c19e
mov bl, 1
lea ecx, [esp + 0x38]
call fcn.0043699a
lea ecx, [esp + 0x64]
call fcn.0040ab0c
mov al, bl
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004b9a6c
add esp, 0x114
ret 8