Function at 0x402e70
Capabilities:
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x438fb9
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x44b418]
xor eax, esp
mov dword [esp + 0x110], eax
push ebx
push esi
push edi
mov eax, dword [0x44b418]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, ecx
call fcn.00414c79
mov eax, dword [edi + 0x74]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
mov eax, dword [edi + 0x20]
mov ebx, 1
push ebx
push 0x80
push eax
call esi
mov eax, dword [edi + 0x74]
mov ecx, dword [edi + 0x20]
push eax
push 0
push 0x80
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
call fcn.004101aa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f0d
push 0x80004005
call fcn.00402470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
push 0x1775
mov dword [esp + 0x134], 0
call fcn.0041bf8b
test eax, eax
je 0x402f49
push 0x1775
push eax
lea ecx, [esp + 0x18]
call fcn.004065d0
mov esi, dword [esp + 0x10]
mov dword [esp + 0x130], ebx
call fcn.004101aa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402f6a
push 0x80004005
call fcn.00402470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
push esi
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push str._s_s.swf
push edx
mov byte [esp + 0x140], 2
call fcn.004020b0
add esp, 0x10
cmp dword [esi - 4], ebx
jle 0x402fb0
mov eax, dword [esi - 0xc]
push eax
lea ecx, [esp + 0x14]
call fcn.00402130
mov esi, dword [esp + 0x10]
push esi
call fcn.004267d5
mov ebx, dword [esp + 0x1c]
add esp, 4
mov dword [edi + 0xdc], eax
cmp dword [ebx - 4], 1
jle 0x402fda
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402130
mov ebx, dword [esp + 0x18]
push ebx
push 0xa
push 0x1770
call fcn.004038c0
test eax, eax
je 0x40304b
push 0
push 0
push 0x43fcd0
call fcn.00413764
lea eax, [ebx - 0x10]
mov byte [esp + 0x130], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40301d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x130], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403044
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x40389a
cmp dword [ebx - 4], 1
jle 0x403062
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402130
mov ebx, dword [esp + 0x18]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403067
sub eax, edx
push eax
push ebx
lea ecx, [edi + 0xfc]
call fcn.00401380
push 6
lea ecx, [edi + 0xe0]
push 0x43fd0c
mov dword [edi + 0x1ac], 0x1e0
mov dword [edi + 0x1a8], 0x280
call fcn.00401380
push 0xa
lea esi, [edi + 0x134]
push 0x43fd14
mov ecx, esi
call fcn.00401380
call fcn.004101aa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4030d1
push 0x80004005
call fcn.00402470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x1771
mov byte [esp + 0x134], 3
call fcn.0041bf8b
test eax, eax
je 0x403106
push 0x1771
push eax
lea ecx, [esp + 0x1c]
call fcn.004065d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 4
call fcn.004023b0
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403144
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ebx, 1
cmp dword [eax - 4], ebx
jle 0x403163
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402130
mov eax, dword [esp + 0x10]
push eax
call fcn.004267d5
add esp, 4
mov dword [edi + 0x1a8], eax
call fcn.004101aa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40318c
push 0x80004005
call fcn.00402470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x1772
mov byte [esp + 0x134], 5
call fcn.0041bf8b
test eax, eax
je 0x4031c1
push 0x1772
push eax
lea ecx, [esp + 0x1c]
call fcn.004065d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 6
call fcn.004023b0
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4031ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
cmp dword [eax - 4], ebx
jle 0x403219
mov ecx, dword [eax - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402130
mov eax, dword [esp + 0x10]
push eax
call fcn.004267d5
add esp, 4
mov dword [edi + 0x1ac], eax
call fcn.004101aa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403242
push 0x80004005
call fcn.00402470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x1773
mov byte [esp + 0x134], 7
call fcn.0041bf8b
test eax, eax
je 0x403277
push 0x1773
push eax
lea ecx, [esp + 0x1c]
call fcn.004065d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 8
call fcn.004023b0
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4032b5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [esp + 0x10]
cmp dword [edx - 4], ebx
jle 0x4032cf
mov ecx, dword [edx - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402130
mov edx, dword [esp + 0x10]
mov eax, edx
lea ebx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4032d4
sub eax, ebx
push eax
push edx
lea ecx, [edi + 0xe0]
call fcn.00401380
call fcn.004101aa
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403304
push 0x80004005
call fcn.00402470
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0x1774
mov byte [esp + 0x134], 9
call fcn.0041bf8b
test eax, eax
je 0x403339
push 0x1774
push eax
lea ecx, [esp + 0x1c]
call fcn.004065d0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x134], 0xa
call fcn.004023b0
mov byte [esp + 0x130], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403377
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x10]
cmp dword [ebx - 4], 1
jle 0x403392
mov ecx, dword [ebx - 0xc]
push ecx
lea ecx, [esp + 0x14]
call fcn.00402130
mov ebx, dword [esp + 0x10]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x403397
sub eax, edx
push eax
push ebx
mov ecx, esi
call fcn.00401380
lea edx, [esp + 0x1c]
push edx
lea esi, [edi + 0x670]
push str._splay.html
push esi
call fcn.004020b0
mov eax, dword [esi]
sub eax, 0x10
add esp, 0xc
cmp dword [eax + 0xc], 1
jle 0x4033d8
mov eax, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00402130
mov esi, dword [esi]
push esi
push 0x17
push 0xa2
call fcn.004038c0
test eax, eax
je 0x40344f
push 0
push 0
push 0x43fd2c
call fcn.00413764
mov byte [esp + 0x130], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403421
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
mov dword [esp + 0x130], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403448
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
jmp 0x40389a
push 0x43fd68
push 0x31
push 1
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
push 2
push 1
push 0
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0xc
call esi
push eax
lea ecx, [edi + 0x1f0]
call fcn.00416888
push 0x43fd70
push 0x31
push 1
push 2
push 1
push 0
push 0
push 0
push 0
push 0x2bc
push 0
push 0
push 0
push 0xe
call esi
push eax
lea ecx, [edi + 0x1f8]
call fcn.00416888
mov ebx, dword [edi + 0xa8]
call fcn.0040feac
mov eax, dword [eax + 0xc]
mov esi, dword [sym.imp.USER32.dll_LoadBitmapA]
push 0x88
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xac]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x8a
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xb0]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x89
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xb4]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x87
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xb8]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x8d
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xbc]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x8e
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xc0]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x8b
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xc4]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x92
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xc8]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x91
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xcc]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x8c
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xd0]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x8f
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xd4]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x90
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
mov ebx, dword [edi + 0xd8]
call fcn.0040feac
mov eax, dword [eax + 0xc]
push 0x9d
push eax
call esi
push eax
mov ecx, ebx
call fcn.00416888
push 0xc
lea ebx, [edi + 0x25c]
call fcn.00408f83
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x403665
mov dword [eax + 4], ecx
mov dword [eax], vtable.CGdiPlusBitmapResource.0
mov dword [eax + 8], ecx
jmp 0x403667
xor eax, eax
push 0x43fd78
push 0xa7
mov esi, eax
mov dword [ebx + 0x74], eax
call fcn.004076b0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43fd7c
call fcn.00406700
mov ecx, ebx
call sym.gbox.exe_public:_void___thiscall_CGdipButton::SetToolTipText_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____int_
push 0xc
lea ebx, [edi + 0x464]
call fcn.00408f83
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x4036b9
mov dword [eax + 4], ecx
mov dword [eax], vtable.CGdiPlusBitmapResource.0
mov dword [eax + 8], ecx
jmp 0x4036bb
xor eax, eax
push 0x43fd90
push 0xa6
mov esi, eax
mov dword [ebx + 0x74], eax
call fcn.004076b0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43fd94
call fcn.00406700
mov ecx, ebx
call sym.gbox.exe_public:_void___thiscall_CGdipButton::SetToolTipText_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____int_
push 0xc
lea ebx, [edi + 0x360]
call fcn.00408f83
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x40370d
mov dword [eax + 4], ecx
mov dword [eax], vtable.CGdiPlusBitmapResource.0
mov dword [eax + 8], ecx
jmp 0x40370f
xor eax, eax
push 0x43fda8
push 0xa3
mov esi, eax
mov dword [ebx + 0x74], eax
call fcn.004076b0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43fdac
call fcn.00406700
mov ecx, ebx
call sym.gbox.exe_public:_void___thiscall_CGdipButton::SetToolTipText_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____int_
push 0xc
lea ebx, [edi + 0x568]
call fcn.00408f83
xor ecx, ecx
add esp, 4
cmp eax, ecx
je 0x403761
mov dword [eax + 4], ecx
mov dword [eax], vtable.CGdiPlusBitmapResource.0
mov dword [eax + 8], ecx
jmp 0x403763
xor eax, eax
push 0x43fdc0
push 0xa8
mov esi, eax
mov dword [ebx + 0x74], eax
call fcn.004076b0
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x43fdc4
call fcn.00406700
mov ecx, ebx
call sym.gbox.exe_public:_void___thiscall_CGdipButton::SetToolTipText_class_ATL::CStringT_char__class_StrTraitMFC_char__class_ATL::ChTraitsCRT_char_____int_
lea esi, [edi + 0x204]
test esi, esi
jne 0x40379f
xor eax, eax
jmp 0x4037a2
mov eax, dword [esi + 0x20]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x670]
push 0
push 0
push 0
push 0
push eax
push 0x44cc00
push 0
push 0
push 1
push 0x68
push esi
call fcn.0041c229
add esp, 0x2c
cmp dword [edi + 0xf8], 0x10
jb 0x4037e1
mov eax, dword [edi + 0xe4]
jmp 0x4037e7
lea eax, [edi + 0xe4]
push eax
lea esi, [edi + 0x200]
push 0x43fdd8
push esi
call fcn.004020b0
mov esi, dword [esi]
add esp, 0xc
push esi
mov ecx, edi
call fcn.0041c0fd
push 0
push 0xf0100
push 0xc00000
mov ecx, edi
call fcn.0041c0a5
push 1
push 0x2d0
push 0x3c0
push 0
push 0
mov ecx, edi
call fcn.0041c15f
push 0
mov ecx, edi
call fcn.00418b39
push 0xb
mov ecx, edi
call fcn.0041c19f
mov byte [esp + 0x130], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40386a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403895
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00425cbd
mov esp, ebp
pop ebp
ret