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

Disassembly:
sub esp, 0x24
push ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x18]
lea ecx, [eax*4 + 8]
mov eax, dword [0x96187c]
push ebp
mov byte [eax + 0x10], 1
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x96187c]
mov ebp, dword [ecx + 0xc]
xor edx, edx
push esi
push edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], eax
add ebp, eax
mov edi, edi
mov ecx, dword [ebx + 0x14]
mov edi, eax
lea eax, [eax + ecx + 0x90]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x18], eax
add eax, ecx
mov dword [esp + 0x14], eax
lea esp, [esp]
mov esi, dword [esp + 0x20]
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x28], eax
add eax, esi
mov dword [esp + 0x2c], eax
lea eax, [eax + ecx + 4]
cmp eax, ebp
jbe 0x54bda8
mov edx, dword [esp + 0x18]
cmp edx, ebp
jae 0x54bd5d
cmp dword [esp + 0x14], ebp
jb 0x54bd12
mov esi, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
shl esi, 1
sub esi, ebp
add esi, eax
mov ebx, edx
mov edx, dword [esp + 0x20]
add esi, ebx
add ecx, esi
lea ebx, [ecx + edx + 4]
mov ecx, dword [0x9617f0]
mov edx, dword [ecx + 0xc]
lea eax, [ebx + 0xf]
and eax, 0xfffffff0
cmp eax, edx
mov dword [esp + 0x28], ebx
jle 0x54bcd8
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
jmp 0x54bcf1
mov ebx, dword [ecx + 8]
mov dword [esp + 0x2c], ebx
add ebx, eax
sub edx, eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x48]
sub ebp, dword [ecx + 8]
mov dword [esp + 0x14], ebp
lea ebp, [eax + ebx]
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], eax
add eax, esi
mov ebx, ecx
xor edx, edx
jmp 0x54bc70
lea ebp, [ecx + esi + 4]
mov ecx, dword [0x9617f0]
mov edx, dword [ecx + 0xc]
lea eax, [ebp + 0xf]
and eax, 0xfffffff0
cmp eax, edx
jle 0x54bd3c
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
add ebp, eax
mov dword [esp + 0x10], eax
xor edx, edx
jmp 0x54bc70
mov esi, dword [ecx + 8]
lea ebx, [esi + eax]
sub edx, eax
mov eax, esi
mov dword [ecx + 8], ebx
mov ebx, dword [esp + 0x48]
mov dword [ecx + 0xc], edx
add ebp, eax
mov dword [esp + 0x10], eax
xor edx, edx
jmp 0x54bc70
sub eax, dword [esp + 0x30]
mov ecx, dword [0x9617f0]
mov edx, dword [ecx + 0xc]
mov edi, eax
lea eax, [edi + 0xf]
and eax, 0xfffffff0
cmp eax, edx
jle 0x54bd8a
mov edx, dword [ecx]
push eax
call dword [edx + 0x24]
mov dword [esp + 0x10], eax
lea ebp, [eax + edi]
xor edx, edx
jmp 0x54bc50
mov esi, dword [ecx + 8]
lea ebp, [esi + eax]
sub edx, eax
mov eax, esi
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], edx
mov dword [esp + 0x10], eax
lea ebp, [eax + edi]
xor edx, edx
jmp 0x54bc50
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov byte [edi], 2
mov dword [edi + 0x3c], edx
mov dword [edi + 0x38], edx
mov dword [edi + 0x34], edx
mov dword [edi + 0x30], edx
mov dword [edi + 0x1c], edx
mov dword [edi + 0x18], edx
mov dword [edi + 0x14], edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x2c], edx
mov dword [edi + 0x28], edx
mov dword [edi + 0x24], edx
mov dword [edi + 0x20], edx
mov dword [edi + 0x4c], edx
mov dword [edi + 0x48], edx
mov dword [edi + 0x44], edx
mov dword [edi + 0x40], edx
mov dword [edi + 0x5c], edx
mov dword [edi + 0x58], edx
mov dword [edi + 0x54], edx
mov dword [edi + 0x50], edx
lea esi, [ecx + eax*4]
cmp ecx, esi
mov dword [edi + 0x6c], edx
mov dword [edi + 0x68], edx
mov dword [edi + 0x64], edx
mov dword [edi + 0x60], edx
lea eax, [edi + 0x80]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x20], esi
mov dword [edi + 0x7c], edx
mov dword [edi + 0x78], edx
mov dword [edi + 0x74], edx
mov dword [edi + 0x70], edx
mov dword [esp + 0x30], eax
jae 0x54be50
mov esi, ecx
mov ecx, dword [esi]
mov ecx, dword [ecx + 0x3c]
mov edx, eax
sub edx, edi
cmp dword [ecx + 8], edx
je 0x54be33
mov dword [ecx + 8], edx
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x40]
push eax
call dword [edx + 0xc]
mov ecx, dword [esp + 0x20]
add esi, 4
cmp esi, ecx
jb 0x54be22
xor edx, edx
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x54]
mov byte [eax], 3
mov eax, dword [esp + 0x58]
mov dword [esp + 0x48], ecx
lea ecx, [esi + eax*4]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x18], eax
cmp esi, dword [esp + 0x50]
mov dword [esp + 0x1c], ecx
jae 0x54bed7
mov eax, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, dword [edx + 0x3c]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x3c]
mov edx, dword [edx + 8]
mov eax, dword [esp + 0x40]
add edx, edi
mov dword [eax], edx
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x18]
add ecx, edi
mov dword [eax + 4], ecx
cmp edx, dword [esp + 0x48]
jb 0x54bebb
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [esi]
mov edx, dword [ecx]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esi]
push eax
call dword [edx + 0x24]
mov eax, dword [esp + 0x50]
add esi, 4
cmp esi, eax
jb 0x54be80
xor edx, edx
mov eax, dword [esp + 0x1c]
mov dword [eax], 0x400
mov ecx, dword [ebx + 0x18]
xor eax, eax
cmp ecx, edx
jle 0x54beff
lea ebx, [ebx]
mov ecx, dword [esp + 0x28]
mov dword [ecx + eax*4], edx
mov ecx, dword [ebx + 0x18]
inc eax
cmp eax, ecx
jl 0x54bef0
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x3c]
push edx
push edi
push eax
push esi
call fcn.005f16f0
mov ecx, dword [0x96186c]
mov edx, dword [0x961870]
add esp, 0x10
cmp ecx, edx
jae 0x54bf3c
mov dword [ecx], str.MiNumJacobians
fild dword [ebx + 0x18]
add ecx, 8
fstp dword [ecx - 4]
mov dword [0x96186c], ecx
cmp eax, 1
jne 0x54bf78
mov ecx, dword [esi + 0x20]
mov esi, dword [esp + 0x4c]
mov edi, dword [esp + 0x20]
cmp esi, edi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x48], ecx
jae 0x54bf78
mov ebx, ecx
lea ebx, [ebx]
mov edx, dword [esi]
mov ecx, dword [edx + 0x3c]
mov edx, dword [ecx]
push eax
mov eax, dword [esp + 0x3c]
push ebx
push eax
call dword [edx + 0x10]
add esi, 4
cmp esi, edi
jb 0x54bf60
mov eax, dword [esp + 0x10]
test eax, eax
mov ecx, dword [0x96187c]
mov byte [ecx + 0x10], 0
je 0x54bfc4
mov ecx, dword [0x9617f0]
sub ebp, eax
add ebp, 0xf
and ebp, 0xfffffff0
je 0x54bfb4
mov edx, dword [ecx + 0x14]
cmp eax, edx
je 0x54bfa5
test edx, edx
jne 0x54bfb4
mov edx, dword [ecx]
push ebp
push eax
call dword [edx + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
mov edx, dword [ecx + 8]
mov eax, dword [ecx + 0xc]
sub edx, ebp
add eax, ebp
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret