Function at 0x40222b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], esp
push 0xa
push 0x3e9
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402277
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4023f9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4022ab
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4023f9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4022df
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4023f9
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402328
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40234e
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40236a
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402393
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4023a3
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4023b6
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4023dc
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8408]
test ebx, ebx
je 0x4023f3
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8408], eax
mov dword [ebp - 0x10], esp
push 0xc
push 0x3eb
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402427
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4025a9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40245b
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4025a9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40248f
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4025a9
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4024d8
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4024fe
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40251a
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402543
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402553
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402566
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40258c
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b840c]
test ebx, ebx
je 0x4025a3
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b840c], eax
mov dword [ebp - 0x10], esp
push 0xb
push 0x3ea
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4025d7
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402759
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40260b
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402759
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40263f
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402759
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402688
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4026ae
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4026ca
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4026f3
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402703
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402716
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40273c
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8410]
test ebx, ebx
je 0x402753
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8410], eax
mov dword [ebp - 0x10], esp
push 0xd
push 0x3ec
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402787
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402909
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4027bb
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402909
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4027ef
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402909
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402838
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40285e
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40287a
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4028a3
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4028b3
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x4028c6
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4028ec
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8414]
test ebx, ebx
je 0x402903
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8414], eax
mov dword [ebp - 0x10], esp
push 0xe
push 0x3ed
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402937
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402ab9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40296b
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402ab9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40299f
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402ab9
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4029e8
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402a0e
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402a2a
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402a53
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402a63
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402a76
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402a9c
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8418]
test ebx, ebx
je 0x402ab3
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8418], eax
mov dword [ebp - 0x10], esp
push 0xf
push 0x3ee
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402ae7
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402c69
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402b1b
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402c69
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402b4f
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402c69
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402b98
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402bbe
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402bda
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402c03
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402c13
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402c26
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402c4c
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b841c]
test ebx, ebx
je 0x402c63
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b841c], eax
mov dword [ebp - 0x10], esp
push 0x10
push 0x3ef
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402c97
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402e19
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402ccb
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402e19
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402cff
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402e19
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402d48
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402d6e
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402d8a
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402db3
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402dc3
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402dd6
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402dfc
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8420]
test ebx, ebx
je 0x402e13
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8420], eax
mov dword [ebp - 0x10], esp
push 0x11
push 0x3f0
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402e47
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x402fc9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402e7b
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x402fc9
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402eaf
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x402fc9
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x402ef8
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402f1e
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402f3a
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402f63
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402f73
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402f86
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402fac
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8424]
test ebx, ebx
je 0x402fc3
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8424], eax
mov dword [ebp - 0x10], esp
push 0x12
push 0x3f1
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x402ff7
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4031c1
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40302b
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4031c1
mov dword [ebp - 0x10], esp
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40305f
push 6
call fcn.0042ed6f
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4031c1
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.0042fb10
add esp, 0x1c
mov dword [ebp - 0x10], eax
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x4030a8
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4030ce
push ebx
call fcn.0042ed69
add esp, 4
lea eax, [ebp - 0x14]
push eax
call fcn.004031c5
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4030ea
push ebx
call fcn.0042ed69
add esp, 4
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403364
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x403113
push ebx
call fcn.0042ed69
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403123
push ebx
call fcn.0042ed69
add esp, 4
push reloc.WSOCK32.dll_getpeername
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x403136
mov eax, 0x467391
push eax
push 1
mov ebx, 0x168
call fcn.0042f830
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40315c
push ebx
call fcn.0042ed69
add esp, 4
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [0x5b8428]
test ebx, ebx
je 0x403173
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8428], eax
push reloc.WSOCK32.dll_connect
push 0
mov eax, dword [0x5b8428]
test eax, eax
jne 0x40318e
mov eax, 0x4672f2
push eax
push 1
mov ebx, 0x178
call fcn.0042fdf0
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [0x5b8428]
test ebx, ebx
je 0x4031bb
push ebx
call fcn.0042ed69
add esp, 4
pop eax
mov dword [0x5b8428], eax
mov esp, ebp
pop ebp
ret