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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x6d0
mov eax, dword [edx + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], edx
cmp dword [eax + 0x134], 0
lea ecx, [eax + 0x134]
lea edx, [eax + 0xec]
cmove ecx, edx
mov esi, dword [ecx + 8]
mov ebx, dword [ecx]
test esi, esi
je 0x41da38
js 0x41e43b
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x41da1d
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41da2a
mov dword [0x5c6108], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
jne 0x41da3d
mov ecx, 1
mov edx, esi
call dbg.handle_alloc_error
ud2
mov eax, 1
push esi
push ebx
push eax
mov edi, eax
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 8], edi
mov edx, dword [eax + 8]
lea edi, [esp + 0x1a8]
mov ecx, edi
call sym.__LT_clap..build..app..App_u20_as_u20_core..clone..Clone_GT_::clone::h60abed3a8639e928
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
shl ecx, 4
add ecx, eax
mov dword [esp + 0x20], ecx
jmp 0x41daa3
lea eax, [ecx + esi]
mov dword [esp + 8], ecx
push ebx
push edi
push eax
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x24]
add esi, ebx
lea edi, [esp + 0x1a8]
mov dword [esp + 0x1c], esi
cmp eax, dword [esp + 0x20]
je 0x41de62
mov esi, dword [esp + 0x2c4]
imul edi, dword [esp + 0x2cc], 0x150
mov edx, dword [eax]
mov ebx, dword [eax + 8]
lea ecx, [eax + 0x10]
mov dword [esp + 0x24], ecx
add edi, esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
jmp 0x41daee
mov esi, dword [esp + 4]
mov edi, dword [esp + 0xc]
add esi, 0x150
cmp esi, edi
je 0x41dd5c
cmp ebx, dword [esi + 0xf4]
jne 0x41db15
push ebx
push dword [esi + 0xec]
push dword [esp + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
je 0x41db56
mov eax, dword [esi + 0x100]
mov edi, dword [esi + 0xf8]
mov dword [esp + 4], esi
shl eax, 2
add edi, 4
lea esi, [eax + eax*2]
jmp 0x41db36
add edi, 0xc
add esi, 0xfffffff4
test esi, esi
je 0x41dae0
cmp ebx, dword [edi]
jne 0x41db30
push ebx
push dword [edi - 4]
push dword [esp + 0x10]
call sub.msvcrt.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x41db30
mov esi, dword [esp + 4]
lea ecx, [esp + 0x58]
mov edx, esi
call sym.__LT_clap..build..app..App_u20_as_u20_core..clone..Clone_GT_::clone::h60abed3a8639e928
lea edi, [esp + 0x1a8]
mov ecx, edi
call sym.__ZN4core3ptr42drop_in_place_LT_clap..build..app..App_GT_17h27e2765a5814914cE.241
push 0x150
lea eax, [esp + 0x5c]
push eax
push edi
call sym._memcpy
add esp, 0xc
cmp ebx, 4
jne 0x41dcf0
mov eax, dword [esp + 8]
cmp dword [eax], 0x706c6568
jne 0x41dcf0
lea esi, [esp + 0x58]
mov edx, 0x54d6a0
mov ecx, esi
push 0xa
call sym.clap::build::arg::Arg::new::h4e14e08b0ca586dc
add esp, 4
mov dword [esp + 0x80], 1
mov dword [esp + 0x84], 1
push 0x138
push esi
lea edi, [esp + 0x300]
push edi
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x190]
mov ecx, dword [esp + 0x194]
mov dword [esp + 0x58], 0x54e026
mov dword [esp + 0x5c], 0xa
or eax, 0x22
mov dword [esp + 0x434], ecx
mov dword [esp + 0x430], eax
mov edx, edi
lea ecx, [esp + 0x588]
push esi
call sym.clap::build::arg::Arg::value_names::hd1ae3fa908a7307e
add esp, 4
mov dword [esp + 0x5c8], 0x54d6aa
mov dword [esp + 0x5cc], 0x2c
mov ecx, 0x1c
lea edi, [esp + 0x2f8]
lea esi, [esp + 0x588]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x5f8]
mov ebx, dword [esp + 0x5fc]
mov edi, dword [esp + 0x600]
push 0xc4
lea eax, [esp + 0x608]
push eax
lea eax, [esp + 0x37c]
push eax
call sym._memcpy
add esp, 0xc
push 0x150
lea eax, [esp + 0x1ac]
push eax
lea eax, [esp + 0x60]
push eax
call sym._memcpy
add esp, 0xc
test esi, esi
jne 0x41dca6
mov edi, dword [esp + 0x12c]
mov ebx, dword [esp + 0x128]
cmp esi, 1
adc esi, 0
mov dword [esp + 0x368], esi
mov dword [esp + 0x36c], ebx
mov dword [esp + 0x370], edi
lea ecx, [esp + 0x70]
lea edx, [esp + 0x2f8]
call sym.clap::mkeymap::MKeyMap::push::hff2b48eeab6dab5d
push 0x150
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x1b0]
push eax
call sym._memcpy
add esp, 0xc
nop dword [eax + eax]
lea ecx, [esp + 0x1a8]
call sym.clap::build::app::App::_build::h7e1350e660bf17f2
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
cmp esi, eax
jne 0x41dd1b
lea ecx, [esp + 0x14]
mov edx, esi
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h3fbe455d5a2ba25c
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov byte [ecx + esi], 0x20
inc esi
mov ebx, dword [esp + 0x29c]
mov edi, dword [esp + 0x294]
sub eax, esi
mov dword [esp + 0x1c], esi
cmp eax, ebx
jae 0x41da80
mov edx, esi
lea ecx, [esp + 0x14]
push ebx
call dbg.do_reserve_and_handle<u8, alloc::alloc::Global>
add esp, 4
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
jmp 0x41da80
mov edx, dword [esp + 8]
lea ecx, [esp + 0x4c]
push ebx
call dbg.to_string_lossy
add esp, 4
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c4]
imul esi, dword [esp + 0x2cc], 0x150
mov ecx, dword [esp + 0x50]
add esi, edx
test eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x34], ecx
cmove eax, ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x48], esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x28], ecx
jmp 0x41ddbe
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x48]
add edx, 0x150
cmp edx, esi
je 0x41e221
cmp ecx, dword [edx + 0xf4]
mov dword [esp + 4], edx
jne 0x41ddf1
push ecx
mov eax, dword [esp + 8]
push dword [eax + 0xec]
push dword [esp + 0x14]
call sub.msvcrt.dll_memcmp
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
je 0x41de36
mov eax, dword [esp + 4]
mov edi, dword [eax + 0xf8]
mov eax, dword [eax + 0x100]
shl eax, 2
add edi, 4
lea esi, [eax + eax*2]
jmp 0x41de16
add edi, 0xc
add esi, 0xfffffff4
test esi, esi
je 0x41ddb0
cmp ecx, dword [edi]
jne 0x41de10
push ecx
push dword [edi - 4]
push dword [esp + 0x14]
call sub.msvcrt.dll_memcmp
mov ecx, dword [esp + 0x34]
add esp, 0xc
test eax, eax
jne 0x41de10
cmp dword [esp + 0x10], 0
je 0x41db52
cmp dword [esp + 0x34], 0
je 0x41db52
push dword [esp + 0x10]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
jmp 0x41db52
lea ebx, [esp + 0x438]
push 0x150
push edi
push ebx
call sym._memcpy
add esp, 0xc
push 0x134
push ebx
lea eax, [esp + 0x60]
push eax
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 0x56c]
movsd xmm0, qword [esp + 0x578]
movsd xmm1, qword [esp + 0x580]
mov ecx, dword [esp + 0x570]
mov edi, dword [esp + 0x18]
test eax, eax
movsd qword [esp + 0x1a8], xmm0
movsd qword [esp + 0x1b0], xmm1
je 0x41ded7
test ecx, ecx
je 0x41ded7
push eax
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
push 0x134
lea eax, [esp + 0x5c]
push eax
push ebx
call sym._memcpy
add esp, 0xc
mov eax, dword [esp + 8]
movsd xmm0, qword [esp + 0x1a8]
movsd xmm1, qword [esp + 0x1b0]
mov dword [esp + 0x56c], eax
mov dword [esp + 0x570], edi
mov dword [esp + 0x574], esi
movsd qword [ebx + 0x148], xmm1
movsd qword [ebx + 0x140], xmm0
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x41df47
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41e42a
mov dword [0x5c6108], eax
push 0x78
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
test eax, eax
je 0x41e42a
mov ecx, dword [esp + 0x458]
mov esi, dword [esp + 0x450]
xor edx, edx
mov dword [esp + 0x1a8], eax
mov dword [esp + 0x1ac], 5
mov dword [esp + 0x1b0], 0
lea edi, [ecx + ecx*4]
shl edi, 6
add edi, esi
lea ecx, [edx*8]
lea ecx, [ecx + ecx*2]
mov dword [esp + 0xc], ecx
mov ecx, esi
nop
cmp ecx, edi
je 0x41e0a7
test byte [ecx + 0x138], 1
lea esi, [ecx + 0x140]
mov ecx, esi
je 0x41dfa0
mov ecx, dword [esi - 0x104]
mov dword [esp + 0x28], edx
test edx, edx
mov edx, dword [esi - 0x108]
mov dword [esp + 0x24], edi
mov dword [esp + 4], eax
mov dword [esp + 0x20], esi
mov dword [esp + 8], ecx
je 0x41e030
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 4]
xor ecx, ecx
nop word [eax + eax]
mov esi, dword [eax + 4]
mov edi, dword [eax]
xor esi, dword [esp + 8]
xor edi, edx
or esi, edi
je 0x41e010
add eax, 0x18
inc ecx
add ebx, 0xffffffe8
jne 0x41dff0
jmp 0x41e030
mov eax, dword [esp + 4]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
lea ebx, [esp + 0x438]
jmp 0x41df9c
mov dword [esp + 0xc], edx
mov edx, dword [esp + 0x28]
cmp edx, dword [esp + 0x1ac]
jne 0x41e05d
lea ecx, [esp + 0x1a8]
call sym.alloc::raw_vec::RawVec_LT_T_C_A_GT_::reserve_for_push::h39786d3819f13b9b
mov eax, dword [esp + 0x1a8]
mov edx, dword [esp + 0x1b0]
jmp 0x41e061
mov eax, dword [esp + 4]
mov ebx, dword [esp + 8]
lea ecx, [edx + edx*2]
mov edi, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
inc edx
mov dword [eax + ecx*8 + 4], ebx
mov ebx, dword [esp + 0xc]
mov dword [eax + ecx*8], ebx
mov dword [eax + ecx*8 + 8], 4
mov dword [eax + ecx*8 + 0xc], 0
mov dword [eax + ecx*8 + 0x10], 0
mov dword [esp + 0x1b0], edx
lea ebx, [esp + 0x438]
jmp 0x41df8e
mov eax, dword [esp + 0x1b0]
movsd xmm0, qword [esp + 0x1a8]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x2c]
movsd qword [esp + 0x64], xmm0
xorps xmm0, xmm0
mov dword [esp + 0x60], ebx
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 8
mov dword [esp + 0x70], 8
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x58], 0
movups xmmword [esp + 0x84], xmm0
mov ecx, dword [eax + 8]
mov al, 1
test byte [ecx + 0xc5], 4
jne 0x41e123
mov eax, 0x400
test dword [ecx + 0xcc], eax
setne al
movzx eax, al
lea edx, [esp + 0x58]
lea ecx, [esp + 0x1a8]
push eax
call sym.clap::parse::parser::Parser::help_err::h66e11b88226996d8
add esp, 4
mov eax, dword [esp + 0x30]
movsd xmm2, qword [esp + 0x1c0]
movsd xmm1, qword [esp + 0x1b8]
mov esi, dword [esp + 0x64]
movsd xmm0, qword [esp + 0x1c8]
mov edi, dword [esp + 0x6c]
movsd qword [eax + 0x1c], xmm2
movsd qword [eax + 0x14], xmm1
movsd xmm2, qword [esp + 0x1a8]
movsd xmm1, qword [esp + 0x1b0]
add esi, 0xc
movsd qword [eax + 0x24], xmm0
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm2
mov dword [eax], 1
jmp 0x41e1a3
add esi, 0x18
sub edi, 1
jb 0x41e1bf
cmp dword [esi], 0
je 0x41e1a0
push dword [esi - 4]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
jmp 0x41e1a0
cmp dword [esp + 0x68], 0
je 0x41e1d7
push dword [esp + 0x64]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x84], 0
je 0x41e1f5
push dword [esp + 0x80]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
cmp dword [esp + 0x74], 0
je 0x41e20d
push dword [esp + 0x70]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
lea ecx, [esp + 0x438]
call sym.__ZN4core3ptr42drop_in_place_LT_clap..build..app..App_GT_17h27e2765a5814914cE.241
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 8]
mov edx, dword [esp + 8]
lea ecx, [esp + 0x2f8]
push ebx
call dbg.to_string_lossy
add esp, 4
cmp dword [esp + 0x2f8], 0
mov dword [esp + 8], esi
je 0x41e266
mov eax, dword [esp + 0x300]
movsd xmm0, qword [esp + 0x2f8]
mov dword [esp + 0x40], eax
movsd qword [esp + 0x38], xmm0
jmp 0x41e2d8
mov esi, dword [esp + 0x300]
mov edi, dword [esp + 0x2fc]
test esi, esi
je 0x41e2bc
js 0x41e449
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x41e29c
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41e2ab
mov dword [0x5c6108], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ebx, eax
test eax, eax
jne 0x41e2c1
mov ecx, 1
mov edx, esi
call dbg.handle_alloc_error
jmp 0x41e44e
mov ebx, 1
push esi
push edi
push ebx
call sym._memcpy
add esp, 0xc
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + 8]
cmp dword [eax + 0x134], 0
lea ecx, [eax + 0x134]
lea edx, [eax + 0xec]
cmove ecx, edx
mov esi, dword [ecx + 8]
mov edi, dword [ecx]
test esi, esi
je 0x41e349
setns al
js 0x41e442
mov byte [esp + 4], al
movzx eax, byte [0x5c6170]
mov eax, dword [0x5c6108]
test eax, eax
jne 0x41e329
call sub.KERNEL32.dll_GetProcessHeap
test eax, eax
je 0x41e338
mov dword [0x5c6108], eax
push esi
push 0
push eax
call sub.KERNEL32.dll_HeapAlloc
mov ebx, eax
test eax, eax
jne 0x41e34e
movzx ecx, byte [esp + 4]
mov edx, esi
call dbg.handle_alloc_error
jmp 0x41e44e
mov ebx, 1
push esi
push edi
push ebx
call sym._memcpy
add esp, 0xc
mov dword [esp + 0x588], ebx
mov dword [esp + 0x58c], esi
mov dword [esp + 0x590], esi
mov edx, dword [esp + 8]
lea eax, [esp + 0x38]
lea esi, [esp + 0x588]
lea ecx, [esp + 0x2f8]
push esi
push eax
call sym.clap::parse::errors::Error::unrecognized_subcommand::h5a55936e653b3a69
add esp, 8
mov eax, dword [esp + 0x30]
movsd xmm2, qword [esp + 0x310]
movsd xmm1, qword [esp + 0x308]
cmp dword [esp + 0x10], 0
movsd xmm0, qword [esp + 0x318]
movsd qword [eax + 0x1c], xmm2
movsd qword [eax + 0x14], xmm1
movsd xmm2, qword [esp + 0x2f8]
movsd xmm1, qword [esp + 0x300]
movsd qword [eax + 0x24], xmm0
movsd qword [eax + 0xc], xmm1
movsd qword [eax + 4], xmm2
mov dword [eax], 1
je 0x41e3fd
cmp dword [esp + 0x34], 0
je 0x41e3fd
push dword [esp + 0x10]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
lea ecx, [esp + 0x1a8]
call sym.__ZN4core3ptr42drop_in_place_LT_clap..build..app..App_GT_17h27e2765a5814914cE.241
cmp dword [esp + 0x18], 0
je 0x41e219
push dword [esp + 0x14]
push 0
push dword [0x5c6108]
call sub.KERNEL32.dll_HeapFree
jmp 0x41e219
mov ecx, 8
mov edx, 0x78
call dbg.handle_alloc_error
jmp 0x41e44e
call sym.alloc::raw_vec::capacity_overflow::hd0578b62e5d0dfac
ud2
call sym.alloc::raw_vec::capacity_overflow::hd0578b62e5d0dfac
jmp 0x41e44e
call sym.alloc::raw_vec::capacity_overflow::hd0578b62e5d0dfac
ud2