Function at 0x41d38c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], esp
push 0xb
push 0x7919
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41d405
push 0x97
push 0x402c222
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x41dd43
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41d443
push 0x115
push 0x402c222
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x41dd43
mov dword [ebp - 0x24], esp
push dword [ebp - 4]
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
nop
nop
cmp dword [ebp - 0x24], esp
je 0x41d481
push 0x188
push 0x402c222
push 6
call fcn.0043e37c
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x41dd43
push 0
mov ebx, 0x104
call fcn.00440210
add esp, 4
mov dword [ebp - 0x24], eax
push str..txt
push dword [0x46f875]
push 0x46a2fc
push dword [ebp - 0x24]
mov ecx, 4
call fcn.004019df
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d4d6
push ebx
call fcn.0043e38e
add esp, 4
mov ebx, 6
call fcn.00401a3b
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x41d4f3
mov eax, 0x46a2f3
push eax
push 3
mov ebx, 0x270
call fcn.0043ef80
add esp, 0x28
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41d519
push ebx
call fcn.0043e38e
add esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x28c
call fcn.0043f070
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x2a4
call fcn.0043f0e0
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d56e
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x80000301
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x278
call fcn.00440300
add esp, 0x10
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d5ad
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x138
call fcn.0043ef20
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x46a2fc
push dword [ebp - 0x24]
call fcn.004010c1
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d5f1
push ebx
call fcn.0043e38e
add esp, 4
push 0x46a2fc
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
je 0x41d634
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41d62f
push eax
mov ebx, eax
call fcn.00401299
inc eax
push eax
call fcn.0043e388
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41d650
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41d650
push eax
mov ebx, eax
call fcn.00401299
inc eax
push eax
call fcn.0043e388
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41d663
push ebx
call fcn.0043e38e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d677
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x46a3cb
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d6ac
mov eax, 0x46a2f3
push eax
push 4
mov ebx, 0x148
call fcn.00440310
add esp, 0x34
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffff
je 0x41d7b9
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d6eb
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x138
call fcn.0043ef20
add esp, 0x1c
mov dword [ebp - 0x24], eax
push 0x46a2fc
push dword [ebp - 0x24]
call fcn.004010c1
add esp, 8
cmp eax, 0
mov eax, 0
setne al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d72f
push ebx
call fcn.0043e38e
add esp, 4
push 0x46a2fc
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x28], 0
je 0x41d772
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x41d76d
push eax
mov ebx, eax
call fcn.00401299
inc eax
push eax
call fcn.0043e388
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x41d78e
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x41d78e
push eax
mov ebx, eax
call fcn.00401299
inc eax
push eax
call fcn.0043e388
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x41d7a1
push ebx
call fcn.0043e38e
add esp, 4
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d7b5
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push dword [0x46f8d5]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41d7e5
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x24c
call fcn.0043f890
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d80b
push ebx
call fcn.0043e38e
add esp, 4
cmp dword [ebp - 0x28], 0
jne 0x41d8c6
push 0
mov ebx, 0x104
call fcn.00440210
add esp, 4
mov dword [ebp - 0x24], eax
push str..txt
push dword [0x46f875]
push 0x46a2fc
push dword [ebp - 0x24]
mov ecx, 4
call fcn.004019df
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d85d
push ebx
call fcn.0043e38e
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x41d870
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x244
call fcn.00441c50
add esp, 0x10
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x41d893
push ebx
call fcn.0043e38e
add esp, 4
mov eax, dword [0x46f891]
test eax, eax
je 0x41d8b1
push eax
mov ebx, eax
call fcn.00401299
inc eax
push eax
call fcn.0043e388
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41d8c2
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push 0x46a2f3
push dword [ebp - 0x14]
call fcn.004010c1
add esp, 8
cmp eax, 0
jne 0x41d92f
push 0
mov ebx, 0x104
call fcn.00440210
add esp, 4
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41d907
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x22c
call fcn.00440440
add esp, 0x10
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41d92a
push ebx
call fcn.0043e38e
add esp, 4
jmp 0x41d955
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x41d942
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x22c
call fcn.00440440
add esp, 0x10
push 0x80000301
push 0
push dword [ebp - 8]
push 0x80000301
push 0
push dword [ebp - 0xc]
push 2
mov ebx, 0x910
call fcn.00440690
add esp, 0x1c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41d992
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41d9a9
mov eax, 0x46a40c
push eax
push 1
mov ebx, 4
mov eax, 0x446090
call fcn.0043ed20
add esp, 0x10
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41d9d8
push ebx
call fcn.0043e38e
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
push dword [0x46f8d5]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x20
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41da14
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x260
call fcn.004414b0
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41da37
push ebx
call fcn.0043e38e
add esp, 4
push dword [0x46f8d5]
push dword [0x46f891]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 0x20
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41da72
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x260
call fcn.004414b0
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41da95
push ebx
call fcn.0043e38e
add esp, 4
push dword [0x46f8d5]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41dac1
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x244
call fcn.00441c50
add esp, 0x10
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dae4
push ebx
call fcn.0043e38e
add esp, 4
push dword [0x46f8d5]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41db10
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x244
call fcn.00441c50
add esp, 0x10
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41db33
push ebx
call fcn.0043e38e
add esp, 4
push dword [0x46f8d5]
push dword [0x46f891]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41db62
mov eax, 0x46a2f3
push eax
push 1
mov ebx, 0x244
call fcn.00441c50
add esp, 0x10
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41db85
push ebx
call fcn.0043e38e
add esp, 4
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x67c
call fcn.0043ef10
add esp, 0x10
push dword [0x46f8d5]
push dword [ebp - 0x14]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41dbcf
mov eax, 0x46a40c
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41dbe3
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x26c
call fcn.00441410
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dc09
push ebx
call fcn.0043e38e
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x67c
call fcn.0043ef10
add esp, 0x10
cmp dword [ebp - 0x20], 0
jne 0x41dcc4
push dword [0x46f8d5]
push dword [0x46f891]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x1c]
test eax, eax
jne 0x41dc66
mov eax, 0x46a40c
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41dc7a
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x26c
call fcn.00441410
add esp, 0x1c
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dca0
push ebx
call fcn.0043e38e
add esp, 4
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
push 0x80000301
push 0
push 0x32
push 1
mov ebx, 0x67c
call fcn.0043ef10
add esp, 0x10
push 0x46a379
push dword [0x46f919]
call fcn.004010c1
add esp, 8
cmp eax, 0
jne 0x41dd43
push dword [0x46f8d5]
push dword [0x46f891]
mov ecx, 2
call fcn.004019df
add esp, 8
mov dword [ebp - 0x24], eax
push 0x80000301
push 0
push 2
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x41dd1b
mov eax, 0x46a2f3
push eax
push 2
mov ebx, 0x260
call fcn.004414b0
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x41dd3e
push ebx
call fcn.0043e38e
add esp, 4
jmp 0x41dd43
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x41dd53
push ebx
call fcn.0043e38e
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x41dd63
push ebx
call fcn.0043e38e
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x41dd73
push ebx
call fcn.0043e38e
add esp, 4
mov esp, ebp
pop ebp
ret