Function at 0x434850
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
push 0xffffffffffffffeb
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x514f20]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx*4 + 0x514f20], 0
jne 0x434891
mov edx, dword [ebp + 0x24]
mov dword [edx], 0x3eb
jmp 0x435506
mov eax, dword [ebp + 0x24]
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
cmp dword [edx + ecx*4 + 0x514498], 0
je 0x43497f
lea edx, [ebp - 0x6c]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax + edx*4 + 0x514498]
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [edx + ecx*4 + 0x514498], 0
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x44], 0
jmp 0x434920
mov edx, dword [ebp - 0x44]
add edx, 1
mov dword [ebp - 0x44], edx
cmp dword [ebp - 0x44], 3
jg 0x434944
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp - 0x44]
cmp dword [ecx + edx*4 + 0x514498], 0
je 0x434942
mov dword [ebp - 0x2c], 0
jmp 0x434917
cmp dword [ebp - 0x2c], 0
je 0x43497d
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x521460]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ecx*4 + 0x521460], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [eax*4 + 0x5220a0], 0
jmp 0x43499b
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0
je 0x435127
push 0xa
mov edx, dword [ebp + 8]
movzx eax, word [edx]
push eax
mov ecx, dword [0x521dfc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4349de
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [0x521dfc]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x8c], eax
jmp 0x4349e8
mov dword [ebp - 0x8c], 0
cmp dword [ebp - 0x8c], 0
je 0x43511c
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0x54000900
push 0
mov edx, dword [0x521dfc]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
push 1
push 1
push 0
push 0
mov edx, dword [ebp - 4]
push edx
push 0x516810
push str.ToolbarWindow32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
mov ecx, dword [ebp + 0x10]
mov ecx, dword [ecx]
mov dword [edx + ecx*4 + 0x514498], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
cmp dword [eax + edx*4 + 0x514498], 0
je 0x435111
push 0xfffffffffffffffc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov dword [0x521434], eax
push 0x435f80
push 0xfffffffffffffffc
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax + edx*4 + 0x514498]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00435e20
add esp, 4
push 0
push 0x14
push 0x41e
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edx, dword [ebp - 0xa4]
mov ax, word [edx]
mov word [ebp - 0x74], ax
mov ecx, dword [ebp - 0xa4]
add ecx, 2
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
mov ax, word [edx]
mov word [ebp - 0xbc], ax
mov ecx, dword [ebp - 0xa4]
add ecx, 2
mov dword [ebp - 0xa4], ecx
movzx edx, word [ebp - 0x74]
and edx, 0xffff
movzx eax, dx
movzx ecx, word [ebp - 0xbc]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x420
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
movzx edx, word [ebp - 0x74]
add edx, 6
mov word [ebp - 0x74], dx
movzx eax, word [ebp - 0xbc]
add eax, 6
mov word [ebp - 0xbc], ax
movzx ecx, word [ebp - 0x74]
and ecx, 0xffff
movzx edx, cx
movzx eax, word [ebp - 0xbc]
and eax, 0xffff
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edx
push 0
push 0x41f
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax + edx*4 + 0x514498]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx], 0
jne 0x434c1a
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax]
test ecx, ecx
jne 0x434bfe
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + 2]
test eax, eax
je 0x434c18
mov ecx, dword [ebp - 0xb4]
add ecx, 1
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0x28]
add edx, 2
mov dword [ebp - 0x28], edx
jmp 0x434be9
jmp 0x434c25
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0xb4], ecx
mov edx, dword [ebp - 0xb4]
imul edx, edx, 0x14
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x48], 0
jmp 0x434c62
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
cmp eax, dword [ebp - 0xb4]
jge 0x434e49
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx], 0
jne 0x434c84
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
mov dword [ebp - 8], eax
jmp 0x434c90
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x434cb5
mov ecx, dword [ebp - 0x70]
mov dword [ecx], 0
mov edx, dword [ebp - 0x70]
mov dword [edx + 4], 0
mov eax, dword [ebp - 0x70]
mov byte [eax + 9], 1
jmp 0x434d65
mov ecx, dword [ebp + 0x1c]
cmp dword [ecx], 0
je 0x434d3c
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x90], 0
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x28], edx
jmp 0x434ce2
mov eax, dword [ebp - 0x28]
add eax, 2
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx]
test edx, edx
jne 0x434cf7
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax + 2]
test ecx, ecx
je 0x434d2a
mov edx, dword [ebp - 0x28]
movzx eax, word [edx]
test eax, eax
je 0x434d28
mov ecx, dword [ebp - 0x28]
movzx edx, word [ecx]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x20]
sub edx, dword [ecx + eax*4]
neg edx
sbb edx, edx
inc edx
mov dword [ebp - 0x90], edx
je 0x434d1f
jmp 0x434d2a
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x434cd9
cmp dword [ebp - 0x90], 0
jne 0x434d3c
mov eax, dword [ebp + 0x24]
mov dword [eax], 0x3e9
mov ecx, dword [ebp - 0x70]
mov edx, dword [ebp - 0x3c]
mov dword [ecx], edx
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x70]
mov byte [edx + 9], 0
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0
jne 0x434d65
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp dword [eax*4 + 0x514150], 0
je 0x434d95
push 0
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514150]
push ecx
call dword [sym.imp.USER32.dll_GetMenuState]
mov dword [ebp - 0xac], eax
jmp 0x434dc2
cmp dword [0x514150], 0
je 0x434db8
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [0x514150]
push eax
call dword [sym.imp.USER32.dll_GetMenuState]
mov dword [ebp - 0xac], eax
jmp 0x434dc2
mov dword [ebp - 0xac], 0xffffffff
cmp dword [ebp - 0xac], 0xffffffff
je 0x434e03
mov ecx, dword [ebp - 0xac]
and ecx, 8
je 0x434ddf
mov byte [ebp - 0xb5], 1
jmp 0x434de6
mov byte [ebp - 0xb5], 0
mov edx, dword [ebp - 0xac]
and edx, 1
jne 0x434e01
movzx eax, byte [ebp - 0xb5]
or eax, 4
mov byte [ebp - 0xb5], al
jmp 0x434e0a
mov byte [ebp - 0xb5], 4
mov ecx, dword [ebp - 0x70]
mov dl, byte [ebp - 0xb5]
mov byte [ecx + 8], dl
mov eax, dword [ebp - 0x70]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x70]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 0x70]
add edx, 0x14
mov dword [ebp - 0x70], edx
mov eax, dword [ebp + 0x1c]
cmp dword [eax], 0
jne 0x434e44
mov ecx, dword [ebp - 0x28]
add ecx, 2
mov dword [ebp - 0x28], ecx
jmp 0x434c59
mov edx, dword [0x521dfc]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0xb4]
push eax
push 0x413
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [edx + ecx*4 + 0x514498]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
push 0x414
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax + edx*4 + 0x514498]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 1
je 0x434ec0
mov edx, dword [ebp + 0x10]
cmp dword [edx], 2
jne 0x434efd
lea eax, [ebp - 0x88]
push eax
mov ecx, dword [ebp - 0xb4]
and ecx, 0xffff
movzx edx, cx
or edx, 0x10000
push edx
push 0x427
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [ebp - 0xa0]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x514f20]
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0xc0], ecx
cmp dword [ebp - 0xc0], 3
ja case.default.0x434f35
mov edx, dword [ebp - 0xc0]
jmp dword [edx*4 + 0x43550a]
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jne 0x434faa
cmp dword [ebp - 0xa8], 0
je 0x434fa8
mov ecx, dword [ebp - 0xa8]
cmp dword [ecx], 1
jne 0x434fa8
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x104]
imul eax, eax, 0x14
cmp dword [eax + 0x5144a8], 0
je 0x434fa8
lea ecx, [ebp - 0x88]
push ecx
mov edx, dword [ebp - 0xa8]
mov eax, dword [edx + 0x104]
imul eax, eax, 0x14
mov ecx, dword [eax + 0x5144a8]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x7c]
sub edx, dword [ebp - 0x84]
add edx, dword [ebp - 0x9c]
mov dword [ebp - 0x9c], edx
jmp 0x434fea
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
cmp dword [ecx*4 + 0x514c98], 0
je 0x434fea
lea edx, [ebp - 0x88]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x514c98]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x7c]
sub eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x94]
sub ecx, eax
mov dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x98]
sub edx, dword [ebp - 0xa0]
mov dword [ebp - 0x24], edx
movzx eax, word [ebp - 0xbc]
add eax, 6
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0xa0]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx], 0
jne 0x435022
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x20], eax
jmp 0x43502e
mov ecx, dword [ebp - 0x94]
sub ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x5c]
mov dword [eax + edx*4 + 0x514898], ecx
jmp case.default.0x434f35
movzx edx, word [ebp - 0x74]
add edx, 3
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x94]
sub eax, dword [ebp - 0x9c]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 1
jne 0x435073
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x38], edx
jmp 0x43507f
mov eax, dword [ebp - 0x98]
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x9c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x24]
mov dword [eax + edx*4 + 0x514898], ecx
push 0x214
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x38]
push edx
push 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
imul ecx, ecx, 0x14
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov ecx, dword [ecx + eax*4 + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebp - 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0xb4]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
push edx
call fcn.00436150
add esp, 8
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov edx, dword [edx + ecx*4 + 0x514498]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x43511a
mov eax, dword [ebp + 0x24]
mov dword [eax], 0x3ea
jmp 0x435125
mov ecx, dword [ebp + 0x24]
mov dword [ecx], 0x3ea
jmp 0x435143
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x50], 0
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x68]
sub edx, eax
mov dword [ebp - 0xb0], edx
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x64]
sub edx, dword [ebp - 0x6c]
sub ecx, edx
mov dword [ebp - 0x78], ecx
cmp dword [ebp - 0xa8], 0
je 0x435378
mov eax, dword [ebp + 0x24]
cmp dword [eax], 0x3ea
je 0x43532f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx*4 + 0x514f20]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x43532f
cmp dword [ebp - 0xb0], 0
jne 0x4351b2
cmp dword [ebp - 0x78], 0
je 0x43532f
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov word [ebp - 0x74], dx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov word [ebp - 0xbc], ax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx*4 + 0x514f20]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x435225
cmp dword [ebp - 0x78], 1
jle 0x435208
movzx ecx, word [ebp - 0x74]
add ecx, dword [ebp - 0x78]
mov word [ebp - 0x74], cx
cmp dword [ebp - 0xb0], 1
jle 0x435225
movzx edx, word [ebp - 0xbc]
add edx, dword [ebp - 0xb0]
mov word [ebp - 0xbc], dx
push 0x216
movzx eax, word [ebp - 0xbc]
push eax
movzx ecx, word [ebp - 0x74]
push ecx
push 0
push 0
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x43532f
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 0
jl 0x43532f
cmp dword [ebp - 0xc4], 1
jle 0x435291
jmp 0x43532f
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
cmp dword [edx + 0x51449c], 0
je 0x4352c6
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
imul edx, edx, 0x14
mov eax, dword [edx + 0x51449c]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x50]
sub ecx, dword [ebp - 0x58]
mov dword [ebp - 0x38], ecx
jmp 0x4352cd
mov dword [ebp - 0x38], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
cmp dword [eax + 0x514498], 0
je 0x435302
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
imul eax, eax, 0x14
mov ecx, dword [eax + 0x514498]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [ebp - 0x4c]
sub edx, dword [ebp - 0x54]
mov dword [ebp - 0x20], edx
jmp 0x435309
mov dword [ebp - 0x20], 0
push 0x215
push 0
push 0
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514ff0]
push ecx
call dword [sym.imp.USER32.dll_SetWindowPos]
mov edx, dword [ebp - 0xa8]
cmp dword [edx], 1
jne 0x435378
mov eax, dword [ebp - 0xa8]
push eax
call fcn.00402690
add esp, 4
mov ecx, dword [ebp - 0xa8]
push ecx
call fcn.004026c0
add esp, 4
push 4
mov edx, dword [ebp - 0xa8]
push edx
call fcn.004026a0
add esp, 8
mov eax, dword [ebp - 0xa8]
push eax
call fcn.004026b0
add esp, 4
mov ecx, dword [ebp + 0x24]
cmp dword [ecx], 0x3ea
je 0x4354f4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4354f4
cmp dword [ebp - 0xb0], 0
jne 0x4353b5
cmp dword [ebp - 0x78], 0
je 0x4354f4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
cmp dword [eax*4 + 0x514ff0], 0
je 0x4354f4
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov word [ebp - 0x74], dx
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x18]
mov word [ebp - 0xbc], ax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx*4 + 0x514f20]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x435448
movzx ecx, word [ebp - 0x74]
and ecx, 0xffff
movzx edx, cx
movzx eax, word [ebp - 0xbc]
and eax, 0xffff
movzx ecx, ax
shl ecx, 0x10
or edx, ecx
push edx
push 2
push 5
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514f20]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x435482
movzx edx, word [ebp - 0x74]
and edx, 0xffff
movzx eax, dx
movzx ecx, word [ebp - 0xbc]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx*4 + 0x514f20]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
je 0x435492
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], 3
jne 0x43549b
cmp dword [ebp - 0xb0], 0
jne 0x4354b1
mov edx, dword [ebp + 0x10]
cmp dword [edx], 1
je 0x4354ab
mov eax, dword [ebp + 0x10]
cmp dword [eax], 2
jne 0x4354e0
cmp dword [ebp - 0x78], 0
je 0x4354e0
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax*4 + 0x514ff0]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
mov ecx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x18]
mov edx, dword [ebp + 0x18]
mov dword [edx], ecx
jmp 0x4354f2
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xffffffff
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0xffffffff
jmp 0x435506
mov edx, dword [ebp + 0x18]
mov dword [edx], 0xffffffff
mov eax, dword [ebp + 0x14]
mov dword [eax], 0xffffffff
mov esp, ebp
pop ebp
ret