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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x7c
mov esi, ecx
mov edi, dword [esp + 0x90]
mov ecx, esp
push 6
push edi
call fcn.00411970
mov eax, dword [esp]
test eax, eax
je 0x41407c
or byte [esi + 0x10], 1
mov dword [esi], eax
jmp 0x41475d
mov eax, dword [0x41ea18]
add eax, 8
mov dword [esp + 0x40], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [0x41e9fc]
add eax, 8
mov dword [esp + 0x5c], eax
mov eax, dword [0x41ea3c]
add eax, 8
mov dword [esp + 0x60], eax
mov eax, dword [0x41ea34]
add eax, 8
mov dword [esp + 0x64], eax
jmp 0x4140d9
test bl, 1
jne 0x414705
mov ebx, dword [edi + 0xc]
cmp ebx, dword [edi + 0x10]
je 0x4141c1
mov ecx, ebx
call fcn.0041a390
mov ebx, dword [edi + 0xc]
cmp eax, 7
je 0x4146e1
cmp ebx, dword [edi + 0x10]
je 0x4141c1
mov ecx, ebx
call fcn.0041a390
cmp eax, 3
jne 0x4141be
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0xc]
mov dword [edi + 0xc], eax
call fcn.0041a380
and byte [esp + 0x50], 0xfe
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
cmp edx, 8
jne 0x414239
mov dword [esp], str.MENUITEM
mov dword [esp + 4], 8
sub esp, 8
movsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
lea ecx, [esp + 0x50]
call fcn.0041bd90
test eax, eax
sete bl
mov edx, dword [esp + 0x4c]
cmp edx, 5
je 0x414244
xor edx, edx
mov eax, ebx
or al, dl
jne 0x414279
mov dword [esp], str.MENUITEM__POPUP__END_or_
mov word [esp + 0x10], 0x103
mov ebp, dword [edi + 0xc]
add ebp, 0xfffffff4
push 0x18
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp + 0x14], ebp
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov ecx, ebx
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.0040f8e0
or byte [esi + 0x10], 1
mov dword [esi], ebx
jmp 0x41420b
mov ebx, dword [edi + 0xc]
mov dword [esp], str.identifier
mov word [esp + 0x10], 0x103
push 0x18
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov ecx, ebp
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.0040f8e0
or byte [esp + 0x50], 1
or byte [esi + 0x10], 1
mov dword [esp + 0x48], 0
mov dword [esi], ebp
mov ebx, 1
test byte [esp + 0x50], 1
je 0x4140d0
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x4140d0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4140d0
xor ebx, ebx
cmp edx, 5
jne 0x41416d
mov dword [esp], str.POPUP
mov dword [esp + 4], 5
sub esp, 8
movsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
lea ecx, [esp + 0x50]
call fcn.0041bd90
test eax, eax
sete dl
mov eax, ebx
or al, dl
je 0x414179
mov eax, ebx
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov ebp, eax
test al, al
je 0x41435f
cmp ebx, ecx
je 0x4143bb
mov dword [esp + 0x44], edx
mov ecx, ebx
call fcn.0041a390
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, 3
jne 0x41435b
cmp ebx, ecx
je 0x4143fe
mov ecx, ebx
call fcn.0041a390
cmp eax, 3
jne 0x4143fb
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0xc]
mov dword [edi + 0xc], eax
call fcn.0041a380
and byte [esp + 0x1c], 0xfe
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp edx, 9
jne 0x414313
mov dword [esp], str.SEPARATOR
mov dword [esp + 4], 9
sub esp, 8
movsd xmm0, qword [esp + 8]
movsd qword [esp], xmm0
lea ecx, [esp + 0x1c]
call fcn.0041bd90
test eax, eax
je 0x414623
mov dword [esp], str.SEPARATOR_or_string
mov word [esp + 0x10], 0x103
mov ebp, dword [edi + 0xc]
add ebp, 0xfffffff4
push 0x18
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebx, eax
mov dword [esp + 0x20], ebp
mov eax, dword [edi + 0x10]
mov dword [esp + 0x78], eax
mov edx, dword [esp + 0x20]
mov ecx, ebx
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.0040f8e0
or byte [esi + 0x10], 1
mov dword [esi], ebx
jmp 0x414448
mov edx, dword [esp + 0x44]
cmp ebx, ecx
je 0x4143bb
mov dword [esp + 0x44], edx
mov ecx, ebx
call fcn.0041a390
cmp eax, 2
jne 0x4143b8
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0xc]
mov dword [edi + 0xc], eax
call fcn.0041a380
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov ebx, 0xffffffff
mov eax, ebp
test al, al
je 0x41448c
mov ebx, esp
mov ecx, ebx
push 8
push edi
call fcn.00411970
mov eax, dword [esp]
test eax, eax
je 0x414476
or byte [esi + 0x10], 1
jmp 0x414593
mov ebx, dword [edi + 0xc]
mov dword [esp], str.string
mov word [esp + 0x10], 0x103
push 0x18
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov ecx, ebp
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.0040f8e0
or byte [esi + 0x10], 1
jmp 0x414209
mov ebx, dword [edi + 0xc]
mov dword [esp], str.identifier
mov word [esp + 0x10], 0x103
push 0x18
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov dword [esp + 0x14], ebx
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov edx, dword [esp + 0x14]
mov ecx, ebp
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.0040f8e0
or byte [esp + 0x1c], 1
or byte [esi + 0x10], 1
mov dword [esp + 0x14], 0
mov dword [esi], ebp
mov ebx, 1
test byte [esp + 0x1c], 1
je 0x414210
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x414210
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x414210
mov ecx, ebx
push edi
call fcn.00411640
mov ebx, dword [esp]
test byte [esp + 0xc], 1
jne 0x4141b6
mov eax, dword [0x41e9d4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 6
mov eax, dword [0x41e9d8]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], 6
sub esp, 0x14
movsd xmm0, qword [esp + 0x7c]
movsd qword [esp + 0xc], xmm0
movsd xmm0, qword [esp + 0x84]
movsd qword [esp + 4], xmm0
mov dword [esp], edi
lea ecx, [esp + 0x28]
call fcn.00412020
test byte [esp + 0x18], 1
jne 0x414583
cmp byte [esp + 0x44], 0
je 0x41459a
mov ebx, esp
mov ecx, ebx
push edi
call fcn.00414050
test byte [esp + 0x10], 1
jne 0x4145e5
push 0x20
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x60]
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov word [eax + 0xc], cx
mov ecx, dword [esp + 0x40]
mov dword [eax + 0x10], ecx
movsd xmm0, qword [esp + 4]
movsd qword [eax + 0x14], xmm0
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x1c], ecx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x30]
jae 0x414654
mov dword [esp + 0x38], 0
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x2c], ecx
jmp 0x414662
or byte [esi + 0x10], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esi], eax
jmp 0x41420b
push 0x14
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
movzx ecx, word [esp + 0x14]
mov edx, dword [esp + 0x64]
mov dword [eax], edx
mov edx, dword [esp + 0x54]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ebx
mov word [eax + 0x10], cx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x30]
jae 0x4145f5
mov dword [esp + 0x34], 0
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x2c], ecx
jmp 0x414603
or byte [esi + 0x10], 1
mov eax, dword [esp]
mov dword [esp], 0
jmp 0x414593
lea ecx, [esp + 0x28]
lea eax, [esp + 0x34]
push eax
call fcn.004154f0
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], 0
xor ebx, ebx
test ecx, ecx
je 0x414210
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x414210
push 4
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, dword [esp + 0x5c]
mov dword [eax], ecx
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 0x2c]
cmp ecx, dword [esp + 0x30]
jae 0x4146b0
mov dword [esp + 0x3c], 0
mov dword [ecx], eax
add ecx, 4
mov dword [esp + 0x2c], ecx
jmp 0x4146be
lea ecx, [esp + 0x28]
lea eax, [esp + 0x38]
push eax
call fcn.004154f0
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test ecx, ecx
je 0x414677
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp]
test byte [esp + 0x10], 1
jne 0x414690
mov ecx, ebx
call dword [eax + 4]
mov ebx, 2
jmp 0x414210
mov dword [esp], 0
mov ebx, 2
test eax, eax
je 0x414210
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
jmp 0x414210
lea ecx, [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
call fcn.004154f0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov ebx, 2
test ecx, ecx
je 0x41444d
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x41444d
add ebx, 0xc
mov dword [edi + 0xc], ebx
and byte [esi + 0x10], 0xfe
mov eax, dword [esp + 0x40]
mov dword [esi], eax
movsd xmm0, qword [esp + 0x28]
movsd qword [esi + 4], xmm0
mov eax, dword [esp + 0x30]
mov dword [esi + 0xc], eax
jmp 0x41475d
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
test edi, edi
je 0x41475d
mov ebx, dword [esp + 0x2c]
mov eax, edi
cmp ebx, edi
jne 0x414737
jmp 0x414750
add ebx, 0xfffffffc
cmp ebx, edi
je 0x41474c
mov ecx, dword [ebx - 4]
mov dword [ebx - 4], 0
test ecx, ecx
je 0x414730
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x414730
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], edi
push eax
call sub.libc.dll_operator_delete_void_
add esp, 4
mov eax, esi
add esp, 0x7c
pop esi
pop edi
pop ebx
pop ebp
ret 4