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

Disassembly:
sub esp, 0x9c
pushal
mov eax, dword [eax + 0x193]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x84], eax
mov ecx, dword [ebx]
mov dword [esp + 0x98], ecx
mov ebp, dword [ebx + 4]
mov dword [esp + 0xb4], ebp
mov eax, dword [ebx + 8]
mov dword [esp + 0x80], eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x20], edi
mov edx, dword [ebx + 0x10]
mov dword [esp + 0x54], edx
mov eax, dword [ebx + 0x14]
cmp ebp, ecx
jle 0x4c1754
mov esi, ecx
mov dword [esp + 0x7c], esi
cmp esi, ebp
jg 0x4c1754
mov esi, edx
shl esi, 1
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 0x78], esi
cmp esi, edi
jg 0x4c165a
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
mov edx, dword [edx + esi*4]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x78]
shl edx, 6
add edx, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
lea edx, [esi + edx]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x54]
mov esi, edx
mov dword [esp + 0x5c], esi
cmp esi, eax
jg 0x4c164f
mov esi, dword [esp + 0x58]
add esi, 2
mov dword [esp + 0x58], esi
cmp word [esi - 2], 0
je 0x4c1644
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x98], ecx
mov dword [ebx], ecx
jmp 0x4c1754
mov esi, dword [esp + 0x5c]
inc esi
mov dword [esp + 0x5c], esi
jmp 0x4c161c
mov esi, dword [esp + 0x78]
inc esi
mov dword [esp + 0x78], esi
jmp 0x4c15dd
mov esi, dword [esp + 0x7c]
inc esi
mov dword [esp + 0x7c], esi
jmp 0x4c15bf
mov esi, dword [esp + 0x50]
inc esi
mov dword [esp + 0x50], esi
jmp 0x4c17c2
mov esi, dword [esp + 0x74]
inc esi
mov dword [esp + 0x74], esi
jmp 0x4c1781
dec ecx
jmp 0x4c176b
mov ecx, dword [esp + 0x44]
inc ecx
mov dword [esp + 0x44], ecx
jmp 0x4c184f
mov ecx, dword [esp + 0x48]
inc ecx
mov dword [esp + 0x48], ecx
jmp 0x4c1810
mov ecx, dword [esp + 0x70]
inc ecx
mov dword [esp + 0x70], ecx
jmp 0x4c1801
mov ecx, dword [esp + 0x38]
inc ecx
mov dword [esp + 0x38], ecx
jmp 0x4c18d3
mov ecx, dword [esp + 0x3c]
inc ecx
mov dword [esp + 0x3c], ecx
jmp 0x4c1894
mov ecx, dword [esp + 0x6c]
dec ecx
mov dword [esp + 0x6c], ecx
jmp 0x4c1885
mov ecx, dword [esp + 0x2c]
inc ecx
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x90]
lea edi, [edi + 0x40]
mov dword [esp + 0x90], edi
jmp 0x4c195c
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
jmp 0x4c1920
mov ecx, dword [esp + 0x64]
inc ecx
mov dword [esp + 0x64], ecx
jmp 0x4c1911
mov ecx, dword [esp + 0x24]
inc ecx
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x94]
lea edi, [edi + 0x40]
mov dword [esp + 0x94], edi
jmp 0x4c19d9
mov ecx, dword [esp + 0x28]
inc ecx
mov dword [esp + 0x28], ecx
jmp 0x4c199d
mov ecx, dword [esp + 0x60]
dec ecx
mov dword [esp + 0x60], ecx
jmp 0x4c198e
cmp ebp, ecx
pushfd
mov ecx, edx
shl ecx, 1
mov dword [esp + 0xa0], ecx
popfd
jle 0x4c17ec
mov ecx, ebp
mov esi, dword [esp + 0x98]
cmp ecx, esi
jl 0x4c17ec
mov esi, dword [esp + 0x80]
mov dword [esp + 0x74], esi
cmp esi, edi
jg 0x4c1684
mov edx, ecx
mov esi, dword [esp + 0x84]
mov edx, dword [esi + edx*4]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x74]
shl edx, 6
add edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
lea edx, [esi + edx]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x54]
mov esi, edx
mov dword [esp + 0x50], esi
cmp esi, eax
jg 0x4c1676
mov esi, dword [esp + 0x4c]
add esi, 2
mov dword [esp + 0x4c], esi
cmp word [esi - 2], 0
je 0x4c1668
mov ebp, ecx
mov dword [esp + 0xb4], ebp
mov dword [ebx + 4], ebp
mov esi, dword [esp + 0x80]
cmp edi, esi
jle 0x4c187b
mov ecx, esi
mov dword [esp + 0x70], ecx
cmp ecx, edi
jg 0x4c187b
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x48], ecx
cmp ecx, ebp
jg 0x4c16a6
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0xa4], ecx
mov ecx, dword [esp + 0x70]
shl ecx, 6
add ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa4]
lea ecx, [edx + ecx]
mov dword [esp + 0x40], ecx
mov edx, dword [esp + 0x54]
mov ecx, edx
mov dword [esp + 0x44], ecx
cmp ecx, eax
jg 0x4c1698
mov ecx, dword [esp + 0x40]
add ecx, 2
mov dword [esp + 0x40], ecx
cmp word [ecx - 2], 0
je 0x4c168a
mov esi, dword [esp + 0x70]
mov dword [esp + 0x80], esi
mov dword [ebx + 8], esi
cmp edi, esi
jle 0x4c18fc
mov ecx, edi
mov dword [esp + 0x6c], ecx
cmp ecx, esi
jl 0x4c18fc
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x3c], ecx
cmp ecx, ebp
jg 0x4c16d0
mov edx, dword [esp + 0x84]
mov ecx, dword [edx + ecx*4]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x6c]
shl ecx, 6
add ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa8]
lea ecx, [edx + ecx]
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x54]
mov ecx, edx
mov dword [esp + 0x38], ecx
cmp ecx, eax
jg 0x4c16c2
mov ecx, dword [esp + 0x34]
add ecx, 2
mov dword [esp + 0x34], ecx
cmp word [ecx - 2], 0
je 0x4c16b4
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x20], edi
mov dword [ebx + 0xc], edi
cmp eax, edx
pushfd
mov ecx, esi
shl ecx, 6
mov dword [esp + 0x6c], ecx
popfd
jle 0x4c1984
mov ecx, edx
mov dword [esp + 0x64], ecx
cmp ecx, eax
jg 0x4c1984
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x30], ecx
cmp ecx, ebp
jg 0x4c170b
mov edi, dword [esp + 0x84]
mov ecx, dword [edi + ecx*4]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
shl edi, 1
add ecx, edi
mov edi, dword [esp + 0xac]
lea ecx, [edi + ecx]
mov dword [esp + 0x90], ecx
mov ecx, esi
mov dword [esp + 0x2c], ecx
mov edi, dword [esp + 0x20]
cmp ecx, edi
jg 0x4c16fd
mov ecx, dword [esp + 0x90]
cmp word [ecx], 0
je 0x4c16de
mov edx, dword [esp + 0x64]
mov dword [esp + 0x54], edx
mov dword [ebx + 0x10], edx
cmp eax, edx
jle 0x4c19fd
mov ecx, eax
mov dword [esp + 0x60], ecx
cmp ecx, edx
jl 0x4c19fd
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x28], ecx
cmp ecx, ebp
jg 0x4c1746
mov edi, dword [esp + 0x84]
mov ecx, dword [edi + ecx*4]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
shl edi, 1
add ecx, edi
mov edi, dword [esp + 0xb0]
lea ecx, [edi + ecx]
mov dword [esp + 0x94], ecx
mov ecx, esi
mov dword [esp + 0x24], ecx
mov edi, dword [esp + 0x20]
cmp ecx, edi
jg 0x4c1738
mov ecx, dword [esp + 0x94]
cmp word [ecx], 0
je 0x4c1719
mov eax, dword [esp + 0x60]
mov dword [ebx + 0x14], eax
mov ecx, dword [esp + 0x98]
sub ebp, ecx
shl ebp, 3
shl ebp, 1
sub edi, esi
shl edi, 2
imul edi, edi, 3
mov esi, eax
sub esi, edx
shl esi, 3
mov edx, ebp
imul edx, ebp
mov ebp, edi
imul ebp, edi
add edx, ebp
mov edi, esi
imul edi, esi
add edx, edi
mov dword [ebx + 0x18], edx
mov edx, 0
mov esi, dword [esp + 0xb4]
cmp ecx, esi
jg 0x4c1a97
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x20]
cmp esi, edi
jg 0x4c1a94
mov edi, ecx
mov ebp, dword [esp + 0x84]
mov edi, dword [ebp + edi*4]
mov dword [esp + 0xb8], edi
mov edi, esi
shl edi, 6
mov ebp, dword [esp + 0x54]
shl ebp, 1
add edi, ebp
mov ebp, dword [esp + 0xb8]
lea ebp, [ebp + edi]
mov edi, dword [esp + 0x54]
cmp edi, eax
jg 0x4c1a91
cmp word [ebp], 0
je 0x4c1a8b
inc edx
inc edi
add ebp, 2
jmp 0x4c1a7f
inc esi
jmp 0x4c1a47
inc ecx
jmp 0x4c1a35
mov dword [ebx + 0x1c], edx
popal
add esp, 0x9c
ret