Function at 0x40d91f
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov eax, 0x4672f2
push eax
mov ebx, dword [0x5b8544]
test ebx, ebx
je 0x40d948
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8544], eax
mov eax, 0x46738f
push eax
mov ebx, dword [0x5b8544]
test ebx, ebx
je 0x40d967
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8544], eax
push reloc.WSOCK32.dll_getsockname
push 0
push 0x40e849
push 1
mov ebx, 0x9dc
call fcn.00430cf0
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_EnumWindows]
nop
nop
nop
nop
cmp dword [ebp - 0xc], esp
je 0x40d9b5
push 6
call fcn.0042ed6f
add esp, 4
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x5b8544]
test eax, eax
jne 0x40d9ca
mov eax, 0x4672f2
push eax
push 1
mov ebx, 0x198
call fcn.004300a0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40d9f4
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0xa0000101
push 0
push 0x598cc9
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40da32
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cd9
push 3
mov ebx, 0xc
mov eax, 0x434b40
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40da69
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40da7c
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40daa2
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40dabb
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cea
push 3
mov ebx, 0x10
mov eax, 0x434b60
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40daf2
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40db0b
mov eax, 0x467391
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40db1f
mov eax, 0x467391
push eax
push 3
mov ebx, 0x1ac
call fcn.00430520
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40db45
push ebx
call fcn.0042ed69
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40db7b
cmp dword [0x5b8494], 0
jle 0x40db67
push dword [0x5b8494]
call fcn.00408f72
push 0
call fcn.0042ed51
add esp, 4
jmp 0x40e305
push 0xa0000101
push 0
push 0x598cc9
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40dbb5
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cd9
push 3
mov ebx, 0xc
mov eax, 0x434b40
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40dbec
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40dbff
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40dc25
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40dc3e
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598d02
push 3
mov ebx, 0x10
mov eax, 0x434b60
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40dc75
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40dc8e
mov eax, 0x467391
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40dca2
mov eax, 0x467391
push eax
push 3
mov ebx, 0x1ac
call fcn.00430520
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dcc8
push ebx
call fcn.0042ed69
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40dcfe
cmp dword [0x5b8494], 0
jle 0x40dcea
push dword [0x5b8494]
call fcn.00408f72
push 0
call fcn.0042ed51
add esp, 4
jmp 0x40e305
push 0xa0000101
push 0
push 0x598cc9
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40dd38
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cd9
push 3
mov ebx, 0xc
mov eax, 0x434b40
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40dd6f
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40dd82
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40dda8
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40ddc1
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598d22
push 3
mov ebx, 0x10
mov eax, 0x434b60
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40ddf8
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40de11
mov eax, 0x467391
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40de25
mov eax, 0x467391
push eax
push 3
mov ebx, 0x1ac
call fcn.00430520
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40de4b
push ebx
call fcn.0042ed69
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40de81
cmp dword [0x5b8494], 0
jle 0x40de6d
push dword [0x5b8494]
call fcn.00408f72
push 0
call fcn.0042ed51
add esp, 4
jmp 0x40e305
push 0xa0000101
push 0
push 0x598cc9
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40debb
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cd9
push 3
mov ebx, 0xc
mov eax, 0x434b40
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40def2
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40df05
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40df2b
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40df44
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598d3a
push 3
mov ebx, 0x10
mov eax, 0x434b60
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40df7b
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40df94
mov eax, 0x467391
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40dfa8
mov eax, 0x467391
push eax
push 3
mov ebx, 0x1ac
call fcn.00430520
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40dfce
push ebx
call fcn.0042ed69
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40e004
cmp dword [0x5b8494], 0
jle 0x40dff0
push dword [0x5b8494]
call fcn.00408f72
push 0
call fcn.0042ed51
add esp, 4
jmp 0x40e305
push 0xa0000101
push 0
push 0x598cc9
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40e03e
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cd9
push 3
mov ebx, 0xc
mov eax, 0x434b40
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e075
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e088
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e0ae
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40e0c7
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598d52
push 3
mov ebx, 0x10
mov eax, 0x434b60
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e0fe
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40e117
mov eax, 0x467391
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40e12b
mov eax, 0x467391
push eax
push 3
mov ebx, 0x1ac
call fcn.00430520
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e151
push ebx
call fcn.0042ed69
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40e187
cmp dword [0x5b8494], 0
jle 0x40e173
push dword [0x5b8494]
call fcn.00408f72
push 0
call fcn.0042ed51
add esp, 4
jmp 0x40e305
push 0xa0000101
push 0
push 0x598cc9
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 8], eax
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x40e1c1
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598cd9
push 3
mov ebx, 0xc
mov eax, 0x434b40
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40e1f8
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x40e20b
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40e231
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40e24a
mov eax, 0x4672f2
push eax
push reloc.WSOCK32.dll_getpeername
push 0
push 0x598d6a
push 3
mov ebx, 0x10
mov eax, 0x434b60
call fcn.0042f220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40e281
push ebx
call fcn.0042ed69
add esp, 4
push 0
push 0
push 0
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40e29a
mov eax, 0x467391
push eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x40e2ae
mov eax, 0x467391
push eax
push 3
mov ebx, 0x1ac
call fcn.00430520
add esp, 0x28
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40e2d4
push ebx
call fcn.0042ed69
add esp, 4
cmp dword [ebp - 0x18], 0xffffffff
je 0x40e305
cmp dword [0x5b8494], 0
jle 0x40e2f6
push dword [0x5b8494]
call fcn.00408f72
push 0
call fcn.0042ed51
add esp, 4
jmp 0x40e305
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x40e315
push ebx
call fcn.0042ed69
add esp, 4
mov esp, ebp
pop ebp
ret