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

Disassembly:
push 0xffffffffffffffff
push 0x443841
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa4
mov al, byte [0x4594fc]
push ebx
mov ebx, dword [0x4594f4]
push ebp
push esi
push edi
mov edi, dword [0x4594f8]
mov byte [esp + 0x1b], al
test al, al
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], 0
mov eax, str.0000.
jne 0x40f85e
mov eax, str.000.
push eax
lea ecx, [esp + 0x14]
call fcn.0043609a
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0xc4]
mov ebp, dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
lea edx, [esp + 0x8c]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebp
lea ecx, [esp + 0x10]
call fcn.0043602c
push 0x454b90
lea ecx, [esp + 0x14]
call fcn.0043609a
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebp
fild dword [esp + 0x24]
fmul qword [0x446930]
call fcn.00425150
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], eax
call fcn.0043602c
mov ecx, dword [esp + 0x8c]
mov edx, ebx
mov dword [esp + 0x38], edi
mov dword [esp + 0x48], edi
lea eax, [ecx + ebx]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x44], eax
add eax, 0x280
mov dword [esp + 0x4c], eax
lea eax, [ebx + 0x90]
add ecx, edi
mov dword [esp + 0x34], edx
mov dword [eax], edx
mov dword [eax + 4], edi
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x2c], eax
xor edi, edi
mov eax, dword [0x459ac0]
test eax, eax
je 0x40f972
mov edx, dword [0x459ac4]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x40f972
push edi
mov ecx, 0x459ab8
call fcn.00417fc0
test eax, eax
je 0x40f96f
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 4]
mov eax, dword [eax]
lea ecx, [esp + 0x20]
push ecx
mov edx, dword [eax - 8]
push edx
push eax
mov eax, dword [esi + 8]
push eax
call ebp
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
cmp eax, ecx
jle 0x40f96f
mov dword [esp + 0x1c], eax
inc edi
jmp 0x40f91f
push str.
lea ecx, [esp + 0x14]
call fcn.0043609a
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
add edx, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], edx
call fcn.0043602c
mov edx, dword [ebx + 0x68]
mov eax, dword [edx - 8]
test eax, eax
je 0x40fa3a
mov eax, dword [esi]
add ebx, 0x70
push ebx
mov ecx, esi
call dword [eax + 0x28]
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [0x459504]
mov ecx, esi
push eax
call dword [edx + 0x30]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
push 0x820
mov eax, dword [edi + 0x68]
push ecx
mov ecx, dword [eax - 8]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [edi + 0x68]
lea edx, [esp + 0x20]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call ebp
fild dword [esp + 0x24]
fmul qword [0x446928]
call fcn.00425150
mov ebp, dword [sym.imp.USER32.dll_OffsetRect]
mov edi, eax
push edi
lea ecx, [esp + 0x38]
push 0
push ecx
call ebp
push edi
lea edx, [esp + 0x48]
push 0
push edx
call ebp
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x28]
mov ebx, dword [esp + 0x28]
xor edi, edi
mov dword [esp + 0x30], edi
mov eax, dword [0x459ac0]
mov dword [esp + 0x64], edi
test eax, eax
je 0x41000b
mov ecx, dword [0x459ac4]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x41000b
push edi
mov ecx, 0x459ab8
call fcn.00417fc0
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x5c], ebp
je 0x410005
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0x1c]
test al, al
je 0x410005
mov eax, dword [ebx + 0xa0]
mov dword [esp + 0x54], 0
cmp ebp, eax
je 0x40fab1
mov eax, dword [esi]
lea ecx, [ebx + 0x80]
push ecx
mov ecx, esi
call dword [eax + 0x28]
mov dword [esp + 0x54], eax
mov edx, dword [esp + 0x30]
mov eax, dword [0x4553d4]
mov edi, dword [0x459510]
inc edx
mov dword [esp + 0x30], edx
mov edx, dword [0x459518]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
mov edx, dword [ebp]
mov ecx, ebp
mov dword [esp + 0xbc], 0
call dword [edx + 8]
cmp eax, 9
ja case.default.0x40faef
jmp dword [eax*4 + 0x41004c]
mov edi, dword [0x459508]
jmp case.default.0x40faef
mov edi, dword [0x45950c]
push 1
push 0x320
lea eax, [esp + 0x8c]
push str.IDS_INST_OK
push eax
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 1
call fcn.00436165
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x84]
jmp 0x40fd09
mov edi, dword [0x459514]
push 1
push 0x321
lea ecx, [esp + 0x80]
push str.IDS_INST_CANCELED
push ecx
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 2
call fcn.00436165
lea ecx, [esp + 0x78]
mov byte [esp + 0xbc], 0
call fcn.0043602c
mov edx, dword [0x45951c]
mov dword [esp + 0x10], edx
jmp case.default.0x40faef
mov edi, dword [0x459514]
push 1
push 0x322
lea eax, [esp + 0x84]
push str.IDS_INST_FAILED
push eax
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 3
call fcn.00436165
lea ecx, [esp + 0x7c]
mov byte [esp + 0xbc], 0
call fcn.0043602c
mov ecx, dword [0x45951c]
mov dword [esp + 0x10], ecx
jmp case.default.0x40faef
mov edi, dword [0x459510]
push 1
push 0x323
lea edx, [esp + 0x90]
push str.IDS_INST_IN_PROGRESS
push edx
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 4
call fcn.00436165
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x88]
jmp 0x40fd09
mov edi, dword [0x459510]
push 1
push 0x324
lea eax, [esp + 0xa0]
push str.IDS_INST_CHECK
push eax
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 5
call fcn.00436165
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x98]
jmp 0x40fd09
mov edi, dword [0x45950c]
push 1
push 0x325
lea ecx, [esp + 0x9c]
push str.IDS_INST_OK_ALREADY_INSTALLED
push ecx
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 6
call fcn.00436165
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x94]
jmp 0x40fd09
mov edi, dword [0x45950c]
push 1
push 0x326
lea edx, [esp + 0x88]
push str.IDS_INST_OK_NO_NEED_TO_INSTALL
push edx
call fcn.00410a70
add esp, 0x10
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xc0], 7
call fcn.00436165
mov byte [esp + 0xbc], 0
lea ecx, [esp + 0x80]
call fcn.0043602c
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x30]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 4]
push eax
lea ecx, [esp + 0x5c]
call fcn.00435da1
mov eax, dword [ebp]
mov ecx, ebp
mov byte [esp + 0xbc], 8
call dword [eax + 8]
cmp eax, 4
je 0x40fd4e
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 8]
cmp eax, 5
jne 0x40fe54
mov eax, dword [0x459520]
lea ecx, [esp + 0x20]
push eax
push 1
push 0
call fcn.0043cca7
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 9
push ecx
mov ecx, esi
call fcn.0043c52a
mov edx, dword [esp + 0x34]
mov ebx, eax
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0x38]
lea edi, [edx - 8]
lea edx, [esp + 0xac]
mov ecx, dword [eax - 8]
push edx
push ecx
push eax
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esp + 0x1c]
add ecx, eax
mov eax, dword [esp + 0x40]
push 0
lea ecx, [ecx + edx + 0x1c]
mov edx, dword [esp + 0x3c]
sub eax, edx
mov dword [esp + 0x6c], edi
add eax, ebp
add ecx, edi
mov edi, dword [sym.imp.USER32.dll_InflateRect]
mov dword [esp + 0x78], eax
lea eax, [esp + 0x6c]
push 0xffffffffffffffff
push eax
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ecx
call edi
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
push 0xffffffffffffffff
lea eax, [esp + 0x6c]
push 0xffffffffffffffff
push eax
call edi
mov ecx, dword [0x459524]
lea edx, [esp + 0x68]
push ecx
push edx
mov ecx, esi
call fcn.0043e23f
push ebx
mov ecx, esi
call fcn.0043c52a
mov dword [esp + 0x20], vtable.CGdiObject.0
lea ecx, [esp + 0x20]
mov byte [esp + 0xbc], 0xa
call fcn.0043cc91
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x28]
mov byte [esp + 0xbc], 8
mov al, byte [esp + 0x1b]
test al, al
je 0x40fec9
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 8]
test eax, eax
je 0x40fec9
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 8]
cmp eax, 4
je 0x40fec9
mov eax, dword [ebp]
mov ecx, ebp
call dword [eax + 8]
cmp eax, 5
je 0x40fec9
push 0x454aec
lea ecx, [esp + 0x64]
call fcn.0043609a
lea ecx, [esp + 0x60]
lea edx, [esp + 0x34]
push ecx
mov byte [esp + 0xc0], 0xb
sub esp, 0x10
mov ecx, esp
mov dword [esp + 0x70], esp
push edx
call fcn.00410080
push esi
mov ecx, ebx
call fcn.004100a0
lea ecx, [esp + 0x60]
mov byte [esp + 0xbc], 8
call fcn.0043602c
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x8c]
push eax
push str._d.
push ecx
call fcn.0040b030
add esp, 0xc
mov eax, dword [eax]
mov edx, dword [esi]
lea edi, [esp + 0x34]
push 0x26
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
mov byte [esp + 0xcc], 0xc
call dword [edx + 0x68]
lea ecx, [esp + 0x8c]
mov byte [esp + 0xbc], 8
call fcn.0043602c
mov eax, dword [esp + 0x58]
mov edx, dword [esi]
lea edi, [esp + 0x44]
push 0x24
mov ecx, dword [eax - 8]
push edi
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40ff9e
mov ecx, dword [esp + 0x10]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x30]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x44]
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0xa4], ecx
mov dword [esp + 0x9c], edx
mov edx, dword [esp + 0x50]
push 0
lea ecx, [esp + 0xa0]
push eax
push ecx
mov dword [esp + 0xb4], edx
call edi
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
lea ebp, [esp + 0x9c]
push 0x24
mov ecx, dword [eax - 8]
push ebp
push ecx
push eax
mov ecx, esi
call dword [edx + 0x68]
jmp 0x40ffa4
mov edi, dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x48]
sub eax, edx
push eax
lea eax, [esp + 0x48]
push 0
push eax
call edi
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
sub eax, edx
lea ecx, [esp + 0x34]
push eax
push 0
push ecx
call edi
mov eax, dword [esp + 0x54]
test eax, eax
je 0x40ffdc
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x28]
lea ecx, [esp + 0x58]
mov byte [esp + 0xbc], 0
call fcn.0043602c
lea ecx, [esp + 0x14]
mov dword [esp + 0xbc], 0xffffffff
call fcn.0043602c
mov edi, dword [esp + 0x64]
inc edi
jmp 0x40fa40
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x50]
push 0x20
push 0x20
mov dword [ebx + 0x98], eax
push edx
mov dword [ebx + 0x9c], ecx
call dword [sym.imp.USER32.dll_InflateRect]
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb0
ret 4