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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x60]
cmp eax, dword [ecx + 8]
jbe 0x52518b
sub esp, 0xe0
lea edi, [esp + 0xb8]
xor eax, eax
call fcn.0044d9bb
mov ecx, dword [0x9eeab4]
mov esi, dword [0x9eeab0]
test ecx, ecx
jbe 0x525184
lea edi, [esp + 0xb8]
call fcn.0044de9e
lea ecx, [esp + 4]
mov dword [esp + 0x74], ecx
xor edx, edx
mov ebx, dword [esp + 0xe4]
xor ebp, ebp
mov esi, ebp
xor edi, edi
jmp 0x5247f7
mov eax, dword [esp + 0x70]
lea ebx, [eax + 0xc]
mov eax, dword [esp + 0x44]
lea edx, [eax + 1]
xor eax, eax
mov ecx, dword [esp + 0x74]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x40]
mov dword [esp + 0x58], ebp
mov ebp, dword [esp + 0xe8]
cmp edx, ebp
jge 0x5250e1
mov dword [esp + 0x44], edx
mov dword [esp + 0x54], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x70], ebx
mov eax, dword [ebx + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [ebx + 8]
mov dword [esp + 0x68], ecx
mov edx, dword [ebx]
mov dword [esp + 0x40], edx
mov edi, esp
lea esi, [esp + 0xb8]
call fcn.0044de9e
mov dword [esp + 0x14], edx
call fcn.00524720
movzx eax, byte [esp + 0x18]
test al, al
je 0x524b20
lea edi, [esp + 0xcc]
xor eax, eax
call fcn.0044d9bb
mov ecx, dword [esp + 0x40]
mov dword [esp], ecx
call fcn.005251a0
lea edi, [esp + 0xcc]
mov esi, dword [esp + 0x74]
call fcn.0044de9e
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0xb8]
lea esi, [esp + 0xcc]
call fcn.0044de9e
mov ecx, dword [esp + 0x60]
test ecx, ecx
jne 0x524b0b
movzx eax, byte [esp + 0xb9]
test al, al
jne 0x5247d7
mov eax, dword [esp + 0x6c]
test eax, eax
jne 0x5247d7
mov eax, dword [esp + 0x40]
cmp eax, 7
jg 0x524a5f
cmp eax, 3
jg 0x524a10
cmp eax, 1
jne 0x5249d6
lea eax, [0x7b5ddc]
mov ecx, 6
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [esp + 0x78]
mov dword [esp + 4], eax
call fcn.0040c190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea eax, [0x7c5258]
mov dword [esp], eax
mov dword [esp + 4], 0x27
lea eax, [esp + 0x80]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 1
call fcn.004b9be0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x30], ecx
lea edx, [0x757820]
mov dword [esp], edx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x5249bc
mov ecx, dword [esp + 0x50]
mov dword [eax], ecx
lea ecx, [0x8006c0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
add esp, 0xe0
ret
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x50]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x5249a1
cmp eax, 2
jne 0x5249eb
lea eax, [0x7b61ff]
mov ecx, 7
jmp 0x5248ed
cmp eax, 3
jne 0x524a00
lea eax, [0x7b60b6]
mov ecx, 7
jmp 0x5248ed
lea eax, [0x7b6317]
mov ecx, 7
jmp 0x5248ed
cmp eax, 5
jg 0x524a3a
cmp eax, 4
jne 0x524a2a
lea eax, [0x7b5e18]
mov ecx, 6
jmp 0x5248ed
lea eax, [0x7b6276]
mov ecx, 7
jmp 0x5248ed
cmp eax, 6
jne 0x524a4f
lea eax, [0x7b57b6]
mov ecx, 4
jmp 0x5248ed
lea eax, [0x7b67e4]
mov ecx, 8
jmp 0x5248ed
cmp eax, 0xb
jg 0x524ab3
cmp eax, 9
jg 0x524a8e
cmp eax, 8
jne 0x524a7e
lea eax, [0x7b660c]
mov ecx, 8
jmp 0x5248ed
lea eax, [0x7b6c4d]
mov ecx, 9
jmp 0x5248ed
cmp eax, 0xa
jne 0x524aa3
lea eax, [0x7b705e]
mov ecx, 0xa
jmp 0x5248ed
lea eax, [0x7b6b90]
mov ecx, 9
jmp 0x5248ed
cmp eax, 0xd
jg 0x524add
cmp eax, 0xc
jne 0x524acd
lea eax, [0x7b66bc]
mov ecx, 8
jmp 0x5248ed
lea eax, [0x7b5ce6]
mov ecx, 6
jmp 0x5248ed
cmp eax, 0xe
jne 0x524af2
lea eax, [0x7b7d0d]
mov ecx, 0xc
jmp 0x5248ed
cmp eax, 0xf
jne 0x524a00
lea eax, [0x7b62ed]
mov ecx, 7
jmp 0x5248ed
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], edx
add esp, 0xe0
ret
mov eax, dword [esp + 0x38]
cmp eax, 7
jne 0x5250d8
mov eax, dword [esp + 0x40]
cmp eax, 0xd
jne 0x524be9
mov eax, dword [esp + 0x54]
lea ecx, [0x744900]
cmp eax, ecx
jne 0x52516c
mov eax, dword [esp + 0x58]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp], 0
lea edx, [0x7bb5c7]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x13
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
call fcn.0043cb30
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
lea edx, [0x757820]
mov dword [esp], edx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2c]
mov dword [eax + 4], ecx
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x524bcf
mov ecx, dword [esp + 0x4c]
mov dword [eax], ecx
lea ecx, [0x8006c0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
add esp, 0xe0
ret
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x4c]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x524bb4
mov ecx, dword [esp + 0xbc]
cmp ecx, 7
jg 0x52502c
cmp ecx, 3
jg 0x524fdd
cmp ecx, 1
jne 0x524fa3
mov ecx, 6
lea edx, [0x7b5ddc]
mov dword [esp + 0x90], edx
mov dword [esp + 0x94], ecx
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
lea eax, [0x744900]
mov dword [esp], eax
lea ecx, [esp + 0x90]
mov dword [esp + 4], ecx
call fcn.0040c190
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], ecx
mov eax, dword [esp + 0x54]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xb4], eax
lea eax, [0x7b601c]
mov dword [esp], eax
mov dword [esp + 4], 7
lea ecx, [esp + 0xa8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9be0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x3c], ecx
mov edx, dword [esp + 0x40]
cmp edx, 7
jg 0x524ef7
cmp edx, 3
jg 0x524ea8
cmp edx, 1
jne 0x524e6e
lea edx, [0x7b5ddc]
mov ebx, 6
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea eax, [0x744900]
mov dword [esp], eax
lea eax, [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040c190
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xa4], eax
lea eax, [0x7b601c]
mov dword [esp], eax
mov dword [esp + 4], 7
lea eax, [esp + 0x98]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004b9be0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [esp], 0
lea edx, [0x7c3aa9]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x23
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x10], edx
lea edx, [0x7b55e6]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 4
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
call fcn.0043cbf0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
lea edx, [0x757820]
mov dword [esp], edx
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x524e54
mov ecx, dword [esp + 0x48]
mov dword [eax], ecx
lea ecx, [0x8006c0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
add esp, 0xe0
ret
mov dword [esp + 0x64], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x524e39
cmp edx, 2
jne 0x524e83
lea edx, [0x7b61ff]
mov ebx, 7
jmp 0x524d00
cmp edx, 3
jne 0x524e98
lea edx, [0x7b60b6]
mov ebx, 7
jmp 0x524d00
lea edx, [0x7b6317]
mov ebx, 7
jmp 0x524d00
cmp edx, 5
jg 0x524ed2
cmp edx, 4
jne 0x524ec2
lea edx, [0x7b5e18]
mov ebx, 6
jmp 0x524d00
lea edx, [0x7b6276]
mov ebx, 7
jmp 0x524d00
cmp edx, 6
jne 0x524ee7
lea edx, [0x7b57b6]
mov ebx, 4
jmp 0x524d00
lea edx, [0x7b67e4]
mov ebx, 8
jmp 0x524d00
cmp edx, 0xb
jg 0x524f4b
cmp edx, 9
jg 0x524f26
cmp edx, 8
jne 0x524f16
lea edx, [0x7b660c]
mov ebx, 8
jmp 0x524d00
lea edx, [0x7b6c4d]
mov ebx, 9
jmp 0x524d00
cmp edx, 0xa
jne 0x524f3b
lea edx, [0x7b705e]
mov ebx, 0xa
jmp 0x524d00
lea edx, [0x7b6b90]
mov ebx, 9
jmp 0x524d00
cmp edx, 0xd
jg 0x524f75
cmp edx, 0xc
jne 0x524f65
lea edx, [0x7b66bc]
mov ebx, 8
jmp 0x524d00
lea edx, [0x7b5ce6]
mov ebx, 6
jmp 0x524d00
cmp edx, 0xe
jne 0x524f8a
lea edx, [0x7b7d0d]
mov ebx, 0xc
jmp 0x524d00
cmp edx, 0xf
jne 0x524e98
lea edx, [0x7b62ed]
mov ebx, 7
jmp 0x524d00
cmp ecx, 2
jne 0x524fb8
mov ecx, 7
lea edx, [0x7b61ff]
jmp 0x524c16
cmp ecx, 3
jne 0x524fcd
mov ecx, 7
lea edx, [0x7b60b6]
jmp 0x524c16
mov ecx, 7
lea edx, [0x7b6317]
jmp 0x524c16
cmp ecx, 5
jg 0x525007
cmp ecx, 4
jne 0x524ff7
mov ecx, 6
lea edx, [0x7b5e18]
jmp 0x524c16
mov ecx, 7
lea edx, [0x7b6276]
jmp 0x524c16
cmp ecx, 6
jne 0x52501c
mov ecx, 4
lea edx, [0x7b57b6]
jmp 0x524c16
mov ecx, 8
lea edx, [0x7b67e4]
jmp 0x524c16
cmp ecx, 0xb
jg 0x525080
cmp ecx, 9
jg 0x52505b
cmp ecx, 8
jne 0x52504b
mov ecx, 8
lea edx, [0x7b660c]
jmp 0x524c16
mov ecx, 9
lea edx, [0x7b6c4d]
jmp 0x524c16
cmp ecx, 0xa
jne 0x525070
mov ecx, 0xa
lea edx, [0x7b705e]
jmp 0x524c16
mov ecx, 9
lea edx, [0x7b6b90]
jmp 0x524c16
cmp ecx, 0xd
jg 0x5250aa
cmp ecx, 0xc
jne 0x52509a
mov ecx, 8
lea edx, [0x7b66bc]
jmp 0x524c16
mov ecx, 6
lea edx, [0x7b5ce6]
jmp 0x524c16
cmp ecx, 0xe
jne 0x5250bf
mov ecx, 0xc
lea edx, [0x7b7d0d]
jmp 0x524c16
cmp ecx, 0xf
jne 0x524fcd
mov ecx, 7
lea edx, [0x7b62ed]
jmp 0x524c16
mov eax, dword [esp + 0x40]
jmp 0x524be9
movzx eax, byte [esp + 0xb8]
test al, al
jne 0x52514f
lea eax, [0x757820]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0x1c
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x525133
lea ecx, [0x7c03d2]
mov dword [eax], ecx
lea ecx, [0x8006c0]
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], eax
add esp, 0xe0
ret
mov dword [esp + 0x64], eax
mov dword [esp], eax
lea ecx, [0x7c03d2]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x64]
jmp 0x525118
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
add esp, 0xe0
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x7441c0]
mov dword [esp + 8], eax
call fcn.0040bdf0
ud2
call fcn.00426960
ud2
call fcn.0044be50
jmp fcn.00524770