Function at 0x457630
Capabilities:
Extract resource via kernel32 functions
Hide graphical window

Disassembly:
sub esp, 0x28
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
xor eax, eax
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
push 0x551
push eax
call edi
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 4]
push 0x551
push edx
call edi
mov edi, dword [sym.imp.USER32.dll_ScreenToClient]
mov esi, eax
lea eax, [esp + 0x28]
push eax
push esi
call edi
test eax, eax
je 0x457691
lea ecx, [esp + 0x30]
push ecx
push esi
call edi
push 0x64
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edx, dword [esp + 0x28]
mov esi, eax
mov dword [esi + 8], edx
mov eax, dword [esp + 0x2c]
mov dword [esi + 0xc], eax
mov ecx, dword [esp + 0x30]
mov eax, dword [0x6784cc]
push esi
mov dword [esi + 0x10], ecx
mov edx, dword [esp + 0x38]
push 0xffffffffffffffeb
push eax
mov dword [esi + 0x14], edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, dword [0x678fd0]
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push 0x6d
push ecx
call edi
mov edx, dword [0x678fd0]
mov ebx, dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
push edx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call ebp
push 5
mov dword [esi + 0x18], eax
mov eax, dword [0x678fd0]
push 0x6e
push eax
call edi
mov ecx, dword [0x678fd0]
push eax
push ecx
call ebx
push eax
call ebp
mov edx, dword [0x678fd0]
push 5
push 0x71
push edx
mov dword [esi + 0x1c], eax
call edi
push eax
mov eax, dword [0x678fd0]
push eax
call ebx
push eax
call ebp
mov ecx, dword [0x678fd0]
push 5
push 0x70
push ecx
mov dword [esi + 0x20], eax
call edi
mov edx, dword [0x678fd0]
push eax
push edx
call ebx
push eax
call ebp
push 5
mov dword [esi + 0x24], eax
mov eax, dword [0x678fd0]
push 0x94
push eax
call edi
mov ecx, dword [0x678fd0]
push eax
push ecx
call ebx
push eax
call ebp
mov dword [esi + 0x28], eax
push 5
mov edx, dword [0x678fd0]
push 0x72
push edx
call edi
push eax
mov eax, dword [0x678fd0]
push eax
call ebx
push eax
call ebp
mov ecx, dword [esp + 0x3c]
mov dword [esi + 0x2c], eax
mov edx, dword [ecx + 4]
push 0x551
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
push 4
mov dword [esp + 0x18], eax
call fcn.005d2776
add esp, 4
test eax, eax
mov dword [esp + 0x18], eax
je 0x4577ee
mov eax, dword [0x678fd0]
push 5
push 0x6d
push eax
call edi
mov ecx, dword [0x678fd0]
push eax
push ecx
call ebx
push eax
call ebp
mov edx, dword [esp + 0x14]
push 0
push 0x41cd70
push edx
push eax
mov eax, dword [0x678fd0]
push eax
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [esp + 0x18], ecx
jmp 0x4577f6
mov dword [esp + 0x18], 0
mov ebp, dword [esp + 0x3c]
add ebp, 0x348
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0xb
call fcn.00458cf0
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0xb
call fcn.00458cf0
mov edx, dword [eax]
mov eax, dword [edx]
mov dword [esi + 0x3c], eax
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0xb
call fcn.00458cf0
mov ecx, dword [eax]
mov edx, dword [ecx]
mov eax, dword [esp + 0x3c]
push 4
mov dword [eax + 0x364], edx
call fcn.005d2776
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4578a9
mov ecx, dword [0x678fd0]
push 5
push 0xb8
push ecx
call edi
mov edx, dword [0x678fd0]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x678fd0]
push 0
push 0x42a1d0
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebx], eax
mov edi, ebx
jmp 0x4578ab
xor edi, edi
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0xc
call fcn.00458cf0
mov dword [eax], edi
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0xc
call fcn.00458cf0
mov eax, dword [eax]
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax]
add ebx, 0x11c
push edx
mov edi, ebx
mov dword [esi + 0x54], ecx
call fcn.00458b70
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x120]
add edi, 0x120
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
neg ebx
sbb ebx, ebx
and ebx, edi
mov edi, ebx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x15
call fcn.00458cf0
mov dword [eax], edi
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x15
call fcn.00458cf0
mov ecx, dword [eax]
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x14]
mov edx, dword [ecx]
add ebx, 0x228
push eax
mov edi, ebx
mov dword [esi + 0x44], edx
call fcn.00458bf0
mov edi, dword [esp + 0x3c]
mov ecx, dword [edi + 0x22c]
add edi, 0x22c
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
neg ebx
sbb ebx, ebx
and ebx, edi
mov edi, ebx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x16
call fcn.00458cf0
mov dword [eax], edi
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x16
call fcn.00458cf0
mov edx, dword [eax]
mov ebx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x14]
mov eax, dword [edx]
add ebx, 0x2b0
push ecx
mov edi, ebx
mov dword [esi + 0x58], eax
call fcn.00458c70
mov edi, dword [esp + 0x3c]
mov edx, dword [edi + 0x2b4]
add edi, 0x2b4
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
neg ebx
sbb ebx, ebx
and ebx, edi
mov edi, ebx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x17
call fcn.00458cf0
mov dword [eax], edi
mov edi, 0x17
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], edi
call fcn.00458cf0
mov eax, dword [eax]
mov ecx, dword [eax]
mov edx, dword [esp + 0x3c]
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [edx + 0x360], ecx
mov dword [esp + 0x20], edi
call fcn.00458cf0
mov eax, dword [eax]
mov ecx, dword [eax]
push 4
mov dword [esi + 0x5c], ecx
call fcn.005d2776
mov edi, dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x457a83
mov edx, dword [0x678fd0]
push 5
push 0x70
push edx
call edi
push eax
mov eax, dword [0x678fd0]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x678fd0]
push 0
push 0x421ba0
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebx], eax
mov dword [esp + 0x18], ebx
jmp 0x457a8b
mov dword [esp + 0x18], 0
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x1f
call fcn.00458cf0
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x1f
call fcn.00458cf0
mov edx, dword [eax]
mov eax, dword [edx]
push 4
mov dword [esi + 0x48], eax
call fcn.005d2776
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x457b15
mov ecx, dword [0x678fd0]
push 5
push 0x94
push ecx
call edi
mov edx, dword [0x678fd0]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x678fd0]
push 0
push 0x40d640
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebx], eax
mov dword [esp + 0x18], ebx
jmp 0x457b1d
mov dword [esp + 0x18], 0
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x29
call fcn.00458cf0
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x29
call fcn.00458cf0
mov edx, dword [eax]
mov eax, dword [edx]
push 4
mov dword [esi + 0x4c], eax
call fcn.005d2776
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x457ba4
mov ecx, dword [0x678fd0]
push 5
push 0x6e
push ecx
call edi
mov edx, dword [0x678fd0]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x678fd0]
push 0
push 0x4362d0
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebx], eax
mov dword [esp + 0x18], ebx
jmp 0x457bac
mov dword [esp + 0x18], 0
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x33
call fcn.00458cf0
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x33
call fcn.00458cf0
mov edx, dword [eax]
mov eax, dword [edx]
mov ecx, dword [esp + 0x3c]
mov dword [ecx + 0x35c], eax
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x33
call fcn.00458cf0
mov edx, dword [eax]
mov eax, dword [edx]
push 4
mov dword [esi + 0x40], eax
call fcn.005d2776
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x457c52
mov ecx, dword [0x678fd0]
push 5
push 0x72
push ecx
call edi
mov edx, dword [0x678fd0]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x14]
mov edx, dword [0x678fd0]
push 0
push 0x410960
push ecx
push eax
push edx
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov dword [ebx], eax
mov edi, ebx
jmp 0x457c54
xor edi, edi
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x34
call fcn.00458cf0
mov dword [eax], edi
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0x34
call fcn.00458cf0
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi + 0x50], ecx
mov edx, dword [ebp + 4]
mov esi, dword [edx]
mov ebx, ebp
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], ebx
test ebx, ebx
mov edi, dword [ebp + 4]
je 0x457c9d
cmp ebx, ebp
je 0x457ca2
call fcn.005d29f1
cmp esi, edi
je 0x457d0a
test ebx, ebx
jne 0x457caf
call fcn.005d29f1
cmp esi, dword [ebx + 4]
jne 0x457cb9
call fcn.005d29f1
mov eax, dword [esi + 0x10]
mov ecx, dword [eax]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
cmp esi, dword [ebx + 4]
jne 0x457cd1
call fcn.005d29f1
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x28]
push 0
sub edx, eax
push edx
mov edx, dword [esp + 0x38]
sub edx, ecx
push edx
push eax
mov eax, dword [esi + 0x10]
push ecx
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
lea esi, [esp + 0x20]
call fcn.00433c40
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x20]
jmp 0x457c92
mov edi, dword [ebp + 4]
lea ebx, [esp + 0x20]
lea eax, [esp + 0x18]
mov esi, ebp
mov dword [esp + 0x20], 0xb
call fcn.00458d70
mov esi, eax
mov eax, dword [esi]
test eax, eax
je 0x457d30
cmp eax, ebp
je 0x457d35
call fcn.005d29f1
cmp dword [esi + 4], edi
je 0x457d7c
lea ebx, [esp + 0x20]
mov eax, ebp
mov dword [esp + 0x20], 0xb
call fcn.00458cf0
mov eax, dword [eax]
mov esi, dword [esp + 0x3c]
push 0
push 0
mov dword [esi + 0x354], eax
mov edx, dword [eax]
push 0xbd2
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esi + 0x354]
mov ecx, dword [eax]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x28
ret 4