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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
shl eax, 6
mov dword [esp], eax
call sym._xmalloc
cmp dword [esp + 0x70], 1
mov dword [eax], 0x789
mov edi, eax
mov dword [eax + 4], 0
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x74]
mov dword [edi + 0x20], 1
mov eax, dword [eax]
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x1c], 0
mov dword [edi + 0x28], 1
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
jbe 0x41d2d0
mov edi, 1
mov ebx, 1
mov edx, edi
mov edi, dword [esp + 0x74]
jmp 0x41ce6f
cmp byte [esi + 1], 0
je 0x41ce82
lea ecx, [ebx + 1]
cmp dword [esp + 0x70], ecx
mov dword [esp + 0x14], ecx
jbe 0x41ce27
mov dword [esp + 4], str.__param
mov dword [esp], esi
mov dword [esp + 0x18], edx
call sym._strcmp
mov edx, dword [esp + 0x18]
test eax, eax
je 0x41d1e0
mov dword [esp], esi
mov dword [esp + 4], 0x50904f
mov dword [esp + 0x14], edx
call sym._strcmp
mov edx, dword [esp + 0x14]
mov esi, eax
mov ecx, edx
lea ebp, [edx + 1]
shl ecx, 6
test eax, eax
je 0x41d218
mov edx, dword [esp + 0x78]
add ecx, dword [esp + 0x1c]
lea eax, [edi + ebx*4]
call sym.decode_cmdline_option_char_const_const__unsigned_int__cl_decoded_option_
mov edx, ebp
add ebx, eax
cmp dword [esp + 0x70], ebx
jbe 0x41cef4
mov esi, dword [edi + ebx*4]
lea ebp, [ebx*4]
cmp byte [esi], 0x2d
je 0x41cdf0
mov eax, edx
add edx, 1
shl eax, 6
add eax, dword [esp + 0x1c]
mov dword [eax], 0x78a
mov dword [eax + 4], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x20], 1
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x28], 1
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov eax, 1
add ebx, eax
cmp dword [esp + 0x70], ebx
ja 0x41ce6f
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
mov edi, edx
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov dword [eax], edx
mov eax, edx
shl eax, 6
mov dword [esp], eax
call sym._xmalloc
mov dword [esp + 0x20], eax
test edi, edi
je 0x41d2c0
mov ebp, 1
mov dword [esp + 0x24], 0
mov ebx, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov edi, ebp
lea esi, [esi]
lea eax, [edi - 1]
test dword [ebx + 0x38], 0xfffffffb
jne 0x41cf71
mov ebp, dword [ebx]
cmp ebp, 0x41b
je 0x41d130
lea eax, [ebp - 0x786]
cmp eax, 4
ja 0x41d000
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx]
mov eax, ecx
add ecx, 1
shl eax, 6
add eax, dword [esp + 0x20]
mov dword [eax], edx
mov edx, dword [ebx + 4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0xc]
mov dword [eax + 0xc], edx
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x10], edx
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x14], edx
mov edx, dword [ebx + 0x18]
mov dword [eax + 0x18], edx
mov edx, dword [ebx + 0x1c]
mov dword [eax + 0x1c], edx
mov edx, dword [ebx + 0x20]
mov dword [eax + 0x20], edx
mov edx, dword [ebx + 0x24]
mov dword [eax + 0x24], edx
mov edx, dword [ebx + 0x28]
mov dword [eax + 0x28], edx
mov edx, dword [ebx + 0x2c]
mov dword [eax + 0x2c], edx
mov edx, dword [ebx + 0x30]
mov dword [eax + 0x30], edx
mov edx, dword [ebx + 0x34]
mov dword [eax + 0x34], edx
mov edx, dword [ebx + 0x38]
mov dword [eax + 0x38], edx
mov edx, dword [ebx + 0x3c]
mov dword [esp + 0x18], ecx
mov dword [eax + 0x3c], edx
add ebx, 0x40
lea eax, [edi + 1]
cmp dword [esp + 0x14], edi
jbe 0x41d050
mov edi, eax
jmp 0x41cf48
cmp ebp, dword [0x54e10c]
jae sym.decode_cmdline_options_to_array_unsigned_int__char_const__unsigned_int__cl_decoded_option__unsigned_int___clone_.cold_
lea eax, [ebp + ebp*8]
lea eax, [eax*8 + 0x52c3a0]
mov edx, dword [eax + 0x20]
test edx, edx
js 0x41cf71
test byte [eax + 0x26], 0x40
je 0x41d03a
cmp byte [eax + 0x28], 0
jns 0x41cf71
cmp ebp, edx
jne 0x41cf71
cmp dword [esp + 0x14], edi
ja 0x41d140
je 0x41cf71
lea esi, [esi]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
test eax, eax
je 0x41d0f4
mov esi, dword [esp + 0x20]
lea eax, [edi - 1]
add edi, 1
shl eax, 6
mov dword [esp + 8], eax
lea eax, [esi + 0x40]
mov dword [esp + 4], eax
lea eax, [esi + 0x80]
mov dword [esp], eax
call sym._memmove
mov eax, dword [esp + 0x24]
shl eax, 6
add eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov dword [esi + 0x40], edx
mov edx, dword [eax + 4]
mov dword [esi + 0x44], edx
mov edx, dword [eax + 8]
mov dword [esi + 0x48], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x4c], edx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x50], edx
mov edx, dword [eax + 0x14]
mov dword [esi + 0x54], edx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x58], edx
mov edx, dword [eax + 0x1c]
mov dword [esi + 0x5c], edx
mov edx, dword [eax + 0x20]
mov dword [esi + 0x60], edx
mov edx, dword [eax + 0x24]
mov dword [esi + 0x64], edx
mov edx, dword [eax + 0x28]
mov dword [esi + 0x68], edx
mov edx, dword [eax + 0x2c]
mov dword [esi + 0x6c], edx
mov edx, dword [eax + 0x30]
mov dword [esi + 0x70], edx
mov edx, dword [eax + 0x34]
mov dword [esi + 0x74], edx
mov edx, dword [eax + 0x38]
mov dword [esi + 0x78], edx
mov eax, dword [eax + 0x3c]
mov dword [esp + 0x18], edi
mov dword [esi + 0x7c], eax
shl edi, 6
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sym._free
mov eax, dword [esp + 0x20]
mov dword [esp + 4], edi
mov dword [esp], eax
call sym._xrealloc
mov ecx, dword [esp + 0x7c]
mov dword [ecx], eax
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 0x24], eax
jmp 0x41cfe3
mov dword [esp + 0x28], ebx
mov edx, ebx
mov ecx, edi
mov dword [esp + 0x2c], edi
jmp 0x41d170
cmp byte [ebx + 0x52c3c8], 0
jns 0x41d160
cmp eax, edi
je 0x41d19d
lea esi, [esi]
add ecx, 1
add edx, 0x40
cmp dword [esp + 0x14], ecx
je 0x41d2b0
test dword [edx + 0x78], 0xfffffffb
jne 0x41d160
mov eax, dword [edx + 0x40]
cmp dword [0x54e10c], eax
jbe 0x41d160
lea ebx, [eax + eax*8]
shl ebx, 3
mov edi, dword [ebx + 0x52c3c0]
test edi, edi
js 0x41d160
test byte [ebx + 0x52c3c6], 0x40
jne 0x41d150
mov ebx, eax
jmp 0x41d1ac
cmp eax, ebx
je 0x41d160
lea ebx, [ebx + ebx*8]
mov ebx, dword [ebx*8 + 0x52c3c0]
cmp ebp, ebx
jne 0x41d1a8
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
cmp dword [esp + 0x14], ecx
je 0x41cf71
lea eax, [edi + 1]
add ebx, 0x40
mov edi, eax
jmp 0x41cf48
lea ebx, [edi + ebp + 4]
mov dword [esp + 0xc], 0
mov eax, dword [ebx]
mov dword [esp + 4], 0x50904d
mov dword [esp], str.__param
mov dword [esp + 8], eax
call sym.opts_concat_char_const__..._
mov edx, dword [esp + 0x18]
mov dword [ebx], eax
mov ebx, dword [esp + 0x14]
jmp 0x41ce27
add dword [esp + 0x20], 4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], ecx
shl eax, 6
mov dword [esp + 0x3c], str._fno_diagnostics_show_caret
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x40], str._fno_diagnostics_show_line_numbers
mov dword [esp], eax
mov dword [esp + 0x44], str._fdiagnostics_colornever
mov dword [esp + 0x48], str._fdiagnostics_urlsnever
mov dword [esp + 0x4c], str._fdiagnostics_path_formatseparate_events
call sym._xrealloc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x74], edi
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x78]
add ecx, eax
mov dword [esp + 0x1c], eax
mov edi, ecx
jmp 0x41d283
add ebp, 1
lea eax, [esp + esi*4 + 0x3c]
mov ecx, edi
mov edx, ebx
add edi, 0x40
call sym.decode_cmdline_option_char_const_const__unsigned_int__cl_decoded_option_
mov edx, ebp
add esi, eax
cmp esi, 4
jle 0x41d280
mov ebx, dword [esp + 0x14]
mov edi, dword [esp + 0x74]
mov eax, 1
jmp 0x41ce63
mov ebx, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x41cf71
mov dword [esp + 0x18], 0
jmp 0x41d0f7
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x1c]
mov edi, 1
mov dword [eax], ecx
mov eax, dword [esp + 0x80]
mov dword [eax], 1
mov dword [esp], 0x40
call sym._xmalloc
mov dword [esp + 0x20], eax
jmp 0x41cf22