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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea esi, [esp + 0x48]
push 6
push str..llvm._home_hagb_.cargo_registry_src_index.crates.io_6f17d22bba15001f_rustc_demangle_0.1.23_src_lib.rs
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call fcn.00411a15
add esp, 0x14
cmp dword [esi], 0
je 0x40b39c
mov eax, dword [esp + 0x84]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x6c]
mov esi, eax
mov edi, edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x20], ebx
sub esi, ecx
neg edi
mov dword [esp + 0x2c], esi
mov esi, dword [esp + 0x78]
mov dword [esp + 0x30], edi
mov edi, dword [esp + 0x7c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x80]
mov dword [esp + 4], edi
mov edi, dword [esp + 0x64]
mov dword [esp + 0x10], esi
mov esi, eax
dec eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, ebx
cmp edx, eax
mov ecx, eax
cmova ecx, edx
cmp ebx, 0xffffffff
cmove ecx, edx
mov dword [esp + 0x28], ecx
mov ecx, 0
cmove eax, ecx
mov ecx, edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x1c]
add eax, ecx
cmp eax, dword [esp + 4]
jae 0x40b463
mov edx, dword [esp + 8]
mov edi, ecx
mov cl, byte [edx + eax]
xor eax, eax
xor ebx, ebx
inc ebx
shld eax, ebx, cl
shl ebx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, ebx
cmovne ebx, ecx
and eax, dword [esp + 0x24]
and ebx, dword [esp + 0x18]
or ebx, eax
je 0x40b324
mov ebx, dword [esp + 0x28]
lea ecx, [edx + edi]
cmp ebx, esi
jae 0x40b337
lea eax, [edi + ebx]
cmp eax, dword [esp + 4]
jae 0x40b62b
mov edx, dword [esp + 0x10]
lea eax, [ebx + 1]
mov dl, byte [edx + ebx]
cmp dl, byte [ecx + ebx]
mov ebx, eax
je 0x40b2ef
mov ecx, edi
mov ebx, dword [esp + 0x20]
sub ecx, dword [esp + 0x14]
add ecx, eax
cmp ebx, 0xffffffff
je 0x40b2ab
jmp 0x40b38b
mov ebx, dword [esp + 0x20]
add edi, esi
mov ecx, edi
cmp ebx, 0xffffffff
je 0x40b2ab
jmp 0x40b391
mov ecx, dword [esp + 0x14]
cmp dword [esp + 0xc], ecx
jae 0x40b420
dec ecx
cmp ecx, esi
jae 0x40b642
lea eax, [ecx + edi]
cmp eax, dword [esp + 4]
jae 0x40b64e
mov edx, dword [esp + 0x10]
mov bl, byte [edx + ecx]
mov edx, dword [esp + 8]
cmp bl, byte [edx + eax]
je 0x40b33b
add edi, dword [esp + 0x34]
mov ebx, dword [esp + 0x20]
cmp ebx, 0xffffffff
mov ecx, edi
je 0x40b2ab
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x14]
jmp 0x40b28c
add edi, dword [esp + 0x30]
add edi, eax
mov edx, dword [esp + 0x14]
xor eax, eax
jmp 0x40b28c
cmp byte [esp + 0x54], 0
mov al, byte [esp + 0x56]
mov ecx, dword [esp + 0x78]
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x7c]
sete bl
mov byte [esp + 4], al
mov dword [esp + 0x10], ecx
cmp byte [esp + 4], 0
jne 0x40b463
mov ecx, dword [esp + 0x10]
mov edx, esi
push 0x425714
push edi
call fcn.0040b155
pop ecx
pop ecx
lea ecx, [esp + 0x38]
add edx, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
call fcn.0040b17d
test bl, 1
je 0x40b420
cmp eax, 0x110000
je 0x40b463
cmp eax, 0x80
mov ecx, 1
jb 0x40b41a
cmp eax, 0x800
push 2
pop ecx
jb 0x40b41a
cmp eax, 0x10000
push 4
pop ecx
sbb ecx, 0
add edi, ecx
xor ebx, ebx
jmp 0x40b3bc
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
lea eax, [edi + 6]
push 0x42578c
push eax
call fcn.0040b155
pop ecx
pop ecx
lea esi, [esp + 0x48]
add edx, eax
mov dword [esi], eax
mov dword [esi + 4], edx
mov ecx, esi
call fcn.0040b17d
cmp eax, 0x110000
je 0x40b4d8
lea ecx, [eax - 0x40]
cmp ecx, 7
jb 0x40b441
add eax, 0xffffffd0
cmp eax, 0xa
jb 0x40b441
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
push edi
push esi
lea eax, [esp + 0x50]
push eax
call fcn.0040b8db
add esp, 0xc
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], edi
test eax, eax
mov dword [esp + 8], eax
je 0x40b4a8
mov edx, dword [esp + 0x50]
xor edi, edi
mov ecx, dword [esp + 0x4c]
inc edi
mov dword [esp + 4], edi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x54]
jmp 0x40b511
mov eax, esi
lea esi, [esp + 0x38]
push edi
push eax
push esi
call fcn.0040c5d0
add esp, 0xc
mov ecx, dword [esi]
test ecx, ecx
je 0x40b4fb
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
xor eax, eax
inc eax
mov dword [esp + 4], eax
jmp 0x40b50a
test edi, edi
je 0x40b60a
cmp edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
jae 0x40b614
cmp byte [esi + edi], 0xbf
jg 0x40b469
jmp 0x40b61a
mov edx, 0x42563c
xor edi, edi
mov dword [esp + 4], 0
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 8]
test edi, edi
je 0x40b59a
mov dword [esp + 0x18], ecx
push 0x2e
push edi
push edx
mov ebx, edx
call fcn.0040abc7
add esp, 0xc
test al, al
je 0x40b5a4
lea esi, [esp + 0x48]
lea eax, [ebx + edi]
mov dword [esp + 0x24], ebx
mov dword [esi], ebx
mov ebx, dword [ebp + 8]
mov dword [esi + 4], eax
mov ecx, esi
call fcn.0040b17d
cmp eax, 0x110000
je 0x40b5c6
lea ecx, [eax - 0x21]
cmp ecx, 0x19
jb 0x40b542
mov ecx, eax
and ecx, 0x1fffdf
add ecx, 0xffffffbf
cmp ecx, 0x1a
jb 0x40b542
lea ecx, [eax - 0x3a]
cmp ecx, 7
jb 0x40b542
lea ecx, [eax - 0x5b]
cmp ecx, 6
jb 0x40b542
add eax, 0xffffff81
cmp eax, 0xfffffffb
ja 0x40b542
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov edx, 0x42563c
mov dword [esp + 0xc], 0
jmp 0x40b5bc
mov dword [esp + 0xc], 0
jmp 0x40b5d9
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov ebx, dword [ebp + 8]
mov dword [esp + 0xc], 0
mov edx, 0x42563c
mov dword [esp + 4], 0
jmp 0x40b5d9
mov esi, dword [ebp + 0xc]
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edi
mov edi, dword [esp + 4]
mov dword [ebx], edi
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [ebx + 8], ecx
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x1c], eax
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 0xc]
xor edi, edi
jmp 0x40b469
je 0x40b466
push 0x42579c
push edi
push 0
push dword [ebp + 0x10]
push esi
call fcn.0042163b
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 4]
add ecx, edi
cmp eax, ecx
cmova ecx, eax
push 0x4256dc
push eax
jmp 0x40b648
push 0x4256bc
push esi
push ecx
call fcn.00421745
push 0x4256cc
push dword [esp + 8]
push eax
call fcn.00421745