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

Disassembly:
sub esp, 0x4c0
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
xor ebx, ebx
push 0x4073e6
push ebx
push 0xc
mov esi, ecx
mov eax, dword [esi + 0x24]
push 0x3f6
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x38], ebx
call ebp
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3f7
push ecx
call ebp
push eax
call edi
mov edx, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3f8
push edx
call ebp
push eax
call edi
mov eax, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3f9
push eax
call ebp
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3fa
push ecx
call ebp
push eax
call edi
mov edx, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3fb
push edx
call ebp
push eax
call edi
mov eax, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3fc
push eax
call ebp
push eax
call edi
mov ecx, dword [esi + 0x24]
push 0x4073e6
push ebx
push 0xc
push 0x3fd
push ecx
call ebp
push eax
call edi
mov edx, dword [esi + 0x24]
push ebx
push ebx
push 0x184
push 0x400
push edx
call ebp
push eax
call edi
mov eax, dword [esi + 0x24]
push ebx
push ebx
push 0x1009
push 0x3ff
push eax
call ebp
push eax
call edi
mov ecx, dword [esi + 0x20]
push ebx
push ebx
push 0x188
push ecx
call edi
lea edx, [esp + 0x1c4]
push edx
push eax
mov eax, dword [esi + 0x20]
push 0x189
push eax
call edi
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x1c4]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0x104
lea eax, [esp + 0x2cc]
push eax
push 0xffffffffffffffff
lea ecx, [esp + 0x1d0]
push ecx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea edx, [esp + 0x20]
push edx
push ebx
push ebx
push 0x10
push ebx
lea eax, [esp + 0x2dc]
push eax
call dword [sym.imp.ole32.dll_StgOpenStorage]
test eax, eax
jne 0x404688
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push 0x4075ec
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jne 0x40467c
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
push edx
push 0x10
push 0x4075dc
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4040df
mov eax, 1
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x54], 2
mov dword [esp + 0x5c], 3
mov dword [esp + 0x64], 4
mov dword [esp + 0x6c], 5
mov dword [esp + 0x74], 6
mov ecx, dword [eax]
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4040c6
cmp word [esp + 0x74], 0x1e
jne 0x404036
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi + 0x24]
push ecx
push ebx
push 0xc
push 0x3f6
push edx
call ebp
push eax
call edi
cmp word [esp + 0x84], 0x1e
jne 0x40405a
mov eax, dword [esp + 0x8c]
mov ecx, dword [esi + 0x24]
push eax
push ebx
push 0xc
push 0x3f7
push ecx
call ebp
push eax
call edi
cmp word [esp + 0x94], 0x1e
jne 0x40407e
mov edx, dword [esp + 0x9c]
mov eax, dword [esi + 0x24]
push edx
push ebx
push 0xc
push 0x3f8
push eax
call ebp
push eax
call edi
cmp word [esp + 0xa4], 0x1e
jne 0x4040a2
mov ecx, dword [esp + 0xac]
mov edx, dword [esi + 0x24]
push ecx
push ebx
push 0xc
push 0x3fc
push edx
call ebp
push eax
call edi
cmp word [esp + 0xb4], 0x1e
jne 0x4040c6
mov eax, dword [esp + 0xbc]
mov ecx, dword [esi + 0x24]
push eax
push ebx
push 0xc
push 0x3fd
push ecx
call ebp
push eax
call edi
lea edx, [esp + 0x74]
push edx
push 5
call dword [sym.imp.ole32.dll_FreePropVariantArray]
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push 0x10
push 0x4075cc
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4042d3
mov eax, 1
lea edx, [esp + 0x74]
push edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x3c]
lea edx, [esp + 0x4c]
push edx
mov dword [esp + 0x54], 0xe
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x64], 2
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x74], 0xd
mov ecx, dword [eax]
push 5
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x4042ba
cmp word [esp + 0x74], 0x1e
jne 0x40417e
mov ecx, dword [esp + 0x7c]
mov edx, dword [esi + 0x24]
push ecx
push ebx
push 0xc
push 0x3f9
push edx
call ebp
push eax
call edi
cmp word [esp + 0x84], 0x1e
jne 0x4041a2
mov eax, dword [esp + 0x8c]
mov ecx, dword [esi + 0x24]
push eax
push ebx
push 0xc
push 0x3fa
push ecx
call ebp
push eax
call edi
cmp word [esp + 0x94], 0x1e
jne 0x4041c6
mov edx, dword [esp + 0x9c]
mov eax, dword [esi + 0x24]
push edx
push ebx
push 0xc
push 0x3fb
push eax
call ebp
push eax
call edi
cmp word [esp + 0xa4], 0x100c
jne 0x4042ba
cmp word [esp + 0xb4], 0x101e
jne 0x4042ba
cmp dword [esp + 0xac], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
jbe 0x4042ba
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x10], ebx
jmp 0x404210
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx + 8]
mov eax, dword [esi + 0x24]
push edx
push ebx
push 0x180
push 0x400
push eax
call ebp
push eax
call edi
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0x10]
cmp dword [eax + ecx + 0x18], 0
jle 0x40429b
nop
mov edx, dword [esp + 0xc0]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx + eax*4]
push ecx
lea edx, [esp + 0xc8]
push 0x407518
push edx
call dword [sym.imp.MSVCR80.dll_sprintf]
mov ecx, dword [esi + 0x24]
add esp, 0xc
lea eax, [esp + 0xc4]
push eax
push 0
push 0x180
push 0x400
push ecx
call ebp
push eax
call edi
mov eax, dword [esp + 0xb0]
mov edx, dword [esp + 0x10]
add dword [esp + 0x14], 1
add ebx, 1
cmp ebx, dword [edx + eax + 0x18]
jl 0x404240
mov ecx, dword [esp + 0x18]
add dword [esp + 0x10], 0x20
add ecx, 2
xor ebx, ebx
cmp ecx, dword [esp + 0xac]
mov dword [esp + 0x18], ecx
jb 0x404210
lea eax, [esp + 0x74]
push eax
push 5
call dword [sym.imp.ole32.dll_FreePropVariantArray]
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push 0x10
push 0x4075bc
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x404670
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [ecx + 0x2c]
mov dword [esp + 0x78], ebx
call eax
test eax, eax
jne 0x404664
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x40]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x404367
lea esp, [esp]
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x40434a
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x3c], 0
add ebx, 1
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x40]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x404330
mov dword [esp + 0x70], ebx
xor ecx, ecx
mov eax, ebx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov dword [esp + 0x18], eax
xor ecx, ecx
mov eax, ebx
mov edx, 0x10
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, ebx
shl ecx, 4
push ecx
push 0
push eax
mov dword [esp + 0x2c], eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x28]
lea edx, [ebx*8]
push edx
push 0
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x14]
add esp, 0x20
push eax
call edx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
xor ebx, ebx
push ebx
lea edx, [esp + 0x40]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x40], ebx
call eax
test eax, eax
jne 0x404488
cmp dword [esp + 0x3c], 0
je 0x404467
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*8], 0
mov eax, dword [esp + 0x3c]
lea edx, [eax + 2]
jmp 0x404410
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404410
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov ecx, dword [esp + 0x14]
mov dword [ecx + ebx*8 + 4], eax
mov ecx, dword [esp + 0x3c]
mov edx, eax
jmp 0x404440
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x404440
mov edx, dword [esp + 0x3c]
push edx
add ebx, 1
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x40]
push edx
push 1
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
je 0x4043f2
mov dword [esp + 0x30], ebx
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esi + 0x24]
push 0
push 0
push 0x1009
push 0x3ff
push eax
call ebp
push eax
call edi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x18]
push edx
push ebx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jne 0x404622
test ebx, ebx
mov dword [esp + 0x34], eax
jle 0x404641
mov ecx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
add ecx, 4
mov dword [esp + 0x28], ecx
mov edx, dword [esp + 0x28]
mov eax, dword [edx]
push 0xff
push eax
lea ecx, [esp + 0xcc]
push ecx
call dword [sym.imp.MSVCR80.dll_wcstombs]
mov edx, dword [esp + 0x40]
lea eax, [esp + 0xd0]
add esp, 0xc
mov dword [esp + 0x48], 1
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], 0
mov dword [esp + 0x5c], eax
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404528
mov edx, dword [esi + 0x24]
sub eax, ecx
lea ecx, [esp + 0x48]
push ecx
push 0
push 0x1007
push 0x3ff
push edx
mov dword [esp + 0x74], eax
call ebp
push eax
call edi
push 0xff
lea eax, [esp + 0xc8]
push eax
push ebx
push esi
call fcn.00403c30
lea ecx, [esp + 0xd4]
mov eax, ecx
mov dword [esp + 0x6c], ecx
add esp, 0x10
mov dword [esp + 0x50], 1
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x404580
lea edx, [esp + 0x48]
push edx
push 0
sub eax, ecx
push 0x1006
mov dword [esp + 0x6c], eax
mov eax, dword [esi + 0x24]
push 0x3ff
push eax
call ebp
push eax
call edi
push 0xff
lea ecx, [esp + 0xc8]
push ecx
push ebx
push esi
call fcn.00403b20
lea edx, [esp + 0xd4]
mov eax, edx
add esp, 0x10
mov dword [esp + 0x50], 2
mov dword [esp + 0x5c], edx
lea ecx, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4045d8
sub eax, ecx
mov ecx, dword [esi + 0x24]
mov dword [esp + 0x60], eax
lea eax, [esp + 0x48]
push eax
push 0
push 0x1006
push 0x3ff
push ecx
call ebp
push eax
call edi
mov eax, dword [esp + 0x34]
add dword [esp + 0x28], 8
add eax, 1
add ebx, 0x10
cmp eax, dword [esp + 0x30]
mov dword [esp + 0x34], eax
jl 0x4044e5
mov ebx, dword [esp + 0x30]
test ebx, ebx
jle 0x404641
mov esi, dword [esp + 0x14]
add esi, 4
lea ecx, [ecx]
mov edx, dword [esi]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
add esi, 8
sub ebx, 1
jne 0x404630
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x70]
push esi
push eax
call dword [sym.imp.ole32.dll_FreePropVariantArray]
mov ecx, dword [esp + 0x14]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
push esi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 8
mov eax, dword [esp + 0x24]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c0
ret