Function at 0x100021a4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.1001978b
add esp, 4
mov dword [ebp - 0x10], eax
mov edi, eax
mov esi, 0x10049ea8
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0x14], esp
push 0xa
push 0x3e9
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x10002213
push 0x84
push 0x4018434
push 6
call fcn.1001977f
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000251c
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000224f
push 0x100
push 0x4018434
push 6
call fcn.1001977f
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000251c
mov dword [ebp - 0x14], esp
push dword [ebp - 4]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
cmp dword [ebp - 0x14], esp
je 0x1000228b
push 0x171
push 0x4018434
push 6
call fcn.1001977f
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000251c
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.10019eb0
add esp, 0x1c
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x100022d4
mov eax, 0x10049ea8
push eax
push 1
mov ebx, 0x168
call fcn.10019f70
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x100022fa
push ebx
call fcn.10019791
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.1000256f
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10002316
push ebx
call fcn.10019791
add esp, 4
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.100027d2
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1000233f
push ebx
call fcn.10019791
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000234f
push ebx
call fcn.10019791
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10002362
mov eax, 0x10049ea8
push eax
push 1
mov ebx, 0x168
call fcn.10019f70
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10002388
push ebx
call fcn.10019791
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [0x1004ad1a]
test ebx, ebx
je 0x1000239f
push ebx
call fcn.10019791
add esp, 4
pop eax
mov dword [0x1004ad1a], eax
mov eax, dword [0x1004ad1a]
test eax, eax
je 0x100023c3
push eax
mov ebx, eax
call fcn.10002100
inc eax
push eax
call fcn.1001978b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1004ad1e]
test ebx, ebx
je 0x100023d7
push ebx
call fcn.10019791
add esp, 4
pop eax
mov dword [0x1004ad1e], eax
mov eax, dword [0x1004ad1a]
test eax, eax
je 0x100023fb
push eax
mov ebx, eax
call fcn.10002100
inc eax
push eax
call fcn.1001978b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1004ad22]
test ebx, ebx
je 0x1000240f
push ebx
call fcn.10019791
add esp, 4
pop eax
mov dword [0x1004ad22], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x10049ec6
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [0x1004ad1a]
test eax, eax
jne 0x1000243c
mov eax, 0x10049ec8
push eax
push 3
mov ebx, 0x190
call fcn.1001a220
add esp, 0x28
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10002474
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x10002470
imul eax, dword [ebx]
jmp 0x10002465
mov ecx, eax
test ecx, ecx
je 0x10002493
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000248c
push ebx
push eax
call fcn.10019791
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x1000247a
call fcn.10019791
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0x10]
call fcn.1000216b
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jle 0x1000251c
mov ebx, dword [ebp - 0x10]
call fcn.10002184
mov eax, 0
cmp eax, ecx
jl 0x100024dc
push 0x340
push 0x4018434
push 1
call fcn.1001977f
add esp, 0xc
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x10002502
push eax
mov ebx, eax
call fcn.10002100
inc eax
push eax
call fcn.1001978b
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [0x1004ad26]
test ebx, ebx
je 0x10002516
push ebx
call fcn.10019791
add esp, 4
pop eax
mov dword [0x1004ad26], eax
push dword [ebp + 8]
call fcn.100031ee
mov ebx, dword [ebp - 0x10]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x10002542
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x1000253e
imul eax, dword [ebx]
jmp 0x10002533
mov ecx, eax
test ecx, ecx
je 0x10002561
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x1000255a
push ebx
push eax
call fcn.10019791
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x10002548
call fcn.10019791
add esp, 4
mov esp, ebp
pop ebp
ret 4