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

Disassembly:
mov ecx, dword [0x62920c]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x25c]
cmp eax, dword [ecx + 8]
jbe 0x4a3570
sub esp, 0x2dc
mov eax, 0
mov dword [esp + 0x2d8], eax
mov byte [esp + 0x2b], 0
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], 0
mov dword [esp + 0x300], 0
mov eax, dword [esp + 0x2ec]
test eax, eax
jne 0x4a2cda
lea eax, [0x4fbae0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2e4]
mov dword [eax + 4], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2c5c
mov ecx, dword [esp + 0x2e0]
jmp 0x4a2c6a
call fcn.004698c0
mov ecx, dword [esp + 0x2e0]
mov dword [edi], ecx
mov dword [eax], ecx
mov dword [eax + 0xc], 0
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2c86
mov ecx, dword [esp + 0x2e8]
jmp 0x4a2c94
call fcn.004698c0
mov ecx, dword [esp + 0x2e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
lea ecx, [0x53772c]
mov dword [eax + 0x10], ecx
lea ecx, [0x5367a0]
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
lea ecx, [0x5377f4]
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
add esp, 0x2dc
ret
mov ecx, dword [esp + 0x2e8]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004a2780
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00487220
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4a2d11
mov ecx, dword [esp + 0x18]
xor edx, edx
jmp 0x4a2d25
mov edx, dword [esp + 0xc]
test edx, edx
jbe 0x4a355a
mov edx, dword [esp + 8]
xor eax, eax
xor ecx, ecx
test eax, eax
je 0x4a2e01
mov dword [esp + 0x2c], eax
mov dword [esp + 0x2b0], ecx
lea eax, [0x4fbae0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x2e4]
mov dword [eax + 4], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2d67
mov ecx, dword [esp + 0x2e0]
jmp 0x4a2d75
call fcn.004698c0
mov ecx, dword [esp + 0x2e0]
mov dword [edi], ecx
mov dword [eax], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2d94
mov ecx, dword [esp + 0x2e8]
jmp 0x4a2da2
call fcn.004698c0
mov ecx, dword [esp + 0x2e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2dbf
mov ecx, dword [esp + 0x2b0]
jmp 0x4a2dcd
call fcn.004698c0
mov ecx, dword [esp + 0x2b0]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
lea ecx, [0x5377f4]
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
add esp, 0x2dc
ret
mov dword [esp + 0x2b4], edx
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00469a87
mov dword [esp], edx
mov dword [esp + 4], 0
lea ecx, [esp + 0x40]
mov dword [esp + 8], ecx
call fcn.0048a950
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0xc]
lea ebx, [0x53772c]
cmp ecx, ebx
jne 0x4a2f84
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x10]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [0x537254]
mov dword [esp + 8], eax
call fcn.00404050
movzx eax, byte [esp + 0xc]
test al, al
jne 0x4a2e71
mov edx, dword [esp + 0x34]
jmp 0x4a2f84
lea edi, [esp + 0x64]
mov ecx, 0x93
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [esp + 0x2b4]
mov dword [esp], edx
lea ebx, [esp + 0x64]
mov dword [esp + 4], ebx
call fcn.004889a0
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0xc]
test edx, edx
je 0x4a2f65
mov dword [esp + 0x2d4], ebp
mov dword [esp + 0x2c8], ebx
lea eax, [0x4fbae0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xd
lea ecx, [0x50d976]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2ef5
mov ecx, dword [esp + 0x2e8]
jmp 0x4a2f03
call fcn.004698c0
mov ecx, dword [esp + 0x2e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2d4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a2f23
mov ecx, dword [esp + 0x2c8]
jmp 0x4a2f31
call fcn.004698c0
mov ecx, dword [esp + 0x2c8]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
lea ecx, [0x5377f4]
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
add esp, 0x2dc
ret
mov eax, dword [esp + 8]
mov dword [esp], eax
call fcn.00489f90
mov eax, dword [esp + 0x64]
test eax, 0x400
je 0x4a3438
mov edx, dword [esp + 0x34]
test edx, edx
jne 0x4a2f97
mov eax, dword [esp + 0x40]
test eax, 0x400
je 0x4a334f
mov eax, dword [esp + 0x2b4]
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], 0x2200000
mov dword [esp + 0x18], 0
call fcn.004899b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4a30a6
mov dword [esp + 0x2d4], edx
mov dword [esp + 0x2cc], ecx
lea eax, [0x4fbae0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x50ce58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a3036
mov ecx, dword [esp + 0x2e8]
jmp 0x4a3044
call fcn.004698c0
mov ecx, dword [esp + 0x2e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2d4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a3064
mov ecx, dword [esp + 0x2cc]
jmp 0x4a3072
call fcn.004698c0
mov ecx, dword [esp + 0x2cc]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
lea ecx, [0x5377f4]
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
add esp, 0x2dc
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], eax
mov ecx, dword [esp + 0x2e8]
mov dword [esp], ecx
mov edx, dword [esp + 0x2ec]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a35c0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2d4], ecx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x2c4], edx
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2cc], ebx
mov ebp, dword [esp + 0xc]
mov dword [esp + 0x2d0], ebp
mov esi, dword [esp + 0x10]
mov dword [esp + 0x2b8], esi
mov edi, dword [esp + 0x30]
mov dword [esp], edi
call fcn.004898c0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x4a312b
mov eax, dword [esp + 0x2d0]
jmp 0x4a3317
movzx eax, byte [esp + 0x2f0]
test al, al
je 0x4a3310
mov eax, dword [esp + 0x2d0]
lea ecx, [0x537c08]
cmp eax, ecx
jne 0x4a353e
mov ecx, dword [esp + 0x2b8]
mov ecx, dword [ecx + 0x2c]
cmp ecx, 0xa000000c
je 0x4a316e
cmp ecx, 0xa0000003
jne 0x4a3317
mov eax, dword [esp + 0x2b4]
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.004899b0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
test eax, eax
je 0x4a327d
mov dword [esp + 0x2d4], edx
mov dword [esp + 0x2cc], ecx
lea eax, [0x4fbae0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xa
lea ecx, [0x50ce58]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a320d
mov ecx, dword [esp + 0x2e8]
jmp 0x4a321b
call fcn.004698c0
mov ecx, dword [esp + 0x2e8]
mov dword [edi], ecx
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x2d4]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x629370]
test ecx, ecx
jne 0x4a323b
mov ecx, dword [esp + 0x2cc]
jmp 0x4a3249
call fcn.004698c0
mov ecx, dword [esp + 0x2cc]
mov dword [edi], ecx
mov dword [eax + 0x14], ecx
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
lea ecx, [0x5377f4]
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], eax
add esp, 0x2dc
ret
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea ecx, [0x4a3580]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x2d8], ecx
mov byte [esp + 0x2b], 1
mov ecx, dword [esp + 0x2e8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004a35c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x2f4], eax
mov dword [esp + 0x2f8], edx
mov dword [esp + 0x2fc], ecx
mov dword [esp + 0x300], ebx
mov byte [esp + 0x2b], 0
mov edx, dword [esp + 0x2d8]
mov eax, dword [edx]
call eax
add esp, 0x2dc
ret
mov eax, dword [esp + 0x2d0]
mov dword [esp + 0x2f4], eax
mov eax, dword [esp + 0x2c4]
mov dword [esp + 0x2f8], eax
mov eax, dword [esp + 0x2d4]
mov dword [esp + 0x2fc], eax
mov eax, dword [esp + 0x2cc]
mov dword [esp + 0x300], eax
add esp, 0x2dc
ret
lea eax, [0x5052a0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov dword [esp + 0x2c0], eax
mov ecx, dword [esp + 0x40]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x28], ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2e8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [esp + 8], ecx
call fcn.004a4390
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a3400
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], ecx
add esp, 0x2dc
ret
lea eax, [0x537c08]
mov dword [esp + 0x2f4], eax
mov eax, dword [esp + 0x2c0]
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], 0
mov dword [esp + 0x300], 0
add esp, 0x2dc
ret
nop
lea eax, [0x5052a0]
mov dword [esp], eax
call fcn.0040bde0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x64]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x74]
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], edx
mov ecx, dword [esp + 0x80]
mov dword [eax + 0x24], ecx
mov ecx, dword [esp + 0x84]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x64]
test ecx, 0x400
je 0x4a34a6
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x2c], ecx
mov dword [esp + 0x2bc], eax
mov dword [esp], eax
mov ecx, dword [esp + 0x2e8]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x2ec]
mov dword [esp + 8], ecx
call fcn.004a4390
mov eax, dword [esp + 0xc]
test eax, eax
je 0x4a3506
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x2f4], 0
mov dword [esp + 0x2f8], 0
mov dword [esp + 0x2fc], eax
mov dword [esp + 0x300], ecx
add esp, 0x2dc
ret
lea eax, [0x537c08]
mov dword [esp + 0x2f4], eax
mov eax, dword [esp + 0x2bc]
mov dword [esp + 0x2f8], eax
mov dword [esp + 0x2fc], 0
mov dword [esp + 0x300], 0
add esp, 0x2dc
ret
mov ecx, dword [0x537c0c]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x4fdac0]
mov dword [esp + 8], eax
call fcn.00409500
xor eax, eax
mov ecx, eax
call fcn.00469920
nop
call fcn.00437d50
add esp, 0x2dc
ret
call fcn.00468500
jmp fcn.004a2bc0