Function at 0x461090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x17c
mov eax, dword [0x5b72b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x150], 0x4e1f
cmp dword [ebp - 0x150], 0
jge 0x4610be
push 0
call dword [sym.imp.USER32.dll_DisplayConfigSetDeviceInfo]
mov dword [ebp - 0x168], 0x7ae6
cmp dword [ebp - 0x168], 0
jge 0x4610f1
mov dword [ebp - 0x104], 0x4eb9
push 0xd7
push 1
push 0
mov eax, dword [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_DlgDirSelectComboBoxExA]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x108], edx
mov eax, dword [ebp - 0x108]
push eax
call fcn.0059a63b
add esp, 4
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0x10c], 0x7ae6
cmp dword [ebp - 0x10c], 0
jge 0x461145
mov dword [ebp - 0x110], 0x4eb9
push 0xd7
push 1
push 0
mov ecx, dword [ebp - 0x110]
push ecx
call dword [sym.imp.USER32.dll_DlgDirSelectComboBoxExA]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x114], 0xe7
cmp dword [ebp - 0x114], 0
jge 0x461186
mov dword [ebp - 0x118], 0x19dd
push 0xd4
mov ecx, dword [ebp - 0x118]
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x17c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 0x120], eax
mov ecx, dword [ebp - 0x11c]
push ecx
mov edx, dword [ebp - 0x120]
push edx
mov eax, dword [ebp - 0xfc]
push eax
call fcn.00599600
add esp, 0xc
mov dword [ebp - 0xdc], 0
mov ecx, dword [ebp - 0xfc]
mov dword [ebp - 0xd8], ecx
mov edx, dword [ebp - 0xd8]
movzx eax, word [edx]
cmp eax, 0x5a4d
je 0x4611db
xor eax, eax
jmp 0x461602
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x3c]
add edx, dword [ebp - 0xd8]
mov dword [ebp - 0xd4], edx
mov eax, dword [ebp - 0xd4]
cmp dword [eax], 0x4550
je 0x461205
xor eax, eax
jmp 0x461602
mov dword [ebp - 0x124], 0xd3
cmp dword [ebp - 0x124], 0
jge 0x46123a
mov dword [ebp - 0x128], 0x299e
push 0xc0
mov ecx, dword [ebp - 0x128]
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x178], eax
mov edx, dword [ebp - 0xd4]
movzx eax, word [edx + 4]
cmp eax, 0x14c
je 0x461252
xor eax, eax
jmp 0x461602
mov ecx, 8
imul edx, ecx, 0xe
mov eax, dword [ebp - 0xd4]
cmp dword [eax + edx + 0x78], 0
je 0x4612a6
mov dword [ebp - 0x12c], 0x6bc0
cmp dword [ebp - 0x12c], 0
jge 0x46129f
mov dword [ebp - 0x130], 0x5cee
push 0
push 0xda
push 0xb3
push 0
mov ecx, dword [ebp - 0x130]
push ecx
call dword [sym.imp.USER32.dll_DlgDirListComboBoxA]
xor eax, eax
jmp 0x461602
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xe0], 0
jmp 0x4612cb
mov edx, dword [ebp - 0xe0]
add edx, 1
mov dword [ebp - 0xe0], edx
mov eax, dword [ebp - 0xe0]
cmp eax, dword [ebp - 0xec]
jge 0x461319
cmp dword [ebp - 0xe0], 0
jne 0x4612e4
jmp 0x461319
mov ecx, dword [ebp - 0xe0]
cmp ecx, dword [ebp - 0xec]
jge 0x461317
movsx edx, byte [ebp - 0xec]
add edx, 0xd5
mov eax, dword [ebp - 0xe0]
sub eax, 2
sub eax, dword [ebp - 0xec]
mov byte [ebp + eax - 0xd0], dl
jmp 0x4612e4
jmp 0x4612bc
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ecx + 0x3c]
mov eax, dword [ebp - 0xd8]
lea ecx, [edx + eax + 0xf8]
mov dword [ebp - 0xe8], ecx
mov edx, dword [ebp - 0xd4]
mov eax, dword [edx + 0x34]
mov dword [ebp - 0x134], eax
push 0
push 0x40
push 0x3000
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x50]
push edx
mov eax, dword [ebp - 0x134]
push eax
call fcn.004cd620
add esp, 0x14
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x4613d9
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x50]
mov dword [ebp - 0x138], edx
push 0
push 0x40
push 0x3000
mov eax, dword [ebp - 0x138]
push eax
push 0
call fcn.004cd620
add esp, 0x14
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0x13c], 0xab
cmp dword [ebp - 0x13c], 0
jge 0x4613d9
mov dword [ebp - 0x140], 0x3d56
push 0xcd
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov dword [ebp - 0x174], eax
mov dword [ebp - 0xf0], 0xdc
lea edx, [ebp - 0xf0]
mov dword [ebp - 0x100], edx
cmp dword [ebp - 0xf0], 0
je 0x461453
cmp dword [ebp - 0xf0], 0
jle 0x461403
jmp 0x461453
mov eax, dword [ebp - 0xf0]
add eax, 0x3f
cvtsi2sd xmm0, eax
sub esp, 8
movsd qword [esp], xmm0
call fcn.0059a650
add esp, 8
fstp qword [ebp - 0x170]
movsd xmm0, qword [ebp - 0x170]
divsd xmm0, qword [0x5a41c8]
movsd qword [ebp - 0x170], xmm0
mov ecx, dword [ebp - 0x100]
mov edx, dword [ecx]
add edx, 1
mov eax, dword [ebp - 0x100]
mov dword [eax], edx
jmp 0x4613ef
cmp dword [ebp - 0xdc], 0
jne 0x461463
xor eax, eax
jmp 0x461602
mov ecx, dword [ebp - 0xd4]
mov edx, dword [ecx + 0x54]
mov dword [ebp - 0x144], edx
mov eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0xd8]
push ecx
mov edx, dword [ebp - 0xdc]
push edx
call fcn.00599600
add esp, 0xc
mov dword [ebp - 0xf8], 0
jmp 0x4614aa
mov eax, dword [ebp - 0xf8]
add eax, 1
mov dword [ebp - 0xf8], eax
mov ecx, dword [ebp - 0xd4]
movzx edx, word [ecx + 6]
cmp dword [ebp - 0xf8], edx
jge 0x4615ca
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 0xc]
add ecx, dword [ebp - 0xdc]
mov dword [ebp - 0x158], ecx
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xe4], 0
jmp 0x4614fa
mov edx, dword [ebp - 0xe4]
add edx, 1
mov dword [ebp - 0xe4], edx
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0xf4]
jge 0x461542
cmp dword [ebp - 0xe4], 0
jne 0x461513
jmp 0x461542
mov ecx, dword [ebp - 0xe4]
cmp ecx, dword [ebp - 0xf4]
jge 0x461540
movsx edx, byte [ebp - 0xf4]
add edx, 0x18
mov eax, dword [ebp - 0xe4]
sub eax, 2
sub eax, dword [ebp - 0xf4]
mov byte [ebp + eax - 0x68], dl
jmp 0x461513
jmp 0x4614eb
mov ecx, dword [ebp - 0xe8]
mov edx, dword [ecx + 0x14]
add edx, dword [ebp - 0xd8]
mov dword [ebp - 0x154], edx
mov eax, dword [ebp - 0xe8]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x148], 0x6a73
cmp dword [ebp - 0x148], 0
jge 0x461599
mov dword [ebp - 0x14c], 0x4161
push 0xf0
push 0x5d
push 0
mov edx, dword [ebp - 0x14c]
push edx
call dword [sym.imp.USER32.dll_DlgDirSelectComboBoxExA]
mov eax, dword [ebp - 0x164]
push eax
mov ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x158]
push edx
call fcn.00599600
add esp, 0xc
mov eax, dword [ebp - 0xe8]
add eax, 0x28
mov dword [ebp - 0xe8], eax
jmp 0x46149b
mov dword [ebp - 0x15c], 0x5374
cmp dword [ebp - 0x15c], 0
jge 0x4615fc
mov dword [ebp - 0x160], 0
push 0
push 2
push 0
push 0
mov ecx, dword [ebp - 0x160]
push ecx
call dword [sym.imp.USER32.dll_TileWindows]
mov eax, dword [ebp - 0xdc]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00598916
mov esp, ebp
pop ebp
ret