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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 4]
cmp eax, dword [ecx + 8]
jbe 0x497c83
sub esp, 0x84
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov eax, dword [esp + 0x8c]
test eax, eax
je 0x497b8a
cmp eax, 3
jne 0x497b7e
mov ecx, dword [esp + 0x88]
movzx edx, word [ecx]
cmp dx, 0x554e
jne 0x497342
movzx edx, byte [ecx + 2]
cmp dl, 0x4c
je 0x497b41
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004969a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0045a8a0
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test edx, edx
je 0x497471
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
lea eax, [0x76e6e0]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 4
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x497456
lea ecx, [0x7b57b2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x49743a
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x497424
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x800be0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x4973ed
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x4973d2
mov dword [esp], eax
lea ecx, [0x7b57b2]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x4973b1
mov dword [esp + 0x64], eax
lea eax, [0x789600]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x80], eax
lea ecx, [eax + 8]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov dword [esp + 4], 0
call fcn.0045f070
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4978d1
mov eax, dword [esp + 0x64]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 0x2000000
mov dword [esp + 0x18], 0
call fcn.0045ce60
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test edx, edx
je 0x497675
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x68], edx
je 0x497527
mov eax, dword [edx + 4]
lea ebx, [0x769ae0]
cmp ebx, eax
jne 0x497527
mov eax, dword [ecx]
cmp eax, 0x20
je 0x49761a
lea eax, [0x76e6e0]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0xa
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x4975ff
lea ecx, [0x7b709a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x4975e3
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x4975cd
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x800be0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497596
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x49757b
mov dword [esp], eax
lea ecx, [0x7b709a]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x49755a
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 8], eax
call fcn.00497c90
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], edx
mov dword [esp + 0x9c], ebx
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp + 0x28], eax
mov dword [esp + 8], eax
mov dword [esp], 0xc
lea ecx, [0x7d0710]
mov dword [esp + 4], ecx
call fcn.00426be0
test eax, eax
jne 0x4978c4
lea edi, [esp + 0x30]
xor eax, eax
call fcn.0044d9b3
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0045d5e0
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
test ecx, ecx
je 0x4977c5
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
lea eax, [0x76e6e0]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 0x1a
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x4977aa
lea ecx, [0x7bf1c4]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x49778e
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x497778
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x800be0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497741
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497726
mov dword [esp], eax
lea ecx, [0x7bf1c4]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497705
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00496650
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x2c], ecx
lea edx, [0x789600]
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 0x4978a7
mov ecx, dword [esp + 0x78]
mov dword [eax], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov dword [eax + 0x14], edx
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x44]
mov dword [eax + 0x1c], edx
mov dword [eax + 0x20], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x4c]
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x44], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x48], ecx
lea ecx, [0x803420]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp + 0x74], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x74]
jmp 0x49781c
nop
call fcn.00427400
add esp, 0x84
ret
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 8]
test ecx, 0x400
jne 0x4974b5
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x3c], ecx
mov edx, dword [0xa08230]
lea ebx, [eax + 0x38]
mov dword [esp + 0x70], ebx
test edx, edx
jne 0x497b1b
mov edx, dword [esp + 0x88]
mov dword [eax + 0x38], edx
mov ecx, dword [eax + 0x3c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00496740
movzx eax, byte [esp + 8]
test al, al
je 0x4979b0
mov eax, dword [esp + 0x88]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
call fcn.00496650
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0x80]
mov dword [edx + 4], eax
mov eax, dword [0xa08230]
test eax, eax
jne 0x49799b
mov dword [edx], ecx
lea eax, [0x803420]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.0040f250
mov edx, dword [esp + 0x80]
jmp 0x497964
mov eax, dword [esp + 0x80]
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x38]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.00458c70
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], ecx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 8]
mov ebp, dword [esp + 0x80]
mov dword [ebp + 0x3c], edx
mov edx, dword [0xa08230]
test edx, edx
jne 0x497af7
mov dword [ebp + 0x38], ebx
test ecx, ecx
je 0x49792c
lea eax, [0x76e6e0]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 8
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x497adc
lea ecx, [0x7b661c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x497ac0
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x497aaa
mov ecx, dword [esp + 0x6c]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x800be0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp], edx
mov eax, dword [esp + 0x6c]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497a73
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497a58
mov dword [esp], eax
lea ecx, [0x7b661c]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497a37
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], ebx
call fcn.0040f250
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebp, dword [esp + 0x80]
jmp 0x4979fc
mov dword [esp], ebx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x88]
jmp 0x497910
lea eax, [0x803420]
mov dword [esp + 0x90], eax
lea eax, [0x9f14e0]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
nop
call fcn.00427400
add esp, 0x84
ret
mov ecx, dword [esp + 0x88]
jmp 0x497342
lea eax, [0x76e6e0]
mov dword [esp], eax
call fcn.0040e9e0
mov eax, dword [esp + 4]
mov dword [esp + 0x7c], eax
mov dword [eax + 4], 4
mov ecx, dword [0xa08230]
test ecx, ecx
jne 0x497c68
lea ecx, [0x7b57b2]
mov dword [eax], ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0xc], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 8]
test ecx, ecx
jne 0x497c4c
mov ecx, dword [esp + 0x88]
mov dword [eax + 8], ecx
lea ecx, [0x801740]
mov dword [eax + 0x10], ecx
mov ecx, dword [0xa08230]
lea edx, [eax + 0x14]
test ecx, ecx
jne 0x497c34
lea ecx, [0x7fef90]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
lea ecx, [0x800be0]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], eax
nop
call fcn.00427400
add esp, 0x84
ret
mov dword [esp], edx
lea eax, [0x7fef90]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497bfd
mov dword [esp], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497bde
mov dword [esp], eax
lea ecx, [0x7b57b2]
mov dword [esp + 4], ecx
call fcn.0040f250
mov eax, dword [esp + 0x7c]
jmp 0x497bbd
call fcn.0044be50
jmp fcn.004972c0