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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x30001bc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
xor esi, esi
push edi
push esi
push eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x17c], ebx
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x18c], esi
mov dword [ebp - 0x15c], esi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x11c], esi
mov dword [ebp - 0x13c], esi
mov dword [ebp - 0x164], esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, eax
cmp edi, esi
je 0x3003f909
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov eax, dword [eax + 8]
push edi
mov dword [ebp - 0x148], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x3003f90f
mov dword [ebp - 0x148], esi
push dword [ebp + 0x14]
push ebx
call fcn.3001c300
mov ebx, eax
cmp dword [ebx + 0x114], esi
jne 0x3003f92a
xor eax, eax
inc eax
jmp 0x30040722
mov eax, dword [ebx + 0x38]
lea esi, [ebx + 0x30]
sub eax, dword [esi]
lea edi, [ebp - 0x1e0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x140]
movsd dword es:[edi], dword [esi]
xor esi, esi
cmp dword [eax + 0xe6], esi
je 0x3003f96d
mov dword [ebp - 0x110], 1
jmp 0x30040690
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x19c]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [ebx + 0x114]
mov edi, dword [sym.imp.KERNEL32.dll_GlobalAlloc]
dec eax
imul eax, eax, 0x34
add eax, 0x50
push eax
push 0x42
call edi
push eax
mov dword [ebp - 0x14c], eax
call fcn.30067a6d
cmp eax, esi
jne 0x30040722
push 0xc
push 0x42
call edi
push eax
mov dword [ebp - 0x15c], eax
call fcn.30067a6d
cmp eax, esi
mov dword [ebp - 0x110], eax
jne 0x3004067a
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x38]
mov ecx, dword [ebx + 0xf4]
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp + 0x18]
mov esi, dword [ebp - 0x140]
mov dword [ebp - 0x1a4], eax
movzx eax, cl
and eax, 1
mov dword [ebp - 0x1a0], eax
movzx eax, cl
shr eax, 1
and eax, 1
mov dword [ebp - 0x1ac], eax
lea eax, [ebp - 0x18c]
push eax
push 0x67
push 0x64
push dword [esi + 0x26]
call fcn.3003a5eb
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x3004067a
lea eax, [ebp - 0x120]
push eax
push dword [ebx + 0x10]
push 0x66
push dword [esi + 0x26]
call fcn.3003a5eb
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x3004067a
push dword [ebp - 0x120]
call fcn.3001c6ec
push eax
push 0x42
call edi
push eax
mov dword [ebp - 0x114], eax
call fcn.30067a6d
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x3004067a
push dword [ebp - 0x120]
call fcn.3001c6ec
push eax
push dword [ebp - 0x114]
push dword [ebp - 0x120]
call fcn.3003bb09
push dword [ebp - 0x120]
call fcn.3004ee74
and dword [ebp - 0x120], 0
lea eax, [ebp - 0x118]
push eax
push dword [ebx + 0xbc]
push dword [ebx + 0xc0]
push dword [esi + 0x26]
call fcn.3003a5eb
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x3004067a
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 0x118]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x13c], eax
call esi
cmp dword [eax + 0x2c], 0
mov dword [ebp - 0x1b0], eax
je 0x30040664
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x30040664
mov edi, dword [eax + 0x38]
add ecx, eax
mov dword [ebp - 0x180], ecx
mov ecx, dword [ebx + 0x2c]
add edi, eax
and ecx, 0x800
je 0x3003fb27
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x150], edx
jmp 0x3003fb2e
and dword [ebp - 0x150], 0
test ecx, ecx
mov edx, dword [eax + 0x2c]
mov dword [ebp - 0x188], edx
je 0x3003fb54
mov ecx, dword [eax + 0x28]
test ecx, ecx
jl 0x3003fb54
cmp ecx, dword [eax + 0x30]
jge 0x3003fb54
imul ecx, ecx, 0x18
mov eax, dword [ecx + edi + 4]
mov dword [ebp - 0x188], eax
push dword [ebp - 0x14c]
call esi
mov ecx, dword [ebp - 0x150]
or dword [eax + 0x14], 0xffffffff
imul ecx, ecx, 0x18
or dword [eax + 0x18], 0xffffffff
add ecx, edi
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x188]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x144], edx
jge 0x3003fffe
mov edi, dword [ebp - 0x180]
mov esi, edx
imul esi, esi, 0x2c
lea esi, [esi + ebx + 0x16c]
mov dword [ebp - 0x124], esi
mov esi, edx
imul esi, esi, 0x14
lea esi, [esi + edi + 0xc]
mov edi, dword [ebp - 0x110]
add ecx, 0x1c
mov dword [ebp - 0x180], esi
mov dword [ebp - 0x178], ecx
mov ecx, dword [ebp - 0x1b0]
mov ecx, dword [ecx + 0x30]
dec ecx
cmp dword [ebp - 0x150], ecx
jge 0x3003fbe9
mov ecx, dword [ebp - 0x178]
cmp edx, dword [ecx]
jl 0x3003fbe9
inc dword [ebp - 0x150]
add dword [ebp - 0x178], 0x18
mov dword [ebp - 0x158], pe_nt_image_headers32
cmp dword [esi - 4], 0
je 0x3003fbff
inc dword [ebp - 0x11c]
cmp dword [esi - 8], 0
je 0x3003fc0b
inc dword [ebp - 0x11c]
mov ecx, dword [esi]
test ecx, ecx
jl 0x3003ffdb
mov edx, dword [eax + 0x10]
imul edx, edx, 0x34
lea eax, [edx + eax + 0x1c]
mov dword [eax + 0x28], ecx
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x124]
cmp dword [eax + 0x10], 0
mov dword [ebp - 0x164], 1
je 0x3003fc44
inc dword [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
mov eax, dword [eax - 8]
push ecx
push dword [ebp - 0x114]
mov dword [ebp - 0x170], eax
call fcn.3006473a
mov esi, eax
test esi, esi
je 0x3003fca7
test byte [esi + 0x20], 2
jne 0x3003fc7c
mov eax, dword [esi + 0x68]
cmp eax, dword [ebp - 0x170]
jle 0x3003fc7c
mov dword [ebp - 0x170], eax
cmp dword [esi], 1
jne 0x3003fc97
and dword [ebp - 0x16c], 0
add dword [ebp - 0x158], 0x2000
jmp 0x3003feea
xor eax, eax
cmp dword [esi + 0x18], eax
sete al
mov dword [ebp - 0x16c], eax
jmp 0x3003fcae
and dword [ebp - 0x16c], 0
cmp dword [ebp - 0x16c], 0
je 0x3003feea
mov eax, dword [ebp - 0x174]
mov eax, dword [eax + 0x28]
lea edi, [ebp - 0x10c]
call fcn.3003f722
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push dword [ebp - 0x148]
mov dword [ebp - 0x154], eax
mov eax, dword [esi + 0x14]
imul eax, eax, 0x30
lea eax, [eax + esi + 0x50]
push dword [eax + 0x1c]
push dword [eax + 8]
push dword [eax + 4]
push dword [eax]
mov eax, dword [ebp - 0x140]
push dword [eax + 0xb6]
push dword [eax + 0x1c6]
call fcn.30065774
xor edi, edi
test eax, eax
je 0x3003fd25
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, eax
lea eax, [ebp - 0x1d0]
push eax
push dword [ebp - 0x154]
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.GDI32.dll_GetTextExtentPointA]
push dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1d0]
add eax, 4
push eax
push 0
push 0
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_SetRect]
test edi, edi
je 0x3003fd77
push edi
push dword [ebp - 0x13c]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x154]
cdq
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, dword [ebp - 0x154]
mov dword [ebp - 0x1a8], eax
jge 0x3003fd9a
inc eax
inc eax
mov dword [ebp - 0x1a8], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
imul ecx, ecx, 0x30
imul edx, edx, 0x50
add ecx, eax
lea eax, [edx + ecx + 0x78]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x128], eax
call fcn.30067a6d
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x3004067a
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esi + 0x14]
mov edi, eax
imul ecx, ecx, 0x30
mov eax, dword [esi + 0x10]
inc eax
imul eax, eax, 0x50
add eax, ecx
push eax
push esi
push edi
mov dword [ebp - 0x110], edi
call dword [sym.imp.MSVCR80.dll_memmove]
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x10]
imul eax, eax, 0x30
add eax, dword [ebp - 0x1a8]
imul ecx, ecx, 0x50
push dword [ebp - 0x154]
add ecx, eax
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0x14]
lea eax, [ebp - 0x10c]
imul ecx, ecx, 0x30
push eax
mov eax, dword [esi + 0x10]
inc eax
imul eax, eax, 0x50
add eax, edi
add ecx, eax
push ecx
call dword [sym.imp.MSVCR80.dll_memmove]
mov eax, dword [edi + 4]
add esp, 0x18
test eax, eax
je 0x3003fe5b
push eax
mov eax, dword [esi + 8]
lea eax, [eax + esi + 0x50]
push eax
mov eax, dword [edi + 8]
lea eax, [eax + edi + 0x50]
push eax
call dword [sym.imp.MSVCR80.dll_memmove]
add esp, 0xc
mov eax, dword [ebp - 0x154]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 0x130]
mov dword [edi + 0x24], eax
mov eax, dword [ebp - 0x12c]
or dword [edi + 0x3c], 0xffffffff
mov dword [edi + 0x28], eax
mov eax, dword [ebp - 0x130]
push 1
mov dword [edi + 0x40], eax
mov ecx, dword [esi + 0x20]
lea eax, [edi + 0x20]
push 4
push eax
mov dword [eax], ecx
call fcn.30067eb7
mov eax, dword [edi + 0x14]
mov ecx, dword [ebp - 0x154]
imul eax, eax, 0x30
lea eax, [eax + edi + 0x50]
mov dword [eax + 0x30], ecx
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x12c]
jle 0x3003feb9
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x138]
push 1
mov dword [edi + 0x64], eax
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x138]
push 0x80
mov dword [edi + 0x68], eax
lea eax, [ebp - 0x158]
push eax
call fcn.30067eb7
push dword [ebp - 0x114]
mov esi, dword [ebp - 0x124]
call fcn.30064767
cmp dword [ebp - 0x16c], 0
je 0x3003ff35
mov eax, dword [ebp - 0x174]
push 0
push edi
push dword [eax + 0x28]
push dword [ebp - 0x114]
call fcn.30064a95
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x3003ff67
test byte [ebp - 0x158], 0x20
push dword [esi + 4]
je 0x3003ff45
push dword [esi]
jmp 0x3003ff56
test word [ebp - 0x158], 0x2000
jne 0x3003ff41
push dword [ebp - 0x170]
push 0
push 0
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0x130]
sub ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x174]
mov dword [eax + 0x20], ecx
mov edi, eax
lea esi, [ebp - 0x138]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx edx, word [ebp - 0x144]
lea edi, [eax + 0x10]
lea esi, [ebp - 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x158]
mov edi, dword [ebp - 0x110]
mov esi, dword [ebp - 0x180]
mov dword [eax + 0x24], ecx
movzx ecx, word [ebp - 0x150]
shl ecx, 0x10
or ecx, edx
mov edx, dword [ebp - 0x144]
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x124]
mov ecx, dword [ecx + 8]
mov dword [eax + 0x30], ecx
mov eax, dword [ebp - 0x160]
inc dword [eax + 0x10]
add dword [ebp - 0x124], 0x2c
inc edx
add esi, 0x14
cmp edx, dword [ebp - 0x188]
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x180], esi
jl 0x3003fbc0
push dword [ebp - 0x14c]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call esi
cmp dword [ebp - 0x164], 0
jne 0x3004002c
mov dword [ebp - 0x110], 0x71
push dword [ebp - 0x118]
call esi
jmp 0x3004067a
mov eax, dword [ebp - 0x11c]
imul eax, eax, 0x14
push 0
add eax, 0xc
push eax
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_GlobalReAlloc]
push eax
mov dword [ebp - 0x164], eax
call fcn.30067a6d
test eax, eax
mov dword [ebp - 0x110], eax
jne 0x3004001f
mov esi, dword [ebp - 0x164]
push esi
mov dword [ebp - 0x15c], esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x11c]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x1ac]
lea eax, [ebp - 0x184]
push dword [ebp - 0x1a0]
push eax
push dword [ebp - 0x118]
push esi
push dword [ebp - 0x114]
push dword [ebp - 0x14c]
push ebx
push dword [ebp - 0x17c]
call fcn.3003dab6
mov esi, dword [ebp - 0x1b0]
add esi, 0x14
lea edi, [ebp - 0x19c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x19c]
add ecx, dword [ebx + 0x12c]
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
add eax, dword [ebx + 0x12c]
mov dword [ebp - 0x198], eax
mov edx, dword [ebx + 0x12c]
add dword [ebp - 0x194], edx
mov edx, dword [ebp - 0x190]
add edx, dword [ebx + 0x12c]
mov dword [ebp - 0x190], edx
mov esi, dword [ebx + 0x2c]
test si, 0x800
je 0x3004012b
test si, 0x1000
jne 0x3004012b
xor eax, eax
xor edi, edi
xor edx, edx
mov dword [ebp - 0x198], eax
mov dword [ebp - 0x190], edx
jmp 0x3004012d
xor edi, edi
mov esi, dword [ebp - 0x180]
add esi, edx
mov edx, dword [ebp - 0x184]
push esi
mov esi, dword [ebp - 0x194]
add edx, esi
mov esi, dword [sym.imp.USER32.dll_SetRect]
push edx
neg eax
push eax
neg ecx
push ecx
lea eax, [ebp - 0x138]
push eax
call esi
mov eax, dword [ebx + 0x2c]
test ax, 0x1000
je 0x30040178
lea eax, [ebp - 0x1c0]
push eax
push ebx
call fcn.3001c4d4
mov dword [ebp - 0x1b4], edi
jmp 0x30040194
test ax, 0x800
lea eax, [ebp - 0x1c0]
je 0x3004018d
push edi
push edi
push edi
push edi
push eax
call esi
jmp 0x30040194
push eax
push ebx
call fcn.3001c4d4
mov eax, dword [ebp - 0x1b8]
add dword [ebp - 0x130], eax
mov eax, dword [ebp - 0x1bc]
sub dword [ebp - 0x134], eax
mov ecx, dword [ebp - 0x1c0]
mov edx, dword [ebp - 0x1b4]
add dword [ebp - 0x12c], edx
sub dword [ebp - 0x138], ecx
mov edx, dword [ebx + 0x34]
add edx, dword [ebp + 0x1c]
add edx, eax
mov eax, dword [ebx + 0x30]
add edx, dword [ebp - 0x198]
add eax, ecx
add eax, dword [ebp - 0x19c]
push edx
add eax, dword [ebp + 0x18]
push eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [ebp - 0x138]
mov eax, dword [ebp - 0x130]
mov esi, dword [ebp - 0x140]
sub eax, ecx
cdq
sub eax, edx
mov edx, eax
mov eax, dword [ebp - 0x1a4]
sar edx, 1
sub eax, edx
mov edx, dword [esi + 0x7a]
sub eax, ecx
add ecx, eax
cmp ecx, edx
jg 0x30040225
sub edx, dword [ebp - 0x138]
mov eax, edx
push edi
push eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esi + 0xb6]
push edi
push edi
mov dword [ebp - 0x268], eax
mov eax, dword [esi + 0x1c6]
push edi
mov dword [ebp - 0x264], eax
push edi
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x260], edi
mov dword [ebp - 0x25c], edi
mov dword [ebp - 0x258], 0xb40
mov dword [ebp - 0x254], 0x870
mov dword [ebp - 0x250], 0x32
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [esi + 0x24a]
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x230], eax
mov eax, dword [esi + 0x24e]
mov dword [ebp - 0x22c], eax
mov eax, dword [esi + 0x252]
mov dword [ebp - 0x228], eax
mov eax, dword [0x30075344]
mov dword [ebp - 0x220], eax
mov eax, dword [0x3007540c]
mov dword [ebp - 0x21c], eax
mov eax, dword [esi + 0x23e]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x17c]
mov eax, dword [eax + 0x34]
cmp eax, 0xd
mov dword [ebp - 0x23c], edx
mov dword [ebp - 0x238], edi
mov dword [ebp - 0x234], edi
mov dword [ebp - 0x214], edi
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x224], edi
movzx ecx, byte [ebx + 0xb7]
mov ebx, dword [ebx + 0xb4]
je 0x30040323
cmp eax, 0x12
jne 0x30040328
mov ecx, 0xff
cmp ecx, 0xff
jne 0x30040336
mov ebx, dword [esi + 0xe2]
mov eax, dword [esi + 0x1ee]
mov dword [ebp - 0x1f0], eax
mov eax, dword [esi + 0x1de]
mov dword [ebp - 0x1ec], eax
lea eax, [ebp - 0x268]
push eax
push 0x3003f6eb
push edx
push dword [esi + 0xb6]
lea eax, [ebp - 0x138]
push dword [esi + 0x1c6]
mov dword [ebp - 0x20c], ebx
push dword [ebp - 0x114]
mov dword [ebp - 0x208], edi
push dword [ebp - 0x14c]
mov dword [ebp - 0x204], edi
push eax
push dword [ebp - 0x168]
mov dword [ebp - 0x200], edi
mov dword [ebp - 0x1f4], edi
mov dword [ebp - 0x1f8], 6
mov dword [ebp - 0x1fc], edi
mov dword [ebp - 0x1e8], edi
mov dword [ebp - 0x1e4], edi
call fcn.30038789
mov esi, eax
push esi
call fcn.30067a6d
cmp eax, edi
mov dword [ebp - 0x110], eax
jne 0x3004067a
mov edi, dword [ebp - 0x140]
push dword [ebp - 0x114]
xor ebx, ebx
mov dword [0x3009680c], ebx
mov dword [0x30096810], ebx
mov dword [edi + 0xe6], esi
mov esi, dword [sym.imp.KERNEL32.dll_GlobalFree]
call esi
push dword [ebp - 0x14c]
call esi
push dword [edi + 0xe6]
mov dword [ebp - 0x114], ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [eax + 0x10], ebx
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x144], ebx
jle 0x30040527
mov edi, eax
add edi, 0x40
test byte [edi], 0x80
je 0x30040503
push ebx
push 0x80
push edi
call fcn.30067eb7
push dword [edi + 4]
push dword [esi + 0x18]
call fcn.3006473a
push 0x7d007d00
push ebx
push 0x472
push dword [esi + 0x1c]
mov dword [ebp - 0x148], eax
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [ebp - 0x148]
push pe_nt_image_headers32
push 0x470
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
push dword [esi + 0x18]
call fcn.30064767
push ebx
push 0x400
push 0x471
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, ebx
mov dword [ebp - 0x128], eax
je 0x30040503
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push dword [eax + 0x1c]
mov ecx, dword [edi - 0x1c]
sub ecx, dword [edi - 0x24]
mov dword [ebp - 0x148], eax
push ecx
push ebx
push dword [eax + 0x14]
add eax, 0x50
push eax
call fcn.3006b77e
push ebx
push dword [ebp - 0x148]
push dword [edi + 4]
push dword [esi + 0x18]
call fcn.30064a95
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
inc dword [ebp - 0x144]
mov eax, dword [ebp - 0x160]
mov ecx, dword [ebp - 0x144]
add edi, 0x34
cmp ecx, dword [eax + 0x10]
jl 0x3004043c
mov edi, dword [ebp - 0x140]
push dword [esi + 0x14]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 8
push 8
mov eax, 0xffff8ad0
push eax
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_MoveWindow]
mov eax, dword [ebp - 0x17c]
movzx ecx, word [ebp + 0x14]
mov dword [esi + 0x44], 2
movzx eax, word [eax]
shl eax, 0x10
or eax, ecx
mov dword [esi + 0x3c], eax
mov eax, dword [ebp - 0x164]
mov dword [esi + 0x34], eax
mov eax, dword [ebp - 0x1a4]
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], ebx
mov eax, dword [edi + 0x26]
push 1
mov dword [esi + 0x38], eax
push 0x400
add esi, 0x10
push esi
mov dword [ebp - 0x15c], ebx
call fcn.30067eb7
push 1
push 0x800
push esi
call fcn.30067eb7
push 1
push 8
push esi
call fcn.30067eb7
mov eax, dword [ebp - 0x130]
sub eax, dword [ebp - 0x138]
cmp eax, dword [ebp - 0x1c8]
jl 0x300405d1
mov eax, dword [ebp - 0x12c]
sub eax, dword [ebp - 0x134]
cmp eax, dword [ebp - 0x1c4]
jge 0x3004061d
push dword [ebp + 0x1c]
lea eax, [ebp - 0x1e0]
push dword [ebp + 0x18]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
push 2
lea eax, [ebp - 0x1e0]
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.GDI32.dll_LPtoDP]
push ebx
lea eax, [ebp - 0x1e0]
push eax
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push 0x4000
lea eax, [edi + 0x22]
push eax
call fcn.30067eb7
push 1
push pe_nt_image_headers32
push esi
call fcn.30067eb7
cmp dword [ebp - 0x1ac], ebx
je 0x3004063f
push 1
push 0x1000
push esi
call fcn.30067eb7
cmp dword [ebp - 0x1a0], ebx
je 0x30040654
push 1
push 0x2000
push esi
call fcn.30067eb7
push dword [edi + 0xe6]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
jmp 0x30040690
push dword [ebp - 0x118]
mov dword [ebp - 0x110], 1
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor esi, esi
cmp dword [ebp - 0x14c], esi
je 0x30040690
push dword [ebp - 0x14c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x18c], esi
je 0x300406a3
push dword [ebp - 0x18c]
call fcn.3004ee74
mov eax, dword [ebp - 0x140]
push dword [eax + 0x1be]
call fcn.3004ee74
cmp dword [ebp - 0x118], esi
je 0x300406c7
push dword [ebp - 0x118]
call fcn.3004ee74
cmp dword [ebp - 0x120], esi
je 0x300406da
push dword [ebp - 0x120]
call fcn.3004ee74
cmp dword [ebp - 0x114], esi
je 0x300406ee
push dword [ebp - 0x114]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x15c], esi
je 0x30040702
push dword [ebp - 0x15c]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x13c], esi
je 0x3004071c
push dword [ebp - 0x13c]
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.30071b52
leave
ret 0x18