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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x30]
cmp eax, dword [ecx + 8]
jbe 0x479251
sub esp, 0xb0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
movzx eax, byte [esp + 0xcc]
test al, al
je 0x479196
mov ecx, dword [esp + 0xb8]
test ecx, ecx
jne 0x479162
mov edx, 1
test dl, dl
jne 0x479238
lea edx, [0x731180]
mov dword [esp + 0xa8], edx
mov dword [esp + 0xac], 0
mov edx, dword [esp + 0xa8]
mov dword [esp + 0x80], edx
mov ebx, dword [esp + 0xc4]
lea ebp, [ecx + ebx]
cmp ebp, 4
jle 0x479143
cmp ebp, 8
jle 0x479124
cmp ebp, 0x10
jle 0x479105
cmp ebp, 0x20
jle 0x4790e6
cmp ebp, 0x40
jle 0x4790c7
cmp ebp, 0x80
jg 0x479220
lea eax, [0x764900]
mov dword [esp], eax
call fcn.0040a580
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, pe_nt_image_headers32
mov dword [esp + 0x8c], eax
mov dword [esp + 0x9c], ecx
mov esi, dword [esp + 0x80]
test byte [esi], al
mov ebx, dword [0xa918d0]
test ebx, ebx
jne 0x47909d
mov edi, eax
call fcn.00451be6
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov ebp, dword [esp + 0x9c]
xor esi, esi
xor edi, edi
xor esi, esi
mov dword [esp + 0x2c], esi
jmp 0x478aa8
mov dword [esp + 0x44], 0
mov eax, dword [ebx + 8]
shr eax, 0x18
mov byte [esp + 0x44], al
mov eax, dword [ebx + 8]
shr eax, 0x10
mov byte [esp + 0x45], al
mov eax, dword [ebx + 8]
shr eax, 8
mov byte [esp + 0x46], al
mov eax, dword [ebx + 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.00477130
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x38]
lea esi, [eax + 1]
mov eax, dword [esp + 0xb8]
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0x90]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0xb8]
mov ebx, dword [esp + 0xb4]
mov edx, ebp
mov ebp, dword [esp + 0x90]
cmp esi, ecx
jge 0x478b60
mov dword [esp + 0x38], esi
lea ebx, [ebx + esi*8]
mov ecx, dword [ebx]
mov ebx, dword [ebx + 4]
lea esi, [0x8351a0]
cmp ecx, esi
jne 0x479204
mov ecx, dword [esp + 0x2c]
lea esi, [ecx + 1]
cmp esi, edx
ja 0x478b0d
mov dword [esp + 0x90], ebp
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], edx
lea edx, [ebp + ecx*4]
mov esi, dword [0xa918d0]
test esi, esi
jne 0x478afb
mov dword [ebp + ecx*4], ebx
jmp 0x478a15
mov ecx, edi
mov edi, edx
mov eax, ebx
call fcn.00451480
mov edi, ecx
jmp 0x478a15
mov dword [esp + 0x88], ebx
mov dword [esp + 0x28], edi
lea eax, [0x79f6c0]
mov dword [esp], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], esi
call fcn.0043c860
mov ebp, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
lea esi, [eax + 1]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x88]
mov edi, dword [esp + 0x28]
jmp 0x478ad5
mov dword [esp + 0x34], edx
mov dword [esp + 0x98], ebp
movzx ebx, byte [esp + 0xcc]
test bl, bl
jne 0x479069
movzx eax, byte [0x8272ec]
mov byte [esp + 0x23], al
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.00477130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x98]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x34]
xor edi, edi
jmp 0x478c40
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.00477130
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
lea edi, [ecx + 1]
mov ecx, dword [esp + 0xc4]
mov edx, dword [esp + 0xc0]
mov ebx, dword [esp + 0x90]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
mov dword [esp + 0x28], eax
cmp edi, ecx
jge 0x478d00
lea edx, [edx + edi*8]
mov ecx, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x84], edx
lea edx, [0x8351a0]
cmp ecx, edx
jne 0x4791e8
mov dword [esp + 0x38], edi
lea ecx, [ebp + 1]
cmp ecx, esi
ja 0x478cb8
mov dword [esp + 0x90], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
lea edx, [ebx + ebp*4]
mov ecx, dword [0xa918d0]
test ecx, ecx
jne 0x478c9f
mov ecx, dword [esp + 0x84]
mov dword [ebx + ebp*4], ecx
jmp 0x478bcb
mov edi, edx
mov ebp, eax
mov eax, dword [esp + 0x84]
call fcn.00451480
mov ecx, eax
mov eax, ebp
jmp 0x478bcb
mov dword [esp + 0x2c], ebp
lea eax, [0x79f6c0]
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ecx
call fcn.0043c860
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
lea ecx, [eax + 1]
mov eax, dword [esp + 0x28]
lea edx, [0x8351a0]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x38]
jmp 0x478c74
cmp ebp, 0x32
jg 0x4791d0
mov edx, dword [esp + 0x8c]
mov byte [edx + 0xc], 0
mov dword [edx + 8], eax
mov ebx, dword [esp + 0xb8]
mov word [edx + 0x20], bx
mov word [edx + 0x22], cx
movzx ebx, byte [esp + 0xcc]
test bl, bl
je 0x478d3c
or ecx, 0xffff8000
mov word [edx + 0x22], cx
mov dword [esp + 0x40], eax
lea ecx, [0xa7eb68]
mov dword [esp], ecx
lea edx, [0x748840]
mov dword [esp + 4], edx
lea ebx, [esp + 0x40]
mov dword [esp + 8], ebx
call fcn.0046a750
movzx eax, byte [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
test al, al
je 0x478e04
lea eax, [0x72d100]
cmp edx, eax
jne 0x4791ba
mov edx, dword [ecx]
mov dword [esp + 0x94], edx
mov ecx, dword [ecx + 4]
mov dword [esp + 0x38], ecx
xor ebx, ebx
jmp 0x478daf
mov ebp, dword [esp + 0x34]
lea ebx, [ebp + 1]
lea eax, [0x72d100]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x94]
cmp ebx, ecx
jge 0x478e04
mov dword [esp + 0x34], ebx
mov eax, dword [edx + ebx*4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x8c]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00477d00
movzx eax, byte [esp + 0xc]
test al, al
je 0x478d97
lea eax, [0x8351a0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0xd4], eax
nop
call fcn.0042abe0
add esp, 0xb0
ret
lea eax, [0xa7eb60]
mov dword [esp], eax
call fcn.0046bb60
mov dword [esp + 0x50], 4
lea eax, [0x7c3d34]
mov dword [esp + 0x60], eax
lea eax, [0xa7eb60]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x50]
mov dword [esp], eax
call fcn.0042a4a0
test eax, eax
jne 0x47905c
mov eax, dword [esp + 0x28]
mov dword [esp + 0x3c], eax
lea ecx, [0xa7eb68]
mov dword [esp], ecx
lea ecx, [0x748840]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0046a750
mov eax, dword [esp + 0x10]
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0xc]
test cl, cl
je 0x478f08
lea ecx, [0x72d100]
cmp edx, ecx
jne 0x4791a4
mov ecx, dword [eax + 4]
mov dword [esp + 0x38], ecx
mov eax, dword [eax]
mov dword [esp + 0xa4], eax
xor edx, edx
jmp 0x478eb3
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0xa4]
mov ecx, dword [esp + 0x38]
cmp edx, ecx
jge 0x478f08
mov dword [esp + 0x34], edx
mov ecx, dword [eax + edx*4]
mov dword [esp + 0x74], ecx
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov byte [esp + 8], 1
call fcn.00477d00
movzx eax, byte [esp + 0xc]
test al, al
je 0x478ea1
lea eax, [0x8351a0]
mov dword [esp + 0xd0], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0xd4], eax
nop
call fcn.0042abe0
add esp, 0xb0
ret
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea eax, [0x4845d0]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
call fcn.00479260
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov ecx, dword [esp + 4]
mov dword [esp + 0x7c], ecx
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00478620
mov eax, dword [esp + 0xc]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0xa0], ecx
xor edx, edx
jmp 0x478f7e
mov ebx, dword [esp + 0x34]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0xa0]
cmp edx, eax
jge 0x478fe2
mov dword [esp + 0x34], edx
mov eax, dword [ecx + edx*4]
mov dword [esp + 0x70], eax
mov ebx, dword [esp + 0x8c]
mov dword [esp], ebx
mov dword [esp + 4], eax
mov byte [esp + 8], 1
call fcn.00477d00
movzx eax, byte [esp + 0xc]
test al, al
je 0x478f6c
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x48]
call eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], eax
nop
call fcn.0042abe0
add esp, 0xb0
ret
mov eax, dword [esp + 0x7c]
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.004741d0
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.004387f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x8c]
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 + 0xd0], eax
mov dword [esp + 0xd4], ecx
nop
call fcn.0042abe0
add esp, 0xb0
ret
nop
call fcn.0042abe0
add esp, 0xb0
ret
movzx eax, byte [0x8272eb]
mov byte [esp + 0x23], al
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.00477130
mov edi, dword [esp + 0x10]
jmp 0x478b7b
mov dword [esp + 0x30], edx
lea ecx, [0x76f140]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], esi
call fcn.004107a0
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x30]
jmp 0x4789f1
lea eax, [0x764a80]
mov dword [esp], eax
call fcn.0040a580
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x40
jmp 0x4789c5
lea eax, [0x7649c0]
mov dword [esp], eax
call fcn.0040a580
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x20
jmp 0x4789c5
lea eax, [0x764960]
mov dword [esp], eax
call fcn.0040a580
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 0x10
jmp 0x4789c5
lea eax, [0x764ae0]
mov dword [esp], eax
call fcn.0040a580
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 8
jmp 0x4789c5
lea eax, [0x764a20]
mov dword [esp], eax
call fcn.0040a580
mov eax, dword [esp + 4]
lea ecx, [eax + 0x24]
mov edx, 4
jmp 0x4789c5
mov eax, dword [esp + 0xb4]
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 + 0xcc]
mov ecx, dword [esp + 0xb8]
jmp 0x47893a
mov ecx, dword [esp + 0xb8]
xor edx, edx
jmp 0x47893a
mov dword [esp], edx
mov dword [esp + 4], ecx
lea eax, [0x747b80]
mov dword [esp + 8], eax
call fcn.00407b40
mov dword [esp], edx
mov dword [esp + 4], eax
lea eax, [0x747b80]
mov dword [esp + 8], eax
call fcn.00407b40
lea eax, [0x748600]
mov dword [esp], eax
lea eax, [0x828a18]
mov dword [esp + 4], eax
call fcn.0042af30
mov dword [esp], ecx
lea eax, [0x79f6c0]
mov dword [esp + 4], eax
lea eax, [0x795bc0]
mov dword [esp + 8], eax
call fcn.00407c00
mov dword [esp], ecx
lea eax, [0x79f6c0]
mov dword [esp + 4], eax
lea eax, [0x795bc0]
mov dword [esp + 8], eax
call fcn.00407c00
lea eax, [0x748600]
mov dword [esp], eax
lea eax, [0x828a10]
mov dword [esp + 4], eax
call fcn.0042af30
lea eax, [0x748600]
mov dword [esp], eax
lea eax, [0x828a08]
mov dword [esp + 4], eax
call fcn.0042af30
nop
call fcn.0044fc40
jmp fcn.004788e0