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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff5c
mov dword [esp], edx
mov ebx, eax
mov eax, dword [ebx + 0x294]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x290]
mov dword [esp + 8], eax
lea eax, [ebx + 0x280]
call fcn.00476454
sub eax, dword [ebx + 0x298]
mov dword [esp + 0xc], eax
lea eax, [ebx + 0x280]
call fcn.00476470
sub eax, dword [ebx + 0x29c]
mov dword [esp + 0x10], eax
lea edx, [esp + 0x64]
mov eax, ebx
call fcn.0048e2ac
mov eax, dword [esp + 0x70]
add eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x78]
push eax
mov ecx, dword [esp + 0x74]
add ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x70]
sub edx, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
sub eax, dword [esp + 0x10]
call fcn.004158a0
lea eax, [esp + 0x74]
call fcn.00476454
mov esi, eax
lea eax, [ebx + 0x280]
call fcn.00476454
sub esi, eax
mov dword [esp + 0x34], esi
lea eax, [esp + 0x74]
call fcn.00476470
mov esi, eax
lea eax, [ebx + 0x280]
call fcn.00476470
sub esi, eax
mov dword [esp + 0x38], esi
mov eax, dword [ebx + 0x2e0]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0x2e4]
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x44]
mov eax, dword [ebx + 0x2e8]
add eax, dword [esp + 0x34]
mov edx, dword [ebx + 0x2ec]
call fcn.00415878
lea ecx, [esp + 0x4c]
mov edx, dword [ebx + 0x2f4]
add edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x2f0]
call fcn.00415878
lea ecx, [esp + 0x54]
mov edx, dword [ebx + 0x2fc]
add edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x2f8]
add eax, dword [esp + 0x34]
call fcn.00415878
lea eax, [ebx + 0x290]
call fcn.00476454
mov esi, eax
lea eax, [ebx + 0x290]
call fcn.00476470
mov edi, eax
lea eax, [esp + 0x74]
call fcn.00476454
mov dword [esp + 0x24], eax
lea eax, [esp + 0x74]
call fcn.00476470
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
cdq
idiv esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x28]
cdq
idiv edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x4a76c2
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4a76b4
inc eax
mov dword [esp + 0x60], eax
xor ebp, ebp
mov eax, dword [esp + 0x18]
imul esi
add eax, esi
cmp eax, dword [esp + 0x24]
jle 0x4a75d0
sub eax, dword [esp + 0x24]
mov dword [esp + 0x34], eax
jmp 0x4a75d6
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, ebp
imul edi
add eax, edi
cmp eax, dword [esp + 0x28]
jle 0x4a75ec
sub eax, dword [esp + 0x28]
mov dword [esp + 0x38], eax
jmp 0x4a75f2
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x284]
add eax, dword [ebx + 0x29c]
sub eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x280]
add ecx, dword [ebx + 0x298]
sub ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x284]
add edx, dword [ebx + 0x294]
mov eax, dword [ebx + 0x280]
add eax, dword [ebx + 0x290]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, ebp
imul edi
add eax, dword [esp + 0x7c]
add eax, edi
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [esp + 0x24]
imul ecx, esi
add ecx, dword [esp + 0x80]
add ecx, esi
sub ecx, dword [esp + 0x40]
mov edx, ebp
imul edx, edi
add edx, dword [esp + 0x84]
mov eax, dword [esp + 0x24]
imul eax, esi
add eax, dword [esp + 0x80]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
inc ebp
dec dword [esp + 0x60]
jne 0x4a75b8
inc dword [esp + 0x18]
dec dword [esp + 0x5c]
jne 0x4a75a5
lea eax, [ebx + 0x2d0]
call fcn.004763ac
test al, al
jne 0x4a7853
cmp byte [ebx + 0x226], 0
jne 0x4a76ee
xor eax, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
jmp 0x4a7707
mov eax, dword [esp + 0x80]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x4c]
sub eax, dword [esp + 0x80]
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x2c], eax
lea eax, [ebx + 0x2d0]
call fcn.00476454
mov esi, eax
lea eax, [ebx + 0x2d0]
call fcn.00476470
mov edi, eax
mov eax, dword [esp + 0x2c]
cdq
idiv esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x30]
cdq
idiv edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x4a7853
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4a7845
inc eax
mov dword [esp + 0x60], eax
xor ebp, ebp
mov eax, dword [esp + 0x18]
imul esi
add eax, esi
cmp eax, dword [esp + 0x2c]
jle 0x4a778a
mov eax, dword [esp + 0x18]
imul esi
add eax, esi
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x34], eax
jmp 0x4a7790
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, ebp
imul edi
add eax, edi
cmp eax, dword [esp + 0x30]
jle 0x4a77a6
sub eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
jmp 0x4a77ac
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x2dc]
sub eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x2d8]
sub ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x2d4]
mov eax, dword [ebx + 0x2d0]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, ebp
imul edi
add eax, dword [esp + 0x18]
add eax, edi
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [esp + 0x24]
imul ecx, esi
add ecx, esi
sub ecx, dword [esp + 0x40]
mov edx, ebp
imul edx, edi
add edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
imul eax, esi
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
inc ebp
dec dword [esp + 0x60]
jne 0x4a776a
inc dword [esp + 0x18]
dec dword [esp + 0x5c]
jne 0x4a7757
mov esi, dword [ebx + 0x2e8]
sub esi, dword [ebx + 0x2e0]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
cdq
idiv esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x4a796a
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], 0
mov ebp, dword [esp + 0x18]
imul ebp, esi
mov eax, ebp
mov edi, dword [esp + 0x3c]
add eax, edi
add eax, esi
cmp eax, dword [esp + 0x44]
jle 0x4a78b4
mov eax, dword [esp + 0x18]
imul esi
add eax, dword [esp + 0x3c]
add eax, esi
sub eax, dword [esp + 0x44]
mov dword [esp + 0x34], eax
jmp 0x4a78ba
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x284]
add eax, dword [esp + 4]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x280]
add ecx, dword [ebx + 0x2e8]
sub ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x280]
add eax, dword [ebx + 0x2e0]
mov edx, dword [ebx + 0x284]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 8]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
imul esi
add ecx, eax
add ecx, esi
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
add eax, edi
add eax, ebp
mov edx, dword [esp + 0x84]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
inc dword [esp + 0x18]
dec dword [esp + 0x5c]
jne 0x4a7887
mov esi, dword [ebx + 0x2f8]
sub esi, dword [ebx + 0x2f0]
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
cdq
idiv esi
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
test eax, eax
jl 0x4a7a88
inc eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
imul esi
add eax, dword [esp + 0x4c]
add eax, esi
cmp eax, dword [esp + 0x54]
jle 0x4a79c6
mov eax, dword [esp + 0x18]
imul esi
add eax, dword [esp + 0x4c]
add eax, esi
sub eax, dword [esp + 0x54]
mov dword [esp + 0x34], eax
jmp 0x4a79cc
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x28c]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x280]
add ecx, dword [ebx + 0x2f8]
sub ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0x28c]
sub edx, dword [esp + 0x18]
mov eax, dword [ebx + 0x280]
add eax, dword [ebx + 0x2f0]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x58]
mov eax, dword [esp + 0x24]
imul esi
add ecx, eax
add ecx, esi
sub ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x58]
mov edx, dword [esp + 0x24]
imul edx, esi
add eax, edx
mov edx, dword [esp + 0x8c]
sub edx, dword [esp + 0x1c]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
inc dword [esp + 0x18]
dec dword [esp + 0x5c]
jne 0x4a799e
mov esi, dword [esp + 8]
mov edi, dword [ebx + 0x2f4]
sub edi, dword [ebx + 0x2e4]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x40]
cdq
idiv edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4a7b93
inc eax
mov dword [esp + 0x5c], eax
xor ebp, ebp
mov eax, ebp
imul edi
add eax, dword [esp + 0x40]
add eax, edi
cmp eax, dword [esp + 0x50]
jle 0x4a7ade
mov eax, ebp
imul edi
add eax, dword [esp + 0x40]
add eax, edi
sub eax, dword [esp + 0x50]
mov dword [esp + 0x38], eax
jmp 0x4a7ae4
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x284]
add eax, dword [ebx + 0x2f4]
sub eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x280]
add ecx, esi
mov edx, dword [ebx + 0x284]
add edx, dword [ebx + 0x2e4]
mov eax, dword [ebx + 0x280]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x44]
mov edx, ebp
imul edx, edi
add eax, edx
add eax, edi
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x9c]
push eax
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x4c]
mov eax, ebp
imul eax, edi
add edx, eax
mov ecx, dword [esp + 0x80]
add ecx, esi
mov eax, dword [esp + 0x80]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
inc ebp
dec dword [esp + 0x5c]
jne 0x4a7aba
mov esi, dword [esp + 0xc]
mov edi, dword [ebx + 0x2fc]
sub edi, dword [ebx + 0x2ec]
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x48]
cdq
idiv edi
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
test eax, eax
jl 0x4a7c9e
inc eax
mov dword [esp + 0x5c], eax
xor ebp, ebp
mov eax, ebp
imul edi
add eax, dword [esp + 0x48]
add eax, edi
cmp eax, dword [esp + 0x58]
jle 0x4a7be9
mov eax, ebp
imul edi
add eax, dword [esp + 0x48]
add eax, edi
sub eax, dword [esp + 0x58]
mov dword [esp + 0x38], eax
jmp 0x4a7bef
xor eax, eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x284]
add eax, dword [ebx + 0x2fc]
sub eax, dword [esp + 0x38]
push eax
lea eax, [esp + 0x88]
push eax
mov edx, dword [ebx + 0x284]
add edx, dword [ebx + 0x2ec]
mov eax, dword [ebx + 0x288]
sub eax, esi
mov ecx, dword [ebx + 0x288]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x4c]
mov edx, ebp
imul edx, edi
add eax, edx
add eax, edi
sub eax, dword [esp + 0x3c]
push eax
lea eax, [esp + 0x9c]
push eax
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x54]
mov eax, ebp
imul eax, edi
add edx, eax
mov eax, dword [esp + 0x88]
sub eax, esi
mov ecx, dword [esp + 0x88]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
inc ebp
dec dword [esp + 0x5c]
jne 0x4a7bc5
mov eax, dword [ebx + 0x284]
add eax, dword [esp + 0x40]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x280]
add ecx, dword [esp + 0x44]
mov edx, dword [ebx + 0x284]
mov eax, dword [ebx + 0x280]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x7c]
add eax, dword [ebx + 0x2e4]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [esp + 0x80]
add ecx, dword [ebx + 0x2e0]
mov edx, dword [esp + 0x84]
mov eax, dword [esp + 0x80]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
mov eax, dword [ebx + 0x284]
add eax, dword [ebx + 0x2ec]
push eax
lea eax, [esp + 0x88]
push eax
mov eax, dword [ebx + 0x280]
add eax, dword [ebx + 0x2e8]
mov ecx, dword [ebx + 0x288]
mov edx, dword [ebx + 0x284]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x7c]
add eax, dword [esp + 0x4c]
push eax
lea eax, [esp + 0x9c]
push eax
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x88]
mov edx, dword [esp + 0x84]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
mov eax, dword [ebx + 0x28c]
push eax
lea eax, [esp + 0x88]
push eax
mov ecx, dword [ebx + 0x280]
add ecx, dword [ebx + 0x2f0]
mov edx, dword [ebx + 0x284]
add edx, dword [ebx + 0x2f4]
mov eax, dword [ebx + 0x280]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push eax
lea eax, [esp + 0x9c]
push eax
mov ecx, dword [esp + 0x80]
add ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x80]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
mov eax, dword [ebx + 0x28c]
push eax
lea eax, [esp + 0x88]
push eax
mov edx, dword [ebx + 0x284]
add edx, dword [ebx + 0x2fc]
mov eax, dword [ebx + 0x280]
add eax, dword [ebx + 0x2f8]
mov ecx, dword [ebx + 0x288]
call fcn.004158a0
lea eax, [esp + 0x84]
push eax
mov eax, dword [esp + 0x84]
push eax
lea eax, [esp + 0x9c]
push eax
mov edx, dword [esp + 0x84]
add edx, dword [esp + 0x64]
mov eax, dword [esp + 0x80]
add eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x88]
call fcn.004158a0
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 0x27c]
call fcn.004282e0
mov ecx, eax
mov eax, dword [esp + 8]
pop edx
call fcn.004231e0
add esp, 0xa4
pop ebp
pop edi
pop esi
pop ebx
ret