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

Disassembly:
sub esp, 0x58
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x84]
add ebp, 1
push esi
mov esi, dword [esp + 0x8c]
adc esi, 0
push edi
mov eax, ebp
sub eax, dword [esp + 0x6c]
mov edi, esi
sbb edi, dword [esp + 0x70]
add eax, 1
adc edi, 0
neg ebx
mov dword [esp + 0x48], eax
mov eax, 1
xor edx, edx
mov ecx, ebx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], esi
mov dword [esp + 0x18], ebx
call fcn.00637030
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
mov eax, ebp
mov edx, esi
mov ecx, ebx
call fcn.00637010
mov esi, dword [esp + 0x3c]
mov ecx, eax
mov eax, dword [esp + 0x38]
add eax, 0xffffffff
mov ebx, eax
mov dword [esp + 0x30], eax
lea edx, [esp + 0x1c]
adc esi, 0xffffffff
push edx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x3c], esi
and esi, dword [esp + 0x64]
add eax, 0x40
mov dword [esp + 0x1c], ecx
and ebx, ebp
call fcn.00626940
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0xac]
mov dword [eax], ecx
add esp, 8
mov dword [edx], 0
cmp dword [eax], 0
jle 0x627faa
mov eax, dword [esp + 0x14]
xor edx, edx
div dword [esp + 0x10]
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x1c], edx
mov edx, dword [ecx]
mov ecx, dword [esp + 0x9c]
add al, 0x30
mov byte [ecx + edx], al
mov eax, dword [esp + 0xa4]
inc dword [eax]
mov ecx, dword [esp + 0xa8]
mov eax, dword [esp + 0x1c]
dec dword [ecx]
mov ecx, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x14], eax
call fcn.00637030
add eax, ebx
adc edx, esi
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
cmp edx, edi
jb 0x6280c2
ja 0x627f8a
cmp eax, dword [esp + 0x48]
jb 0x6280c2
mov eax, 0xcccccccd
mul dword [esp + 0x10]
shr edx, 3
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0xa8]
cmp dword [edx], 0
jg 0x627f22
mov eax, dword [esp + 0x40]
neg eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov ecx, ebx
mov edx, esi
shld esi, ebx, 2
add ebx, ebx
add ebx, ebx
add ebx, ecx
mov ecx, dword [esp + 0x24]
adc esi, edx
mov ebp, ecx
shld ecx, eax, 2
mov edx, eax
add eax, eax
shld esi, ebx, 1
add eax, eax
add ebx, ebx
add edx, eax
mov eax, dword [esp + 0x48]
adc ebp, ecx
shld ebp, edx, 1
add edx, edx
mov dword [esp + 0x20], edx
mov ecx, eax
mov edx, edi
shld edi, eax, 2
add eax, eax
add eax, eax
add ecx, eax
adc edi, edx
shld edi, ecx, 1
add ecx, ecx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x1c]
mov eax, ebx
mov edx, esi
mov dword [esp + 0x24], ebp
call fcn.00637010
mov ebp, dword [esp + 0xa4]
mov ecx, dword [ebp]
mov edx, dword [esp + 0x9c]
and esi, dword [esp + 0x34]
and ebx, dword [esp + 0x30]
add al, 0x30
mov byte [edx + ecx], al
inc dword [ebp]
mov eax, dword [esp + 0xa8]
dec dword [eax]
cmp esi, edi
ja 0x627fb4
jb 0x628059
cmp ebx, dword [esp + 0x48]
jae 0x627fb4
mov edx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x5c]
sub eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x44]
sbb ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x58]
push esi
push ebx
push edi
push edx
mov edx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push edx
push ecx
push eax
call fcn.005f95d0
mov ecx, dword [esp + 0xc0]
push edx
mov edx, dword [esp + 0xc0]
push eax
mov eax, dword [ebp]
push eax
push ecx
push edx
call fcn.00627ba0
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
sub ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x5c]
sbb esi, dword [esp + 0x80]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push 0
push 1
xor edx, edx
call fcn.00637030
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0xb8]
push ecx
mov ecx, dword [eax]
mov eax, dword [esp + 0xb4]
push edi
push edx
mov edx, dword [esp + 0xc0]
push esi
push ebp
push ecx
push edx
push eax
call fcn.00627ba0
add esp, 0x34
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret