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

Disassembly:
sub esp, 0x40
mov eax, dword [esp + 0x64]
push ebx
push ebp
push esi
inc eax
push edi
push eax
call fcn.004783d0
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x60]
push ecx
mov ebp, eax
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x84], ebp
call fcn.00462d20
mov edx, dword [esp + 0x74]
lea ecx, [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004b41a0
mov edi, 1
lea ecx, [esp + 0x3c]
push edi
push ecx
call fcn.004b2050
mov ecx, dword [esp + 0x90]
mov eax, 0x4ec4ec4f
mul ecx
mov ebx, edx
mov eax, ecx
xor edx, edx
mov ecx, 0xd
div ecx
add esp, 0x24
shr ebx, 2
test edx, edx
je 0x488952
mov ecx, dword [edx*4 + 0x594d90]
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004b4350
add esp, 0xc
test ebx, ebx
je 0x48897c
mov esi, 0x5df118
test bl, 1
je 0x488973
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x24]
push esi
push ecx
call fcn.004b4410
add esp, 0xc
sar ebx, 1
add esi, 0x10
test ebx, ebx
jne 0x48895b
mov eax, dword [esp + 0x68]
lea edx, [esp + 0x20]
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.004b41a0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.004b52a0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x4889d2
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push 0xa
push edx
call fcn.004b4350
mov eax, dword [esp + 0x88]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x7c]
add esp, 0xc
dec eax
mov dword [esp + 0x70], eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00489ae0
lea edx, [esp + 0x34]
push edx
call fcn.00489ae0
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x3c]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.004b4ce0
mov eax, dword [esp + 0x48]
add esp, 0x18
cmp eax, edi
jg 0x488a13
mov ecx, dword [esp + 0x3c]
cmp dword [ecx], 0xa
jb 0x488a20
push str.wrong_digit_
call fcn.00406da0
add esp, 4
mov edx, dword [esp + 0x3c]
mov ebx, dword [edx]
mov al, bl
add al, 0x30
mov byte [ebp], al
mov eax, dword [esp + 0x78]
inc ebp
cmp eax, 1
mov dword [esp + 0x68], edi
jg 0x488aaf
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push 1
push edx
call fcn.004b41a0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004b52a0
add esp, 0x14
cmp eax, 0xffffffff
je 0x488c2c
test eax, eax
je 0x488a82
cmp eax, 1
je 0x488a8d
push str.in_ShouldBankerRoundUp__trichotomy_fails_
call fcn.00406da0
add esp, 4
jmp 0x488c2c
and ebx, 1
test ebx, ebx
je 0x488c2c
mov al, byte [ebp - 1]
dec ebp
cmp al, 0x39
jne 0x488aa7
cmp ebp, dword [esp + 0x74]
je 0x488c92
mov al, byte [ebp - 1]
dec ebp
cmp al, 0x39
je 0x488a95
inc byte [ebp]
jmp 0x488c2b
mov ebx, dword [esp + 0x78]
sub ebx, edi
cmp ebx, 8
jle 0x488abf
mov ebx, 8
mov esi, dword [esp + 0x6c]
cmp esi, ebx
jl 0x488aeb
mov eax, dword [ebx*4 + 0x594d90]
push 0
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004b4b00
add esp, 0x10
sub esi, ebx
mov dword [esp + 0x6c], esi
jmp 0x488b4a
test esi, esi
jle 0x488b30
mov eax, dword [esi*4 + 0x594d90]
push 0
lea edx, [esp + 0x24]
push edx
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.004b4b00
mov eax, ebx
lea edx, [esp + 0x20]
push edx
sub eax, esi
mov ecx, dword [eax*4 + 0x594d90]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004b4350
add esp, 0x1c
mov dword [esp + 0x6c], 0
jmp 0x488b4a
mov ecx, dword [ebx*4 + 0x594d90]
lea eax, [esp + 0x10]
push eax
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.004b4350
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x14]
push ebx
push ecx
call fcn.004b41a0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004b4ce0
mov eax, dword [esp + 0x4c]
add esp, 0x1c
cmp eax, 1
jle 0x488b8c
push str.wrong_digit_
call fcn.00406da0
add esp, 4
mov eax, dword [esp + 0x3c]
mov esi, dword [eax]
lea eax, [ebx - 1]
test eax, eax
jl 0x488bcb
lea edi, [eax*4 + 0x594e80]
inc eax
mov dword [esp + 0x64], eax
mov ecx, dword [edi]
mov eax, esi
cdq
idiv ecx
sub edi, 4
add al, 0x30
mov byte [ebp], al
mov eax, esi
cdq
idiv ecx
mov eax, dword [esp + 0x64]
inc ebp
dec eax
mov dword [esp + 0x64], eax
mov esi, edx
jne 0x488ba5
mov edi, dword [esp + 0x68]
mov eax, dword [esp + 0x78]
add edi, ebx
cmp edi, eax
mov dword [esp + 0x68], edi
jne 0x488aaf
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x14]
push 1
push edx
call fcn.004b41a0
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x20]
push ecx
call fcn.004b52a0
add esp, 0x14
cmp eax, 0xffffffff
je 0x488c1b
test eax, eax
je 0x488c6a
cmp eax, 1
je 0x488c71
push str.in_ShouldBankerRoundUp__trichotomy_fails_
call fcn.00406da0
add esp, 4
mov al, byte [ebp - 1]
dec ebp
cmp al, 0x30
jne 0x488c2b
mov al, byte [ebp - 1]
dec ebp
cmp al, 0x30
je 0x488c23
inc ebp
push 0
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.004b5340
mov eax, dword [esp + 0x90]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x7c]
add esp, 0xc
test eax, eax
mov byte [ebp], 0
mov dword [ecx], edx
je 0x488c5e
mov dword [eax], ebp
mov eax, dword [esp + 0x74]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
and esi, 1
test esi, esi
je 0x488c1b
mov al, byte [ebp - 1]
dec ebp
cmp al, 0x39
jne 0x488aa7
cmp ebp, dword [esp + 0x74]
je 0x488c92
mov al, byte [ebp - 1]
dec ebp
cmp al, 0x39
je 0x488c7d
inc al
mov byte [ebp], al
jmp 0x488c2b
inc dword [esp + 0x70]
mov byte [ebp], 0x31
jmp 0x488c2b