Function at 0x30003d46
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0c
push ebx
xor ebx, ebx
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
xor ecx, ecx
mov edx, 0x300072ac
test eax, eax
setge cl
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 4]
call fcn.30003c4c
cmp eax, 1
mov dword [ebp - 8], eax
jle 0x30004006
push esi
lea eax, [ebp - 0x10]
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push eax
push 0x30003bb2
call dword [sym.imp.USER32.dll_EnumWindows]
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [ebp - 4]
call esi
push 1
push dword [0x300073e8]
call esi
xor eax, eax
lea edi, [ebp - 0x5c]
push 0x12
mov esi, 0x104
pop ecx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x87c]
push esi
push eax
mov eax, dword [0x300022c4]
push 2
call dword [eax + 0x7c]
mov eax, dword [ebp - 4]
mov edi, 0x208
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x46c]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x87c]
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x87c]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x674]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x674]
push edi
push eax
mov eax, dword [0x300022c4]
push 0x4004
mov dword [ebp - 0x5c], 0x48
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x2c], ebx
mov word [ebp - 0x28], bx
mov dword [ebp - 0x18], 1
call dword [eax + 0xd8]
lea eax, [ebp - 0x20]
push eax
mov eax, dword [0x300022c4]
push 0x4005
call dword [eax + 0xd4]
test eax, eax
jne 0x30003e67
push ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [0x300022c4]
push 0x4006
call dword [eax + 0xd4]
test eax, eax
jne 0x30003e8f
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1c], eax
mov eax, dword [0x300022c4]
push 0x4007
call dword [eax + 0xd0]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x264]
push edi
push eax
mov eax, dword [0x300022c4]
push 0x4008
call dword [eax + 0xd8]
xor ecx, ecx
cmp word [ebp - 0x264], bx
je 0x30003ee0
lea eax, [ebp - 0x264]
cmp ecx, esi
jge 0x30003ee0
cmp word [eax], 0x3b
jne 0x30003ed8
mov word [eax], bx
inc ecx
inc eax
inc eax
cmp word [eax], bx
jne 0x30003ecb
push dword [0x300073e0]
lea eax, [ebp - 0x264]
mov dword [ebp - 0x54], eax
mov ecx, 0x1a4
xor eax, eax
lea edi, [ebp - 0xf0c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xf0c]
push eax
lea eax, [ebp - 0x5c]
push eax
mov eax, dword [0x300022c4]
call dword [eax + 0xa8]
cmp dword [ebp - 0x14], ebx
mov esi, eax
je 0x30003f21
call dword [sym.imp.ole32.dll_CoUninitialize]
cmp esi, 0xfffffffe
je 0x30003f86
cmp esi, 0xffffffff
je 0x30003f8e
cmp esi, ebx
je 0x30003f40
lea ecx, [ebp - 0xf0c]
call fcn.30005818
test eax, eax
jne 0x30003f89
jmp 0x30003f7b
call fcn.300047e2
test byte [ebp - 0x34], 4
jne 0x30003f63
lea edx, [ebp - 0x46c]
mov ecx, 0x30003d34
call fcn.30004a8e
test eax, eax
jne 0x30004009
lea edx, [ebp - 0x46c]
mov ecx, 0x30003d3c
call fcn.30004a8e
test eax, eax
jne 0x30004009
push 6
pop edx
push 2
pop ecx
call fcn.300045a4
mov dword [ebp - 8], ebx
cmp esi, 0xfffffffe
je 0x30003fde
lea eax, [ebp - 0x674]
push eax
mov eax, dword [0x300022c4]
push 0x4004
call dword [eax + 0xcc]
mov eax, dword [0x300022c4]
push dword [ebp - 0x20]
push 0x4005
call dword [eax + 0xc4]
mov eax, dword [0x300022c4]
push dword [ebp - 0x1c]
push 0x4006
call dword [eax + 0xc4]
mov eax, dword [0x300022c4]
push dword [ebp - 0x34]
push 0x4007
call dword [eax + 0xc4]
mov ecx, dword [ebp - 4]
mov edx, 0x300072ac
call fcn.30003d16
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 1
push eax
push 0x30003bb2
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
call fcn.300046bc
jmp 0x30003f8e