Function at 0x425da0
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_EnumWindows]
xor ebx, ebx
push ebx
push 0x424830
mov dword [0x526888], ebx
call esi
push ebx
push 0x4248d0
mov dword [0x41ec35c], ebx
call esi
cmp dword [0x41ec35c], 1
jne 0x425dfb
mov ecx, dword [0x5ec298]
add ecx, dword [0x1a3ba10]
mov edx, dword [ebp + 8]
push ebx
push ebx
push 0x526730
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxExA]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push 0x30
lea eax, [ebp - 0x34]
push ebx
push eax
call fcn.004cce10
mov ecx, dword [0x5269f8]
mov edi, dword [ebp + 8]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
add esp, 0xc
push str.IDI_ICON1
push ecx
mov dword [ebp - 0x34], 0x30
mov dword [ebp - 0x2c], 0x425610
mov dword [ebp - 0x30], 0xb
mov dword [ebp - 0x20], edi
call esi
mov edx, dword [0x5269f8]
push str.IDI_ICON1
push edx
mov dword [ebp - 0x1c], eax
call esi
push 0x7f00
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 4
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0xc], 0x525730
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.USER32.dll_RegisterClassExA]
test ax, ax
jne 0x425ec2
mov edx, dword [0x5ec130]
add edx, dword [0x1a3ba10]
mov eax, dword [0x5269f8]
push ebx
push ebx
push 0x526730
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov edx, dword [0x5ec130]
add edx, dword [0x1a3ba10]
push edx
call fcn.0040b000
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [0x526b70], ebx
je 0x425ef9
mov eax, dword [0x526848]
mov ecx, dword [0x525378]
push ebx
push edi
push edi
push ebx
push eax
push ecx
push ebx
push ebx
push 0x90000000
push 0x526730
push 0x525730
push 0x40000
call dword [sym.imp.USER32.dll_CreateWindowExA]
jmp 0x425f5d
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x20
call esi
push 0x21
mov ebx, eax
call esi
push 0xf
mov dword [ebp - 4], eax
call esi
push 4
call esi
mov edx, dword [0x525378]
mov ecx, dword [0x526848]
push 0
push edi
push 0
push 0
lea ebx, [edx + ebx*2]
mov edx, dword [ebp - 4]
lea ecx, [ecx + edx*2]
add ecx, eax
push ecx
push ebx
push connect
push connect
push 0xce0000
push 0x526730
push 0x525730
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [sym.imp.USER32.dll_LoadIconA]
xor ebx, ebx
mov dword [0x5256e8], eax
cmp eax, ebx
jne 0x425fa5
mov ecx, dword [0x5ec134]
add ecx, dword [0x1a3ba10]
mov edx, dword [0x5269f8]
push ebx
push ebx
push 0x526730
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov ecx, dword [0x5ec134]
add ecx, dword [0x1a3ba10]
push ecx
call fcn.0040b000
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5266f8
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [0x5256e8]
push 0x5266f8
push edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [0x5256e8]
push 7
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x5256e8]
push 0xfffffffffffffff2
push ecx
call dword [sym.imp.USER32.dll_GetClassLongA]
mov edx, dword [0x5269f8]
push 0x65
push edx
call esi
push eax
mov eax, dword [0x5256e8]
push 0xfffffffffffffff2
push eax
call dword [sym.imp.USER32.dll_SetClassLongA]
push ebx
push 1
push ebx
mov esi, dword [sym.imp.GDI32.dll_CreateFontA]
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0xc
mov dword [0x5256d8], 6
mov dword [0x5256e4], 0xc
call esi
push ebx
push 1
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push 0x190
push ebx
push ebx
push ebx
push 0xa
mov dword [0x525254], eax
mov dword [0x52536c], 5
mov dword [0x525250], 0xa
call esi
mov dword [0x5267f4], eax
cmp dword [0x525254], ebx
je 0x4260d0
cmp eax, ebx
je 0x4260d0
mov ecx, dword [0x5256e8]
push 0x526730
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [0x526b7c]
mov eax, dword [0x5269e8]
mov ecx, dword [0x525378]
pop edi
mov dword [0x526be4], edx
mov edx, dword [0x526848]
pop esi
mov dword [0x526bdc], ebx
mov dword [0x526be0], ebx
mov dword [0x526be8], eax
mov dword [0x5256ac], ebx
mov dword [0x5256b0], ebx
mov dword [0x5256b4], ecx
mov dword [0x5256b8], edx
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x5ec138]
add ecx, dword [0x1a3ba10]
mov edx, dword [0x5269f8]
push ebx
push ebx
push 0x526730
push ecx
push edx
call dword [sym.imp.USER32.dll_MessageBoxExA]
mov ecx, dword [0x5ec138]
add ecx, dword [0x1a3ba10]
push ecx
call fcn.0040b000
mov edx, dword [0x5256e8]
add esp, 4
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret