Function at 0x414000
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.00411730
mov eax, dword [esp]
test eax, eax
je 0x41402c
or byte [esi + 0x10], 1
mov dword [esi], eax
jmp 0x41470d
mov eax, dword [0x41fc24]
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 [0x41fc04]
add eax, 8
mov dword [esp + 0x5c], eax
mov eax, dword [0x41fc48]
add eax, 8
mov dword [esp + 0x60], eax
mov eax, dword [0x41fc40]
add eax, 8
mov dword [esp + 0x64], eax
jmp 0x414089
test bl, 1
jne 0x4146bb
mov ebx, dword [edi + 0xc]
cmp ebx, dword [edi + 0x10]
je 0x414171
mov ecx, ebx
call fcn.0041b140
mov ebx, dword [edi + 0xc]
cmp eax, 7
je 0x414697
cmp ebx, dword [edi + 0x10]
je 0x414171
mov ecx, ebx
call fcn.0041b140
cmp eax, 3
jne 0x41416e
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0xc]
mov dword [edi + 0xc], eax
call fcn.0041b130
and byte [esp + 0x50], 0xfe
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], eax
cmp edx, 8
jne 0x4141e9
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.0041cb6c
test eax, eax
sete bl
mov edx, dword [esp + 0x4c]
cmp edx, 5
je 0x4141f4
xor edx, edx
mov eax, ebx
or al, dl
jne 0x414229
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.0040f480
or byte [esi + 0x10], 1
mov dword [esi], ebx
jmp 0x4141bb
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.0040f480
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 0x414080
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x48], 0
test ecx, ecx
je 0x414080
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x414080
xor ebx, ebx
cmp edx, 5
jne 0x41411d
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.0041cb6c
test eax, eax
sete dl
mov eax, ebx
or al, dl
je 0x414129
mov eax, ebx
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
mov ebp, eax
test al, al
je 0x41430f
cmp ebx, ecx
je 0x41436b
mov dword [esp + 0x44], edx
mov ecx, ebx
call fcn.0041b140
mov ebx, dword [edi + 0xc]
mov ecx, dword [edi + 0x10]
cmp eax, 3
jne 0x41430b
cmp ebx, ecx
je 0x4143ae
mov ecx, ebx
call fcn.0041b140
cmp eax, 3
jne 0x4143ab
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0xc]
mov dword [edi + 0xc], eax
call fcn.0041b130
and byte [esp + 0x1c], 0xfe
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], eax
cmp edx, 9
jne 0x4142c3
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.0041cb6c
test eax, eax
je 0x4145d1
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.0040f480
or byte [esi + 0x10], 1
mov dword [esi], ebx
jmp 0x4143f8
mov edx, dword [esp + 0x44]
cmp ebx, ecx
je 0x41436b
mov dword [esp + 0x44], edx
mov ecx, ebx
call fcn.0041b140
cmp eax, 2
jne 0x414368
mov ecx, dword [edi + 0xc]
lea eax, [ecx + 0xc]
mov dword [edi + 0xc], eax
call fcn.0041b130
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
mov ebx, 0xffffffff
mov eax, ebp
test al, al
je 0x41443c
mov ebx, esp
mov ecx, ebx
push 8
push edi
call fcn.00411730
mov eax, dword [esp]
test eax, eax
je 0x414426
or byte [esi + 0x10], 1
jmp 0x41453f
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.0040f480
or byte [esi + 0x10], 1
jmp 0x4141b9
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.0040f480
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 0x4141c0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x14], 0
test ecx, ecx
je 0x4141c0
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x4141c0
mov ecx, ebx
push edi
call fcn.00411420
mov ebx, dword [esp]
test byte [esp + 0xc], 1
jne 0x414166
mov eax, dword [0x41fbd4]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 6
mov eax, dword [0x41fbd8]
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.00412070
test byte [esp + 0x18], 1
jne 0x41452f
cmp byte [esp + 0x44], 0
je 0x414546
mov ebx, esp
mov ecx, ebx
push edi
call fcn.00414000
test byte [esp + 0x10], 1
jne 0x41458f
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 0x414600
mov dword [esp + 0x38], 0
mov dword [ecx], eax
add ecx, 4
jmp 0x414610
or byte [esi + 0x10], 1
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], 0
mov dword [esi], eax
jmp 0x4141bb
push 0x14
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
movzx eax, word [esp + 0x14]
mov edx, dword [esp + 0x64]
mov dword [ecx], edx
mov edx, dword [esp + 0x54]
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x58]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], ebx
mov word [ecx + 0x10], ax
mov dword [esp + 0x34], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jae 0x41459f
mov dword [esp + 0x34], 0
mov dword [eax], ecx
add eax, 4
jmp 0x4145ad
or byte [esi + 0x10], 1
mov eax, dword [esp]
mov dword [esp], 0
jmp 0x41453f
lea ecx, [esp + 0x28]
lea eax, [esp + 0x34]
push eax
call fcn.00415be0
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x34], 0
xor ebx, ebx
test ecx, ecx
je 0x4141c0
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4141c0
push 4
call sub.libc.dll_operator_new_unsigned_int_
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x5c]
mov dword [ecx], eax
mov dword [esp + 0x3c], ecx
mov eax, dword [esp + 0x2c]
cmp eax, dword [esp + 0x30]
jae 0x414662
mov dword [esp + 0x3c], 0
mov dword [eax], ecx
add eax, 4
jmp 0x414670
lea ecx, [esp + 0x28]
lea eax, [esp + 0x38]
push eax
call fcn.00415be0
mov ecx, eax
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x38], 0
test ecx, ecx
je 0x414629
mov eax, dword [ecx]
call dword [eax + 8]
mov eax, dword [esp]
test byte [esp + 0x10], 1
jne 0x414642
mov ecx, ebx
call dword [eax + 4]
mov ebx, 2
jmp 0x4141c0
mov dword [esp], 0
mov ebx, 2
test eax, eax
je 0x4141c0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
jmp 0x4141c0
lea ecx, [esp + 0x28]
lea eax, [esp + 0x3c]
push eax
call fcn.00415be0
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x3c], 0
mov ebx, 2
test ecx, ecx
je 0x4143fd
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4143fd
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 0x41470d
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], eax
test edi, edi
je 0x41470d
mov ebx, dword [esp + 0x2c]
mov eax, edi
cmp ebx, edi
jne 0x4146e7
jmp 0x414700
add ebx, 0xfffffffc
cmp ebx, edi
je 0x4146fc
mov ecx, dword [ebx - 4]
mov dword [ebx - 4], 0
test ecx, ecx
je 0x4146e0
mov eax, dword [ecx]
call dword [eax + 8]
jmp 0x4146e0
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