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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x90
mov esi, dword [esp + 0xa4]
mov eax, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
push 0xa
pop edx
lea edi, [esp + 0x30]
mov ebx, dword [esi]
mov dword [edi - 0x18], edx
mov dword [edi - 0x14], ecx
mov dword [edi - 0x10], eax
and dword [edi - 0xc], 0
mov dword [edi - 8], eax
mov dword [edi - 4], 1
mov dword [edi], edx
and dword [edi + 4], 0
mov dword [edi + 8], eax
mov word [edi + 0xc], 1
and dword [edi + 0x10], 0
mov edi, dword [esi + 8]
mov edx, dword [esi + 4]
mov cl, byte [esi + 0xc]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x44], edx
mov byte [esp + 3], cl
mov dword [esp + 0x10], edi
cmp byte [esp + 0x3d], 0
jne 0x40eeb5
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x48], eax
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov dword [esp + 8], edx
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 4]
mov edi, ecx
mov ebx, 0
cmp eax, ecx
lea edx, [edx + esi]
seta cl
sub eax, esi
setb ch
or ch, cl
test ch, ch
mov ecx, edx
cmovne ecx, ebx
cmove ebp, eax
jne 0x40ed24
mov ebx, dword [esp + 8]
cmp eax, 7
mov bl, byte [esp + ebx + 0x2f]
ja 0x40eca5
xor eax, eax
xor edx, edx
cmp ebp, edx
je 0x40ecb1
cmp byte [ecx + edx], bl
je 0x40ecb5
inc edx
jmp 0x40ec99
movzx ecx, bl
push eax
call fcn.00412370
pop ecx
jmp 0x40ecb8
mov edx, ebp
jmp 0x40ecb8
xor eax, eax
inc eax
cmp eax, 1
jne 0x40ed1c
lea eax, [edx + esi + 1]
mov ecx, edi
mov esi, eax
mov dword [esp + 0x24], eax
sub esi, dword [esp + 8]
jb 0x40ec56
cmp eax, ecx
ja 0x40ec56
mov edi, dword [esp + 4]
mov ebx, dword [esp + 8]
lea edx, [esp + 0x30]
add edi, esi
mov ecx, ebx
push 0x45287c
push 4
call fcn.0040eec6
pop ecx
pop ecx
mov dword [esp + 4], eax
mov eax, edx
mov ecx, edi
mov edx, ebx
push eax
push dword [esp + 8]
call fcn.0040eede
pop ecx
pop edx
test al, al
jne 0x40ee94
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
jmp 0x40ec42
mov eax, dword [esp + 0x14]
mov dword [esp + 0x24], eax
cmp byte [esp + 0x3d], 0
mov edi, dword [esp + 0x10]
jne 0x40eeb5
mov byte [esp + 0x3d], 1
cmp byte [esp + 0x3c], 0
je 0x40ed49
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
jmp 0x40ed59
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
cmp esi, eax
je 0x40eeb5
add dword [esp + 4], eax
sub esi, eax
mov eax, dword [esp + 0x40]
cmp byte [esp + 3], 0
lea ecx, [eax + 1]
mov dword [esp + 0x40], ecx
je 0x40eda9
test eax, eax
je 0x40ee79
mov eax, dword [edi + 0x18]
push 0xa
push dword [edi + 0x14]
call dword [eax + 0x10]
add esp, 8
test al, al
jne 0x40eeb9
cmp dword [esp + 0xc], 0
je 0x40ee48
mov eax, dword [edi + 0x18]
push 7
push 0x44b369
jmp 0x40ee52
cmp dword [esp + 0xc], 0
mov eax, dword [esp + 0xa4]
mov byte [eax + 0xc], 1
je 0x40ee5d
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], fcn.0040fa10
push 2
pop eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x58], 0x454d0c
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x70]
and dword [esp + 0x78], 0
mov dword [esp + 0x7c], 5
mov dword [esp + 0x80], 0x20
and dword [esp + 0x84], 0
and dword [esp + 0x88], 0
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 1
mov dword [esp + 0x68], eax
xor eax, eax
inc eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x60], ecx
mov dword [esp + 0x64], eax
lea eax, [esp + 0x58]
mov ecx, dword [edi + 0x14]
mov edx, dword [edi + 0x18]
push eax
call fcn.004113d0
pop ecx
jmp 0x40ee70
mov eax, dword [edi + 0x18]
push 4
push str.______n__n__..___nlibrarycore_src_fmt_num.rs
push dword [edi + 0x14]
call dword [eax + 0xc]
add esp, 0xc
jmp 0x40ee75
mov eax, dword [edi + 0x18]
push 4
push str.______n__n__..___nlibrarycore_src_fmt_num.rs
push dword [edi + 0x14]
call dword [eax + 0xc]
add esp, 0xc
mov byte [esp + 3], 1
test al, al
jne 0x40eeb9
mov eax, dword [edi + 0x18]
push esi
push dword [esp + 8]
push dword [edi + 0x14]
call dword [eax + 0xc]
add esp, 0xc
test al, al
je 0x40ec2b
jmp 0x40eeb9
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x10]
add edx, ecx
sub esi, ecx
mov dword [esp + 0x34], eax
mov dword [esp + 4], edx
jmp 0x40ed5f
xor eax, eax
jmp 0x40eebb
mov al, 1
add esp, 0x90
pop esi
pop edi
pop ebx
pop ebp
ret