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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101fa4c9
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0xc8], eax
push ebx
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0xe0]
mov dword fs:[0], eax
lea eax, [esp + 0x1c]
push eax
mov esi, ecx
call fcn.100388a0
mov dword [esp + 0xe8], 0
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10038a10
mov dword [esp + 0xe8], 0xffffffff
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x10038a09
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
xor al, al
jmp 0x100390b4
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x89e
push ecx
mov dword [esp + 0x30], eax
call ebx
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push eax
call edi
mov edx, dword [esi + 4]
push 0x8a0
push edx
call ebx
push 0
push 0
push 0xf1
push eax
call edi
mov eax, dword [esi + 4]
push 0x89f
push eax
call ebx
push 0
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 4]
push 0x8a1
push ecx
call ebx
push 0
push 0
push 0xf1
push eax
call edi
mov edx, dword [esi + 4]
push 0x8a2
push edx
call ebx
push 0
push 0
push 0xf1
push eax
call edi
mov eax, dword [esi + 4]
push 0x8a3
push eax
call ebx
push 0
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x28]
sub eax, 0
je 0x10038b2c
sub eax, 1
je 0x10038b0e
sub eax, 2
je 0x10038ae3
mov ecx, dword [esi + 4]
push 0x89e
push ecx
call ebx
push 0
push 1
push 0xf1
push eax
call edi
xor eax, eax
jmp 0x10038c9f
mov edx, dword [esi + 4]
push 0x8a2
push edx
call ebx
push 0
push 1
push 0xf1
push eax
call edi
mov eax, dword [esp + 0x14]
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
jmp 0x10038c9f
mov ecx, dword [esi + 4]
push 0x8a1
push ecx
call ebx
push 0
push 1
push 0xf1
push eax
call edi
xor eax, eax
jmp 0x10038c9f
mov edx, str.site
lea eax, [esp + 0x5c]
call fcn.10007690
mov byte [esp + 0xe8], 1
mov edx, str.site
lea eax, [esp + 0x84]
call fcn.10007690
mov byte [esp + 0xe8], 2
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x70]
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0xa8]
push eax
call edx
mov byte [esp + 0xe8], 4
cmp dword [esp + 0x9c], 8
jb 0x10038b9d
mov eax, dword [esp + 0x88]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0x9c], 7
mov dword [esp + 0x98], eax
mov word [esp + 0x88], ax
mov byte [esp + 0xe8], 5
cmp dword [esp + 0x74], 8
jb 0x10038bd7
mov ecx, dword [esp + 0x60]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
cmp dword [esp + 0xb8], 8
mov dword [esp + 0x70], eax
mov word [esp + 0x60], ax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0x74], 7
jae 0x10038c00
lea eax, [esp + 0xa4]
mov ecx, str.home
call fcn.1019c610
test al, al
je 0x10038c19
mov edx, dword [esi + 4]
push 0x8a0
push edx
jmp 0x10038c53
cmp dword [esp + 0xb8], 8
mov eax, dword [esp + 0xa4]
jae 0x10038c31
lea eax, [esp + 0xa4]
mov ecx, str.search
call fcn.1019c610
test al, al
je 0x10038c4a
mov eax, dword [esi + 4]
push 0x89f
push eax
jmp 0x10038c53
mov ecx, dword [esi + 4]
push 0x89e
push ecx
call ebx
push 0
push 1
push 0xf1
push eax
call edi
mov byte [esp + 0xe8], 0
cmp dword [esp + 0xb8], 8
jb 0x10038c83
mov edx, dword [esp + 0xa4]
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [esp + 0xb8], 7
mov dword [esp + 0xb4], eax
mov word [esp + 0xa4], ax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0xe8], 6
lea eax, [esi + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
call fcn.100c5980
mov edx, dword [esi + 4]
push 0x8a3
push edx
call ebx
push 0
push 0
mov ebx, eax
push 0x146
push ebx
mov dword [esp + 0x34], ebx
call edi
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x10038d13
jmp 0x10038cf4
mov eax, dword [esp + 0x18]
test eax, eax
jl 0x10038d13
push 0
push eax
push 0x144
push ebx
call edi
mov eax, dword [esp + 0x18]
sub eax, 1
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x10038cf0
add esi, 0x20
mov dword [esp + 0x28], esi
mov esi, dword [esi]
push esi
lea esi, [esp + 0x24]
lea ecx, [esp + 0x28]
call fcn.10039a50
mov byte [esp + 0xe8], 6
xor esi, esi
mov dword [esp + 0x18], esi
jmp 0x10038d40
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x10038e9d
mov edx, dword [esp + 0x34]
sub edx, ecx
mov dword [esp + 0x14], edx
mov eax, 0x88888889
imul edx
add edx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x10038e9d
test ecx, ecx
mov eax, dword [esp + 0x18]
lea edx, [ecx + eax]
mov dword [esp + 0x20], edx
je 0x10038da5
mov edx, dword [esp + 0x34]
sub edx, ecx
mov dword [esp + 0x14], edx
mov eax, 0x88888889
imul edx
add edx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10038daf
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov eax, dword [esp + 0x18]
lea edx, [ecx + eax]
mov dword [esp + 0x80], edx
je 0x10038de6
mov eax, dword [esp + 0x34]
sub eax, ecx
mov edx, eax
mov dword [esp + 0x14], edx
mov eax, 0x88888889
imul edx
add edx, dword [esp + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x10038df0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x18]
cmp dword [ecx + eax + 0x18], 8
jb 0x10038e05
mov eax, dword [ecx + eax + 4]
mov dword [esp + 0x14], eax
jmp 0x10038e0d
lea ecx, [ecx + eax + 4]
mov dword [esp + 0x14], ecx
push 0
push 0
push 0x146
push ebx
call edi
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov dword [esp + 0x60], ecx
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x64], edx
mov edx, dword [eax + 0x38]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x6c], edx
mov edx, dword [eax + 0x38]
lea eax, [esp + 0x5c]
push eax
push ecx
push 0x40b
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ecx
push ebx
mov dword [esp + 0x78], ecx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x6c], 0x37
mov dword [esp + 0x80], edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], esi
call edi
add esi, 1
add dword [esp + 0x18], 0x3c
jmp 0x10038d40
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0xbc]
push eax
call edx
mov byte [esp + 0xe8], 8
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov byte [esp + 0xe8], 9
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0xc0]
push 0xa
push ecx
call fcn.1019fef0
mov esi, dword [esp + 0x4c]
add esp, 0xc
test esi, esi
je 0x10038f6b
mov ecx, dword [esp + 0x44]
sub ecx, esi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10038f6b
test eax, eax
ja 0x10038f16
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x40]
mov ebx, esi
mov esi, dword [esp + 0x28]
call fcn.100c5890
cmp eax, 0xffffffff
jle 0x10038f67
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x10038f49
mov ecx, dword [esp + 0x44]
sub ecx, ebx
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x10038f53
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x40]
call fcn.100c5890
mov ecx, dword [esp + 0x24]
push 0
push eax
push 0x14e
push ecx
call edi
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0xd4], 8
mov eax, dword [esp + 0xc0]
jae 0x10038f83
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.USER32.dll_SetWindowTextW]
xor esi, esi
push esi
push esi
push 0x407
push ebx
call edi
lea edx, [esp + 0x4c]
push edx
push esi
push 0xb2
push eax
call edi
add dword [esp + 0x4c], 2
add dword [esp + 0x54], 0x1a
add dword [esp + 0x50], 3
add dword [esp + 0x58], 8
push esi
push esi
push 0x407
push ebx
call edi
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov edi, dword [esp + 0x54]
push 1
sub edx, ecx
push edx
mov edx, dword [esp + 0x54]
sub edi, edx
push edi
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MoveWindow]
mov byte [esp + 0xe8], 8
mov eax, dword [esp + 0x40]
cmp eax, esi
je 0x10039012
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x44]
push ecx
call fcn.10002b40
mov edx, dword [esp + 0x44]
add esp, 4
push edx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], esi
mov byte [esp + 0xe8], 6
cmp dword [esp + 0xd4], 8
jb 0x10039040
mov eax, dword [esp + 0xc0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0xd4], 7
mov dword [esp + 0xd0], esi
mov word [esp + 0xc0], si
mov byte [esp + 0xe8], 0
mov edi, dword [esp + 0x30]
cmp edi, esi
je 0x1003908c
mov ebx, dword [esp + 0x34]
cmp edi, ebx
je 0x10039083
push edi
call fcn.1004e680
add edi, 0x3c
cmp edi, ebx
jne 0x10039072
mov edi, dword [esp + 0x30]
push edi
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0xe8], 0xffffffff
mov ecx, dword [esp + 0x1c]
cmp ecx, esi
je 0x100390b2
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0xe0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc8]
xor ecx, esp
call fcn.101d19cc
mov esp, ebp
pop ebp
ret