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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xc0
cmp byte [ebp + 8], 0
mov esi, edx
mov edi, ecx
je 0x41ddd0
mov ecx, dword [esi + 0x6c]
test ecx, ecx
jne 0x41ddea
mov eax, dword [esi + 0x64]
mov ecx, str._cargo_registry_src_github.com_1ecc6299db9ec823_utfx_0.1.0_src_ucstr.rs
test eax, eax
je 0x41dded
mov ecx, eax
jmp 0x41ddd7
mov ecx, dword [esi + 0x64]
test ecx, ecx
je 0x41dddc
mov eax, dword [esi + 0x68]
jmp 0x41dded
mov eax, dword [esi + 0x6c]
mov ecx, str._cargo_registry_src_github.com_1ecc6299db9ec823_utfx_0.1.0_src_ucstr.rs
test eax, eax
je 0x41dded
mov ecx, eax
mov eax, dword [esi + 0x70]
mov edx, dword [esi + 0x50]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], eax
test edx, edx
je 0x41e37d
mov ecx, dword [esi + 0x58]
mov dword [esp + 0x34], edx
cmp ecx, 8
mov dword [esp + 0x58], ecx
jae 0x41de3b
test ecx, ecx
je 0x41de2f
xor eax, eax
nop word cs:[eax + eax]
cmp byte [edx + eax], 0x20
je 0x41e36f
inc eax
cmp ecx, eax
jne 0x41de20
xor eax, eax
cmp eax, 1
je 0x41de54
jmp 0x41e37d
mov eax, ecx
mov ecx, 0x20
push eax
call fcn.0045f4f0
add esp, 4
cmp eax, 1
jne 0x41e37d
mov eax, dword [0x6dd4e0]
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x78]
mov dword [esp + 0x50], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
push 1
push 0x6d8f38
push dword [esp + 0x60]
call fcn.0045fa60
add esp, 0xc
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
cmp dword [esp + 0x78], 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], ecx
jne 0x41e16c
mov eax, dword [esp + 0xb4]
mov ecx, dword [esp + 0x94]
mov esi, 0
mov dword [esp + 4], 0
mov dword [esp + 0x28], eax
dec eax
mov dword [esp + 0x60], eax
add eax, ecx
cmp eax, edx
jae 0x41e3f0
mov esi, dword [esp + 0x80]
mov edi, dword [esp + 0x90]
mov ebx, dword [esp + 0x28]
mov dword [esp + 4], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x74], esi
mov esi, dword [esp + 0x88]
sub ebx, edi
mov dword [esp + 0x68], edi
mov edi, dword [esp + 0x9c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x5c], esi
neg esi
mov dword [esp + 0x6c], esi
mov esi, dword [esp + 0xb0]
mov dword [esp + 0x30], esi
xor esi, esi
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x54], esi
mov esi, ecx
mov dword [esp + 0x1c], edi
jmp 0x41df5d
mov ebx, dword [esp + 0x24]
xor eax, eax
mov edi, eax
mov eax, dword [esp + 0x60]
mov esi, ecx
add eax, ecx
cmp eax, dword [esp + 0x20]
jae 0x41e3ec
mov cl, byte [ebx + eax]
xor eax, eax
mov edx, 1
shld eax, edx, cl
mov edx, 1
shl edx, cl
test cl, 0x20
mov ecx, 0
cmovne eax, edx
cmovne edx, ecx
and eax, dword [esp + 0x18]
and edx, dword [esp + 0x74]
or edx, eax
je 0x41e000
mov eax, dword [esp + 0x5c]
mov edx, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], esi
cmp eax, edi
cmova edx, eax
cmp dword [esp + 0x1c], 0xffffffff
cmove edx, eax
mov eax, dword [esp + 0x30]
lea edi, [edx + esi]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x70], edx
add eax, edx
sub esi, edx
cmovb esi, ecx
nop dword [eax]
sub esi, 1
jb 0x41e020
mov edx, dword [esp + 0x20]
cmp edi, edx
jae 0x41e4c7
movzx ebx, byte [eax]
mov edx, dword [esp + 0x24]
inc eax
lea ecx, [edi + 1]
cmp bl, byte [edx + edi]
mov edi, ecx
je 0x41dfc0
add ecx, dword [esp + 0x6c]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x41df43
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x2c]
jmp 0x41df4b
add esi, dword [esp + 0x28]
xor eax, eax
cmp dword [esp + 0x1c], 0xffffffff
mov ecx, esi
jne 0x41df49
jmp 0x41df4b
cmp dword [esp + 0x1c], 0xffffffff
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov eax, 0
cmove edi, eax
nop dword [eax]
cmp edi, ecx
jae 0x41e090
dec ecx
cmp ecx, dword [esp + 0x28]
jae 0x41e4db
mov eax, dword [esp + 0x14]
add eax, ecx
cmp eax, edx
jae 0x41e4e6
mov esi, ebx
mov ebx, dword [esp + 0x30]
movzx ebx, byte [ebx + ecx]
cmp bl, byte [esi + eax]
mov ebx, esi
je 0x41e040
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x2c]
add ecx, dword [esp + 0x68]
cmp dword [esp + 0x1c], 0xffffffff
jne 0x41df49
jmp 0x41df4b
cmp dword [esp + 0x1c], 0xffffffff
mov ecx, dword [esp + 0x2c]
mov eax, 0
mov esi, dword [esp + 0x14]
cmovne ecx, eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x54]
lea edi, [eax + esi]
mov esi, dword [esp + 0xc]
add ecx, eax
sub edi, ecx
mov eax, esi
sub eax, dword [esp + 4]
cmp eax, edi
jb 0x41e12a
mov dword [esp + 0x1c], esi
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 8]
mov esi, dword [esp + 4]
add eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
lea eax, [ebx + esi]
push edi
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x1c]
add esi, edi
mov eax, esi
mov dword [esp + 0x10], esi
cmp edx, esi
je 0x41e154
mov byte [ebx + eax], 0x2d
inc eax
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x60]
mov ecx, esi
add eax, esi
cmp eax, edx
jb 0x41df33
jmp 0x41e3f0
mov edx, dword [esp + 4]
mov ebx, ecx
lea ecx, [esp + 8]
push edi
call fcn.005f2340
mov ecx, ebx
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], edx
jmp 0x41e0ca
lea ecx, [esp + 8]
push 1
call fcn.005f2340
add esp, 4
mov ebx, dword [esp + 8]
mov eax, dword [esp + 0x10]
jmp 0x41e0fc
test ecx, 0xff0000
mov esi, 0
mov dword [esp + 4], 0
jne 0x41e3f0
mov edi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 4], 0
mov dword [esp + 0x20], edx
test edi, edi
jne 0x41e1b8
jmp 0x41e1d6
add edi, ecx
mov cl, 1
test edi, edi
je 0x41e1d6
cmp edx, edi
jbe 0x41e1d0
mov eax, dword [esp + 0x24]
cmp byte [eax + edi], 0xbf
jg 0x41e1d6
jmp 0x41e4f7
jne 0x41e4f7
cmp edi, edx
je 0x41e2a2
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
movzx eax, byte [esi + edi]
test al, al
jns 0x41e240
movzx ebx, byte [esi + edi + 1]
mov dword [esp + 0x18], ecx
mov ecx, eax
and ecx, 0x1f
and ebx, 0x3f
cmp al, 0xdf
jbe 0x41e230
movzx edx, byte [esi + edi + 2]
shl ebx, 6
and edx, 0x3f
or edx, ebx
cmp al, 0xf0
jb 0x41e285
movzx eax, byte [esi + edi + 3]
and ecx, 7
shl edx, 6
shl ecx, 0x12
and eax, 0x3f
or eax, edx
or eax, ecx
jmp 0x41e28c
shl ecx, 6
mov edx, dword [esp + 0x20]
or ecx, ebx
mov eax, ecx
mov ecx, dword [esp + 0x18]
nop
mov esi, dword [esp + 0x14]
test cl, cl
jne 0x41e29c
cmp eax, 0x110000
je 0x41e3f0
mov ecx, 1
cmp eax, 0x80
jb 0x41e1b0
mov ecx, 2
cmp eax, 0x800
jb 0x41e1b0
cmp eax, 0x10000
mov ecx, 4
sbb ecx, 0
jmp 0x41e1b0
shl ecx, 0xc
or edx, ecx
mov eax, edx
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x14]
test cl, cl
je 0x41e248
mov dword [esp + 0x18], ecx
jmp 0x41e2bb
test cl, cl
je 0x41e3f0
cmp dword [esp + 0x24], 0
mov edi, edx
mov dword [esp + 0x18], ecx
je 0x41e3f0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x34]
mov ebx, edx
add esi, eax
lea ecx, [eax + edi]
sub ebx, dword [esp + 4]
sub ecx, esi
mov dword [esp + 0x14], esi
cmp ebx, ecx
jb 0x41e330
mov dword [esp + 0x30], edx
mov ebx, dword [esp + 8]
mov esi, dword [esp + 4]
mov dword [esp + 0x28], ecx
lea eax, [ebx + esi]
push ecx
push dword [esp + 0x18]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
add esi, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
cmp edx, esi
mov dword [esp + 0x10], esi
je 0x41e357
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov byte [ebx + esi], 0x2d
inc esi
mov dword [esp + 4], esi
mov dword [esp + 0x10], esi
mov esi, edi
xor cl, 1
test edi, edi
jne 0x41e1b8
jmp 0x41e1d6
mov edx, dword [esp + 4]
mov esi, ecx
lea ecx, [esp + 8]
push esi
call fcn.005f2340
mov ecx, esi
add esp, 4
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
mov dword [esp + 4], edx
jmp 0x41e2dc
lea ecx, [esp + 8]
push 1
call fcn.005f2340
add esp, 4
mov ebx, dword [esp + 8]
mov esi, dword [esp + 0x10]
jmp 0x41e309
mov eax, 1
cmp eax, 1
je 0x41de54
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x40]
lea edx, [esp + 0x48]
mov dword [esp + 0x78], 0x60a6a4
mov dword [esp + 0x7c], 3
mov dword [esp + 0x80], 0
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
lea ecx, [esp + 8]
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], 0x5c1350
mov dword [esp + 0x40], edx
lea edx, [esp + 0x78]
mov dword [esp + 0x44], 0x5c1350
mov dword [esp + 0x88], ecx
mov ecx, edi
mov dword [esp + 0x8c], 2
call fcn.0040a660
jmp 0x41e4a5
mov esi, dword [esp + 0x54]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 4]
add esi, eax
add ecx, eax
mov edi, esi
sub ecx, esi
mov esi, dword [esp + 0xc]
sub esi, edx
cmp esi, ecx
jb 0x41e4ad
mov eax, dword [esp + 8]
mov esi, dword [esp + 0x50]
add eax, edx
push ecx
push edi
push eax
mov ebx, edx
mov edi, ecx
call sub.msvcrt.dll_memcpy
add esp, 0xc
lea eax, [esp + 8]
lea edx, [esp + 0x48]
lea ecx, [esp + 0x38]
add ebx, edi
mov dword [esp + 0x78], 0x60a6a4
mov dword [esp + 0x7c], 3
mov dword [esp + 0x80], 0
mov dword [esp + 0x88], ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0x41e510
mov dword [esp + 0x40], edx
lea edx, [esp + 0x78]
mov ecx, esi
mov dword [esp + 0x10], ebx
mov dword [esp + 0x44], 0x5c1350
mov dword [esp + 0x8c], 2
call fcn.0040a660
cmp dword [esp + 0xc], 0
je 0x41e4a5
push dword [esp + 8]
push 0
push dword [0x6f1130]
call sub.KERNEL32.dll_HeapFree
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, ecx
lea ecx, [esp + 8]
push esi
call fcn.005f2340
mov ecx, esi
add esp, 4
mov edx, dword [esp + 0x10]
jmp 0x41e412
mov ecx, dword [esp + 0x70]
add ecx, dword [esp + 0x14]
cmp edx, ecx
cmova ecx, edx
push 0x6dd4b0
jmp 0x41e4ed
mov edx, dword [esp + 0x28]
push 0x6dd4c0
jmp 0x41e4ed
mov ecx, eax
push 0x6dd4d0
call fcn.0045a150
add esp, 4
ud2
mov ecx, dword [esp + 0x24]
push 0x6dd4e8
push edx
push edi
call fcn.0045d720
add esp, 0xc
ud2