Function at 0x51c990
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0xc]
cmp eax, dword [ecx + 8]
jbe 0x51d041
sub esp, 0x8c
mov edx, dword [esp + 0xa0]
mov ebx, dword [edx]
mov dword [esp + 0x2c], ebx
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
mov edi, dword [edx + 0xc]
mov eax, edx
mov edx, dword [edx + 0x10]
mov ecx, edx
mov edx, dword [esp + 0xa4]
mov ebx, dword [edx]
mov dword [esp + 0x18], ebx
mov ebx, dword [edx + 4]
mov dword [esp + 0x14], ebx
mov ebx, dword [edx + 8]
mov dword [esp + 0x10], ebx
mov ebx, dword [edx + 0xc]
mov dword [esp + 0xc], ebx
mov edx, dword [edx + 0x10]
mov dword [esp + 8], edx
jmp 0x51cf6e
mov dword [esp + 0x2c], esi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], edx
mov eax, esi
mov edi, dword [esp + 0x18]
mul edi
mov dword [esp + 0x80], edx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 8]
mul ebx
mov dword [esp + 0x78], edx
mov ebx, 5
mul ebx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
mov edi, dword [esp + 0x7c]
add edi, eax
mov dword [esp + 0x6c], edi
mov eax, ebp
mov edx, dword [esp + 0xc]
mul edx
mov dword [esp + 0x68], edx
mul ebx
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
add edi, eax
mov dword [esp + 0x5c], edi
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
mul ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov eax, ebx
mov ebp, dword [esp + 0x54]
mul ebp
mov dword [esp + 0x54], edx
mov dword [esp + 0x50], eax
add edi, eax
mov eax, dword [esp + 0x90]
mov eax, dword [eax + 0xc]
shr eax, 8
mov ebp, dword [esp + 0x9c]
or eax, ebp
add eax, ecx
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x14]
mul ecx
mov dword [esp + 0x4c], edx
mul ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x44], eax
add eax, edi
mov dword [esp + 0x40], eax
mov eax, esi
mul ecx
mov dword [esp + 0x88], edx
mov ebp, dword [esp + 0x78]
lea ebp, [ebp + ebp*4]
mov ecx, dword [esp + 0x74]
add ecx, ebp
mov ebp, dword [esp + 0x7c]
mov edx, dword [esp + 0x70]
add ebp, edx
mov edx, dword [esp + 0x80]
adc edx, ecx
mov ecx, dword [esp + 0x68]
lea ecx, [ecx + ecx*4]
mov ebp, dword [esp + 0x64]
add ecx, ebp
mov ebp, dword [esp + 0x6c]
mov esi, dword [esp + 0x60]
add ebp, esi
adc edx, ecx
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov ebp, dword [esp + 0x54]
add ecx, ebp
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x50]
add ebp, esi
adc edx, ecx
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
mov ebp, dword [esp + 0x48]
add ecx, ebp
mov ebp, dword [esp + 0x44]
add ebp, edi
adc edx, ecx
mov ecx, edx
shl edx, 6
mov ebp, dword [esp + 0x40]
shr ebp, 0x1a
or edx, ebp
mov dword [esp + 0x80], edx
mov ebp, eax
add eax, edx
mov dword [esp + 0x7c], eax
mov edi, eax
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x18]
mul esi
mov dword [esp + 0x78], edx
mov dword [esp + 0x74], eax
add edi, eax
mov dword [esp + 0x70], edi
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 8]
mul esi
mov dword [esp + 0x6c], edx
mul ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
add edi, eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0xc]
mul esi
mov dword [esp + 0x60], edx
mul ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x58], eax
add eax, edi
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mul esi
mov dword [esp + 0x50], edx
mul ebx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
mov ebx, dword [esp + 0x54]
add eax, ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mul esi
mov dword [esp + 0x54], edx
shr ecx, 0x1a
mov esi, dword [esp + 0x80]
add ebp, esi
mov ebp, dword [esp + 0x88]
adc ecx, ebp
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x74]
add ebp, esi
mov ebp, dword [esp + 0x78]
adc ecx, ebp
mov ebp, dword [esp + 0x6c]
lea ebp, [ebp + ebp*4]
mov esi, dword [esp + 0x68]
add ebp, esi
mov esi, dword [esp + 0x70]
mov edx, dword [esp + 0x64]
add esi, edx
adc ebp, ecx
mov ecx, dword [esp + 0x60]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x5c]
add ecx, edx
mov edx, dword [esp + 0x58]
add edx, edi
adc ebp, ecx
mov ecx, dword [esp + 0x50]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x4c]
add ecx, edx
mov edx, dword [esp + 0x48]
add edx, ebx
adc ecx, ebp
mov dword [esp + 0x84], ecx
shl ecx, 6
mov ebx, dword [esp + 0x3c]
shr ebx, 0x1a
or ecx, ebx
mov ebx, eax
add eax, ecx
mov dword [esp + 0x80], eax
mov esi, eax
mov eax, dword [esp + 0x28]
mov edi, dword [esp + 0x14]
mul edi
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
add esi, eax
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x18]
mul ebp
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
add esi, eax
mov dword [esp + 0x68], esi
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 8]
mul ebp
mov dword [esp + 0x64], edx
mov ebp, 5
mul ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x5c], eax
add esi, eax
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0xc]
mul edi
mov dword [esp + 0x58], edx
mul ebp
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], eax
add eax, esi
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x2c]
mul edi
mov dword [esp + 0x48], edx
mov edi, dword [esp + 0x84]
shr edi, 0x1a
add ebx, ecx
mov ecx, dword [esp + 0x54]
adc edi, ecx
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x78]
add ecx, ebx
mov ecx, dword [esp + 0x7c]
adc edi, ecx
mov ecx, dword [esp + 0x74]
mov ebx, dword [esp + 0x6c]
add ecx, ebx
mov ecx, dword [esp + 0x70]
adc edi, ecx
mov ecx, dword [esp + 0x64]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x60]
add ecx, ebx
mov ebx, dword [esp + 0x68]
mov edx, dword [esp + 0x5c]
add ebx, edx
adc edi, ecx
mov ecx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov edx, dword [esp + 0x50]
add ecx, edx
mov edx, dword [esp + 0x4c]
add edx, esi
adc edi, ecx
mov ecx, edi
shl edi, 6
mov esi, dword [esp + 0x38]
shr esi, 0x1a
or edi, esi
mov ebx, eax
add eax, edi
mov dword [esp + 0x80], eax
mov esi, eax
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x10]
mul edx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
add esi, eax
mov dword [esp + 0x74], esi
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x14]
mul edx
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
add esi, eax
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mul edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x64], eax
add eax, esi
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 8]
mul edx
mov dword [esp + 0x5c], edx
mul ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
mov ebp, dword [esp + 0x60]
add ebp, eax
mov dword [esp + 0x34], ebp
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 8]
mul ebp
mov dword [esp + 0x50], edx
shr ecx, 0x1a
add ebx, edi
mov ebx, dword [esp + 0x48]
adc ecx, ebx
mov ebx, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
add ebx, edi
mov ebx, dword [esp + 0x7c]
adc ecx, ebx
mov ebx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
add ebx, edi
mov ebx, dword [esp + 0x70]
adc ecx, ebx
mov ebx, dword [esp + 0x64]
add ebx, esi
mov ebx, dword [esp + 0x68]
adc ecx, ebx
mov ebx, dword [esp + 0x5c]
lea ebx, [ebx + ebx*4]
mov esi, dword [esp + 0x58]
add ebx, esi
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
add esi, edi
adc ecx, ebx
mov ebx, ecx
shl ecx, 6
mov edi, dword [esp + 0x34]
shr edi, 0x1a
or ecx, edi
mov edi, eax
add eax, ecx
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
mov ebp, dword [esp + 0xc]
mul ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x78], eax
mov ebp, dword [esp + 0x80]
add ebp, eax
mov dword [esp + 0x74], ebp
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mul esi
mov dword [esp + 0x70], edx
mov dword [esp + 0x6c], eax
add ebp, eax
mov dword [esp + 0x68], ebp
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
mul esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], eax
add ebp, eax
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mul esi
mov dword [esp + 0x5c], eax
add eax, ebp
mov dword [esp + 0x30], eax
shr ebx, 0x1a
add edi, ecx
mov ecx, dword [esp + 0x50]
adc ebx, ecx
mov ecx, dword [esp + 0x80]
mov edi, dword [esp + 0x78]
add ecx, edi
mov ecx, dword [esp + 0x7c]
adc ebx, ecx
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x6c]
add ecx, edi
mov ecx, dword [esp + 0x70]
adc ebx, ecx
mov ecx, dword [esp + 0x68]
mov edi, dword [esp + 0x60]
add ecx, edi
mov ecx, dword [esp + 0x64]
adc ebx, ecx
mov ecx, dword [esp + 0x5c]
add ecx, ebp
adc edx, ebx
mov ecx, dword [esp + 0x40]
and ecx, 0x3ffffff
mov ebx, dword [esp + 0x3c]
and ebx, 0x3ffffff
mov ebp, dword [esp + 0x38]
and ebp, 0x3ffffff
mov edi, dword [esp + 0x34]
and edi, 0x3ffffff
and eax, 0x3ffffff
mov dword [esp + 0x1c], eax
shl edx, 6
mov esi, dword [esp + 0x30]
shr esi, 0x1a
or edx, esi
lea edx, [edx + edx*4]
add ecx, edx
mov edx, ecx
shr ecx, 0x1a
add ecx, ebx
and edx, 0x3ffffff
mov ebx, dword [esp + 0x98]
add ebx, 0xfffffff0
mov esi, ebx
neg ebx
sar ebx, 0x1f
and ebx, 0x10
mov eax, dword [esp + 0x90]
add eax, ebx
mov ebx, dword [esp + 0x94]
add ebx, 0xfffffff0
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], esi
mov dword [esp + 0x2c], edx
mov esi, ebp
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0xc]
mov ebp, ecx
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x94]
cmp ebx, 0x10
jl 0x51cff7
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], esi
mov edx, dword [esp + 0x90]
mov edi, dword [edx]
and edi, 0x3ffffff
mov esi, dword [esp + 0x2c]
add esi, edi
lea edi, [ebx - 3]
cmp edi, 3
jbe 0x51d034
mov edi, dword [edx + 3]
shr edi, 2
and edi, 0x3ffffff
add ebp, edi
lea edi, [ebx - 6]
cmp edi, 3
jbe 0x51d028
mov dword [esp + 0x28], ebp
mov edi, dword [edx + 6]
shr edi, 4
and edi, 0x3ffffff
mov ebp, dword [esp + 0x24]
add ebp, edi
lea edi, [ebx - 9]
cmp edi, 3
jbe 0x51d01c
mov edi, dword [edx + 9]
shr edi, 6
and edi, 0x3ffffff
mov edx, dword [esp + 0x20]
add edx, edi
lea edi, [ebx - 0xc]
cmp edi, 3
ja 0x51c9fb
jmp 0x51d010
mov edx, dword [esp + 0x2c]
mov dword [eax], edx
mov dword [eax + 4], ebp
mov dword [eax + 8], esi
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], ecx
add esp, 0x8c
ret
mov eax, 3
mov ecx, edi
call fcn.0045e2a0
mov eax, 3
mov ecx, edi
call fcn.0045e2a0
mov eax, 3
mov ecx, edi
call fcn.0045e2a0
mov eax, 3
mov ecx, edi
call fcn.0045e2a0
nop
call fcn.0045ccc0
jmp fcn.0051c990