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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x18]
cmp eax, dword [ecx + 8]
jbe 0x4a81df
sub esp, 0x98
mov eax, 0
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov byte [esp + 0x22], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
movzx eax, byte [esp + 0xb4]
test al, al
je 0x4a8118
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jne 0x4a80e4
mov edx, 1
test dl, dl
jne 0x4a81ba
lea edx, [0x7d7620]
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], 0
mov edx, dword [esp + 0x88]
mov dword [esp + 0x60], edx
mov ebx, dword [esp + 0xac]
lea ebp, [ecx + ebx]
cmp ebp, 4
jle 0x4a80c5
cmp ebp, 8
jle 0x4a80a6
cmp ebp, 0x10
jle 0x4a8087
cmp ebp, 0x20
jle 0x4a8068
cmp ebp, 0x40
jle 0x4a8049
cmp ebp, 0x80
jg 0x4a81a2
lea eax, [0x818940]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, pe_nt_image_headers32
mov dword [esp + 0x6c], eax
mov dword [esp + 0x74], ecx
mov esi, dword [esp + 0x60]
test byte [esi], al
mov ebx, dword [0xcc7b40]
test ebx, ebx
jne 0x4a8022
mov edi, eax
call fcn.0045a816
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov ebp, dword [esp + 0x74]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x4a7a68
mov dword [esp + 0x44], 0
mov eax, dword [ecx + 8]
shr eax, 0x18
mov byte [esp + 0x44], al
mov eax, dword [ecx + 8]
shr eax, 0x10
mov byte [esp + 0x45], al
mov eax, dword [ecx + 8]
shr eax, 8
mov byte [esp + 0x46], al
mov eax, dword [ecx + 8]
mov byte [esp + 0x47], al
mov dword [esp], edi
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.004a6210
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
lea esi, [eax + 1]
mov eax, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0xa0]
mov ebx, dword [esp + 0x9c]
mov edx, ebp
mov ebp, dword [esp + 0x70]
cmp esi, ecx
jge 0x4a7b11
mov dword [esp + 0x38], esi
lea ebx, [ebx + esi*8]
mov ecx, dword [ebx + 4]
mov ebx, dword [ebx]
lea esi, [0x9c41a0]
cmp ebx, esi
jne 0x4a8186
mov ebx, dword [esp + 0x2c]
lea esi, [ebx + 1]
cmp esi, edx
ja 0x4a7aca
mov dword [esp + 0x70], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
lea edx, [ebp + ebx*4]
mov esi, dword [0xcc7b40]
test esi, esi
jne 0x4a7ab8
mov dword [ebp + ebx*4], ecx
jmp 0x4a79de
mov ebx, edi
mov edi, edx
mov eax, ecx
call fcn.0045a0b0
mov edi, ebx
jmp 0x4a79de
mov dword [esp + 0x68], ecx
mov dword [esp + 0x28], edi
lea eax, [0x85f980]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.00443e80
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
jmp 0x4a7a95
mov dword [esp + 0x34], edx
mov dword [esp + 0x84], ebp
movzx ebx, byte [esp + 0xb4]
test bl, bl
jne 0x4a7fef
mov byte [esp + 0x23], 0
mov byte [esp + 0x23], 0x2e
mov dword [esp], edi
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.004a6210
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x84]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
xor edi, edi
jmp 0x4a7bed
mov dword [esp + 0x44], 0
mov edx, dword [ecx + 8]
shr edx, 0x18
mov byte [esp + 0x44], dl
mov edx, dword [ecx + 8]
shr edx, 0x10
mov byte [esp + 0x45], dl
mov edx, dword [ecx + 8]
shr edx, 8
mov byte [esp + 0x46], dl
mov ecx, dword [ecx + 8]
mov byte [esp + 0x47], cl
mov dword [esp], eax
lea eax, [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], 4
mov dword [esp + 0xc], 4
call fcn.004a6210
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa8]
mov ebx, dword [esp + 0x70]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], eax
cmp edi, ecx
jge 0x4a7c9e
lea edx, [edx + edi*8]
mov ecx, dword [edx + 4]
mov dword [esp + 0x64], ecx
mov edx, dword [edx]
lea ecx, [0x9c41a0]
cmp edx, ecx
jne 0x4a816a
mov dword [esp + 0x38], edi
lea edx, [ebp + 1]
cmp edx, esi
ja 0x4a7c59
mov dword [esp + 0x70], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], esi
lea ecx, [ebx + ebp*4]
mov edx, dword [0xcc7b40]
test edx, edx
jne 0x4a7c43
mov ecx, dword [esp + 0x64]
mov dword [ebx + ebp*4], ecx
jmp 0x4a7b7b
mov edi, ecx
mov ebp, eax
mov eax, dword [esp + 0x64]
call fcn.0045a0b0
mov ecx, eax
mov eax, ebp
jmp 0x4a7b7b
mov dword [esp + 0x2c], ebp
lea eax, [0x85f980]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
call fcn.00443e80
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea edx, [eax + 1]
mov eax, dword [esp + 0x28]
lea ecx, [0x9c41a0]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
jmp 0x4a7c1e
cmp ebp, 0x32
jg 0x4a8152
mov edx, dword [esp + 0x6c]
mov byte [edx + 0xc], 0
mov dword [edx + 8], eax
mov ebx, dword [esp + 0xa0]
mov word [edx + 0x20], bx
mov word [edx + 0x22], cx
movzx ebx, byte [esp + 0xb4]
test bl, bl
je 0x4a7cd7
or ecx, 0xffff8000
mov word [edx + 0x22], cx
mov dword [esp + 0x40], eax
lea ecx, [0xcb58a8]
mov dword [esp], ecx
lea edx, [0x7f35a0]
mov dword [esp + 4], edx
lea ebx, [esp + 0x40]
mov dword [esp + 8], ebx
call fcn.0045f9e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x4a7d96
lea eax, [0x7d3160]
cmp edx, eax
jne 0x4a813c
mov edx, dword [ecx + 4]
mov dword [esp + 0x38], edx
mov ecx, dword [ecx]
mov dword [esp + 0x80], ecx
xor ebx, ebx
jmp 0x4a7d4a
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + 1]
lea eax, [0x7d3160]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x38]
cmp ebx, edx
jge 0x4a7d96
mov dword [esp + 0x34], ebx
mov eax, dword [ecx + ebx*4]
mov dword [esp + 0x58], eax
mov edx, dword [esp + 0x6c]
mov dword [esp], edx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.004a6ec0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a7d32
lea eax, [0x9c41a0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xbc], eax
add esp, 0x98
ret
lea eax, [0xcb58a0]
mov dword [esp], eax
call fcn.00460df0
lea eax, [0x9375d4]
mov dword [esp + 0x94], eax
lea eax, [0xcb58a0]
mov dword [esp + 0x90], eax
mov byte [esp + 0x22], 1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea ecx, [0xcb58a8]
mov dword [esp], ecx
lea ecx, [0x7f35a0]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0045f9e0
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x4a7e8e
lea eax, [0x7d3160]
cmp edx, eax
jne 0x4a8126
mov eax, dword [ecx]
mov dword [esp + 0x7c], eax
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x4a7e2e
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x4a7e8e
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x54], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.004a6ec0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a7e1f
lea eax, [0x9c41a0]
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0xbc], eax
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.004611c0
add esp, 0x98
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x4b2be0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004a81f0
mov eax, dword [esp + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x24], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.004a75e0
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x38], ecx
xor edx, edx
jmp 0x4a7efb
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x4a7f6a
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x50], ecx
mov ebx, dword [esp + 0x6c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.004a6ec0
movzx eax, byte [esp + 0xc]
test al, al
je 0x4a7eec
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x48]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.004611c0
add esp, 0x98
ret
mov eax, dword [esp + 0x5c]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
mov byte [esp + 0x10], 0
call fcn.004a2ed0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0043fc50
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov dword [ecx + 0x18], eax
mov dword [ecx + 0x1c], 0
mov dword [esp], ecx
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x48]
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
mov byte [esp + 0x22], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
call fcn.004611c0
add esp, 0x98
ret
mov byte [esp + 0x23], 0
mov byte [esp + 0x23], 0x76
mov dword [esp], edi
lea eax, [esp + 0x23]
mov dword [esp + 4], eax
mov dword [esp + 8], 1
mov dword [esp + 0xc], 1
call fcn.004a6210
mov edi, dword [esp + 0x10]
jmp 0x4a7b2c
mov dword [esp + 0x30], edx
lea ecx, [0x8270e0]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.00410ee0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x30]
jmp 0x4a79bd
lea eax, [0x818ac0]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x40
jmp 0x4a799a
lea eax, [0x818a00]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x20
jmp 0x4a799a
lea eax, [0x8189a0]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x10
jmp 0x4a799a
lea eax, [0x818b20]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 8
jmp 0x4a799a
lea eax, [0x818a60]
mov dword [esp], eax
call fcn.0040afa0
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 4
jmp 0x4a799a
mov eax, dword [esp + 0x9c]
lea edx, [eax + ecx*8 - 8]
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov ebx, dword [ebx + 0x50]
mov dword [esp], edx
call ebx
cmp dword [esp + 4], 0x17
setne dl
movzx eax, byte [esp + 0xb4]
mov ecx, dword [esp + 0xa0]
jmp 0x4a7912
mov ecx, dword [esp + 0xa0]
xor edx, edx
jmp 0x4a7912
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x7f2aa0]
mov dword [esp + 8], eax
call fcn.00408420
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x7f2aa0]
mov dword [esp + 8], eax
call fcn.00408420
lea eax, [0x7f33a0]
mov dword [esp], eax
lea eax, [0x9b4ac0]
mov dword [esp + 4], eax
call fcn.00430b50
mov dword [esp], edx
lea eax, [0x85f980]
mov dword [esp + 4], eax
lea eax, [0x853c20]
mov dword [esp + 8], eax
call fcn.004084c0
mov dword [esp], ebx
lea eax, [0x85f980]
mov dword [esp + 4], eax
lea eax, [0x853c20]
mov dword [esp + 8], eax
call fcn.004084c0
lea eax, [0x7f33a0]
mov dword [esp], eax
lea eax, [0x9b4ab8]
mov dword [esp + 4], eax
call fcn.00430b50
lea eax, [0x7f33a0]
mov dword [esp], eax
lea eax, [0x9b4ab0]
mov dword [esp + 4], eax
call fcn.00430b50
nop
call fcn.00430250
add esp, 0x98
ret
call fcn.00458870
jmp fcn.004a78a0