Function at 0x425e20
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x1c], 0
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
jne 0x4260b2
mov eax, dword [ebp + 0xc]
cmp eax, 0x138
jne 0x425e99
mov eax, dword [edi + 0x18]
push dword [ebp + 0x14]
mov dword [eax + 0x20], 1
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp eax, 0x406
jne 0x425e83
push dword [edi + 0x2c]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push esi
call dword [sym.imp.GDI32.dll_SetBkMode]
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
mov ecx, eax
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x425f9c
mov eax, dword [edi + 0x18]
xor ecx, ecx
mov dword [eax + 0x20], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], ecx
jmp 0x425f9c
cmp eax, 0x110
jne 0x425ec1
mov eax, dword [edi + 0x18]
push dword [ebp + 0x14]
push ecx
mov dword [eax + 0x20], 1
mov eax, esp
mov dword [eax], esi
call fcn.00425a90
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jmp 0x425f9c
cmp eax, 0x113
jne 0x425fb7
mov eax, dword [edi + 0x18]
mov dword [eax + 0x20], 1
sub esi, 2
jne 0x425f93
push esi
call fcn.0044fc4c
mov ecx, dword [edi + 0x24]
add esp, 4
sub ecx, eax
test ecx, ecx
jg 0x425f54
mov eax, dword [edi + 4]
mov dword [ebp + 0x14], eax
call fcn.00438760
mov ebx, dword [sym.imp.USER32.dll_EndDialog]
mov esi, eax
mov eax, dword [esi + 0x214]
test eax, eax
je 0x425f34
cmp dword [ebp + 0x14], 0
je 0x425f20
push eax
call dword [sym.imp.USER32.dll_GetParent]
cmp eax, dword [ebp + 0x14]
jne 0x425f34
push 2
push dword [esi + 0x214]
call ebx
mov dword [esi + 0x214], 0
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
push 0x425810
call dword [sym.imp.USER32.dll_EnumWindows]
push 1
push dword [edi + 4]
call ebx
jmp 0x425f93
push ecx
lea eax, [ebp + 0x14]
mov ecx, edi
push eax
call fcn.00425840
push 0x407
push dword [edi + 4]
mov esi, dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp + 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x425f93
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, dword [edi + 0x18]
cmp dword [eax + 0x20], 0
je 0x4260b2
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
cmp eax, 0x111
jne 0x4260b2
movzx ecx, si
mov ebx, 1
shr esi, 0x10
cmp bx, cx
jne 0x425ffa
xor eax, eax
cmp ax, si
jne 0x425ffa
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x14]
push ebx
push 0
mov ecx, edi
call fcn.00425a40
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov edx, 2
mov eax, esi
cmp dx, cx
jne 0x42601a
xor esi, esi
mov edx, eax
cmp si, ax
jne 0x42601c
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push 2
jmp 0x425fe1
mov edx, esi
movzx eax, dx
mov edx, 0x421
cmp dx, cx
jne 0x4260b2
xor ecx, ecx
cmp cx, ax
jne 0x4260b2
push ecx
push dword [edi + 4]
call fcn.00438760
mov ecx, eax
call fcn.0043f010
test al, al
je 0x42609e
add dword [edi + 0x24], 0x3c
push 0
adc dword [edi + 0x28], 0
call fcn.0044fc4c
mov ecx, dword [edi + 0x24]
add esp, 4
sub ecx, eax
lea eax, [ebp + 0x14]
push ecx
push eax
mov ecx, edi
call fcn.00425840
push 0x407
push dword [edi + 4]
mov esi, dword [eax]
call dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov edx, dword [ebp + 0x14]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x42609e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x18