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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x34]
cmp eax, dword [ecx + 8]
jbe 0x4a28df
sub esp, 0xb4
mov eax, dword [esp + 0xb8]
mov ecx, dword [eax]
test ecx, ecx
je 0x4a2060
mov ecx, dword [ecx + 0x13c]
test ecx, ecx
je 0x4a2060
mov edx, dword [esp + 0xbc]
test edx, edx
jg 0x4a2019
mov ebx, 0xffffffff
jmp 0x4a201b
mov ebx, edx
mov dword [esp + 0xb0], ecx
xor ebp, ebp
xor esi, esi
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x3c], ebp
xor ebp, ebp
mov dword [esp + 0x38], ebp
xor ebp, ebp
mov dword [esp + 0x34], ebp
xor ebp, ebp
mov dword [esp + 0xac], ebp
xor esi, esi
mov dword [esp + 0xa8], esi
xor edi, edi
mov dword [esp + 0xa4], edi
xor ebp, ebp
xor esi, esi
xor edi, edi
jmp 0x4a2180
lea eax, [0x505d20]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [eax + 4], 7
lea ecx, [0x5128d6]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a20a8
mov dword [eax + 8], edx
jmp 0x4a20b6
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00460010
mov eax, ecx
lea ecx, [0x5494bc]
mov dword [eax + 0x10], ecx
lea ecx, [0x548d30]
mov dword [eax + 0x14], ecx
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
lea ecx, [0x54932c]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xb4
ret
mov edi, dword [esp + 0x30]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0xac], ecx
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb0]
mov edx, dword [esp + 0xbc]
test ebx, ebx
je 0x4a27d1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x28], esi
mov ebx, dword [eax]
mov ebp, dword [ebx + 0x13c]
movzx esi, byte [ebp + 0x258]
xchg esi, eax
test al, al
xchg esi, eax
jne 0x4a27c5
mov dword [esp + 0x24], edi
movzx ebp, byte [ebp + 0x24c]
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x4a21f4
mov dword [esp], ebx
mov dword [esp + 4], ecx
call fcn.004a1860
mov eax, dword [esp + 8]
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0xc]
mov ebp, dword [esp + 8]
test eax, eax
jne 0x4a2679
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb0]
mov edx, dword [eax]
mov edx, dword [edx + 0x13c]
mov byte [edx + 0x24c], 1
lea edx, [ecx + 0x2c]
mov dword [esp], edx
mov dword [esp + 4], 0x103
mov dword [esp + 8], 0x103
call fcn.00486540
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
cmp eax, 1
jne 0x4a2230
cmp byte [ecx], 0x2e
je 0x4a223c
cmp eax, 2
jne 0x4a227d
cmp word [ecx], 0x2e2e
jne 0x4a227d
mov edi, dword [esp + 0xc0]
mov ebx, dword [esp + 0x30]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x38]
jmp 0x4a2146
mov dword [esp + 0x84], ecx
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0xc0]
test edx, edx
jne 0x4a236b
mov ebx, dword [esp + 0x24]
lea ebp, [ebx + 1]
mov esi, dword [esp + 0x34]
cmp esi, ebp
jb 0x4a22af
mov edi, dword [esp + 0xa4]
jmp 0x4a22fd
lea eax, [0x4fd920]
mov dword [esp], eax
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00449cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea ebp, [ecx + 1]
mov ecx, dword [esp + 0x84]
mov ebx, dword [esp + 0x24]
mov edi, eax
mov esi, edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc0]
lea edx, [edi + ebx*8 + 4]
mov dword [edx], eax
mov edx, dword [0x61b8e0]
lea ebx, [edi + ebx*8]
test edx, edx
jne 0x4a2314
mov dword [ebx], ecx
jmp 0x4a2321
mov eax, ecx
mov ecx, edi
mov edi, ebx
call fcn.00460010
mov edi, ecx
lea ebx, [0x549674]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x94], eax
mov dword [esp + 0xa4], edi
mov edi, dword [esp + 0xc0]
mov eax, dword [esp + 0x38]
jmp 0x4a2639
lea eax, [0x50cd80]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xb0]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov edx, dword [ecx + 8]
mov ebx, dword [ecx + 4]
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0xc]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], edx
mov edx, dword [ecx + 0x18]
mov ebx, dword [ecx + 0x14]
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x20], edx
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x24], edx
mov edx, dword [ecx + 0x20]
mov dword [eax + 0x28], edx
mov edx, dword [ecx + 0x24]
mov dword [eax + 0x2c], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [0x61b8e0]
test edx, edx
jne 0x4a23db
mov edx, dword [esp + 0x84]
mov dword [eax], edx
jmp 0x4a23eb
mov edi, eax
mov eax, dword [esp + 0x84]
call fcn.00460010
mov eax, edi
mov edx, dword [esp + 0xb8]
mov ebx, dword [edx]
mov ebx, dword [ebx + 0x13c]
mov ebp, dword [ebx + 0x250]
mov ebx, dword [ebx + 0x254]
mov dword [eax + 0x40], ebx
mov ebx, dword [0x61b8e0]
test ebx, ebx
jne 0x4a2418
mov dword [eax + 0x3c], ebp
jmp 0x4a2426
lea edi, [eax + 0x3c]
mov ebx, eax
mov eax, ebp
call fcn.00460010
mov eax, ebx
mov dword [esp + 0x80], eax
mov byte [eax + 0x50], 1
mov ebx, dword [esp + 0xc0]
cmp ebx, 1
jne 0x4a251e
mov ebp, dword [esp + 0x28]
lea esi, [ebp + 1]
mov edi, ebx
mov ebx, dword [esp + 0x38]
cmp ebx, esi
jb 0x4a246a
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x70]
jmp 0x4a24c7
lea eax, [0x5041a0]
mov dword [esp], eax
mov ecx, dword [esp + 0xac]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00449cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0xa0], eax
mov ebx, edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0xa0]
lea edx, [ecx + ebp*8]
lea ebx, [0x549674]
mov dword [edx], ebx
mov edx, dword [0x61b8e0]
lea ebp, [ecx + ebp*8 + 4]
test edx, edx
jne 0x4a24f0
mov dword [ebp], eax
jmp 0x4a24fb
mov edx, edi
mov edi, ebp
call fcn.00460010
mov edi, edx
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x38]
jmp 0x4a2605
mov ebp, dword [esp + 0x2c]
lea esi, [ebp + 1]
mov edi, ebx
mov ebx, dword [esp + 0x3c]
cmp ebx, esi
jb 0x4a2547
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x68]
jmp 0x4a25a4
lea eax, [0x507480]
mov dword [esp], eax
mov ecx, dword [esp + 0xa8]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], esi
call fcn.00449cd0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xb0]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x9c], eax
mov ebx, edx
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x3c], ebx
mov ecx, dword [esp + 0x9c]
lea edx, [ecx + ebp*8]
lea ebx, [0x5496e0]
mov dword [edx], ebx
mov edx, dword [0x61b8e0]
lea ebp, [ecx + ebp*8 + 4]
test edx, edx
jne 0x4a25cd
mov dword [ebp], eax
jmp 0x4a25d8
mov edx, edi
mov edi, ebp
call fcn.00460010
mov edi, edx
lea ebx, [0x549674]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ebp, esi
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0xac]
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x98]
mov dword [esp + 0x94], eax
lea ebx, [0x549674]
mov eax, dword [esp + 0x60]
mov ebx, dword [esp + 0x30]
dec ebx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x90], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x40]
jmp 0x4a2146
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebp
test ecx, ecx
je 0x4a26b5
lea eax, [0x507880]
cmp dword [ecx + 4], eax
jne 0x4a26b5
cmp dword [edx], 0x12
jne 0x4a26b5
mov eax, dword [esp + 0xbc]
test eax, eax
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
jmp 0x4a27d3
lea eax, [0x505d20]
mov dword [esp], eax
call fcn.0040b420
mov eax, dword [esp + 4]
mov dword [eax + 4], 0xc
lea ecx, [0x513994]
mov dword [eax], ecx
mov ecx, dword [esp + 0xb8]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x134]
mov ecx, dword [ecx + 0x138]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a26fd
mov dword [eax + 8], edx
jmp 0x4a270b
lea edi, [eax + 8]
mov ecx, eax
mov eax, edx
call fcn.00460010
mov eax, ecx
mov ecx, dword [esp + 0x8c]
mov dword [eax + 0x10], ecx
mov ecx, dword [0x61b8e0]
test ecx, ecx
jne 0x4a272b
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x14], ecx
jmp 0x4a273e
lea edi, [eax + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x88]
call fcn.00460010
mov eax, ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0xcc], ecx
mov ecx, dword [esp + 0xac]
mov dword [esp + 0xd0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xd4], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0xdc], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xe0], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xe4], ecx
lea ecx, [0x54932c]
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], eax
add esp, 0xb4
ret
test edx, edx
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
jmp 0x4a27d3
test edx, edx
jle 0x4a27de
lea eax, [edi + esi]
add eax, ebp
test eax, eax
je 0x4a285b
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], edi
mov eax, dword [esp + 0x34]
mov dword [esp + 0xcc], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], esi
mov eax, dword [esp + 0x38]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], ebp
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], 0
mov dword [esp + 0xec], 0
add esp, 0xb4
ret
mov eax, dword [0x5f4d20]
mov ecx, dword [0x5f4d24]
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], ecx
add esp, 0xb4
ret
call fcn.0045ec00
jmp fcn.004a1fd0