joyce8/EMBER2024-capa huggingface dataset:
Function at 0x412b70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x471384
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esi], 0x477910
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xc], eax
mov byte [esp + 0x10], 1
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x10], eax
mov byte [esp + 0x10], 2
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x14], eax
mov byte [esp + 0x10], 3
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x18], eax
mov byte [esp + 0x10], 4
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
mov byte [esp + 0x10], 5
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
mov byte [esp + 0x10], 6
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
mov byte [esp + 0x10], 7
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
mov byte [esp + 0x10], 8
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x50]
mov byte [esp + 0x10], 9
call fcn.0042dea0
mov byte [esp + 0x10], 0xa
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0xa5c], eax
push 0x200000
mov byte [esp + 0x14], 0xb
mov dword [esi + 0xa60], 0
call fcn.0045c28b
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xa60], eax
add esp, 4
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x425e10
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x114
mov eax, dword [0x492f50]
mov edx, dword [ebp + 0x10]
push edi
mov dword [esp + 0x114], eax
xor eax, eax
mov byte [esp + 8], 0
mov ecx, 0x40
lea edi, [esp + 9]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0xc]
push 0x104
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [ebp + 8]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [esp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x425e65
mov ecx, dword [ebp + 0x14]
sub eax, edx
push eax
lea edx, [esp + 0xc]
push edx
call fcn.00403ad0
mov ecx, dword [esp + 0x114]
xor eax, eax
call fcn.00449c1e
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x427640
Capabilities:
Access peb ldr_data
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x472f58
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebp
push esi
push edi
mov edi, ecx
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
xor esi, esi
mov dword [esp + 0x20], esi
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0xc], eax
push 0x14
push str.MultiAutoConnectList
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 1
call fcn.00403ad0
push 5
push str.Count
lea ecx, [esp + 0x14]
call fcn.00403ad0
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
push esi
push eax
push ecx
mov byte [esp + 0x30], 2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, eax
cmp ebp, esi
jle 0x42772a
push ebx
mov ebx, dword [esp + 0x2c]
push esi
lea edx, [esp + 0x14]
push str.IP_d
push edx
call fcn.00403c50
mov eax, dword [edi]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00425e10
mov eax, dword [ebx + 8]
add esp, 0x20
lea ecx, [esp + 0x14]
push ecx
push eax
mov ecx, ebx
call fcn.0045aec9
inc esi
cmp esi, ebp
jl 0x4276e5
pop ebx
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x20], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
pop edi
pop esi
pop ebp
jg 0x427750
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp]
add eax, 0xfffffff0
mov byte [esp + 0x14], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427772
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x18
ret 4
Function at 0x427bd0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x472fc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov dword [esp + 0x28], 0
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x28], 1
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x28], 2
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x1c], ebp
push 0xd
push str.AutoSyncTimes
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 3
call fcn.00403ad0
push 5
push str.Times
lea ecx, [esp + 0x20]
call fcn.00403ad0
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
push 0x476970
push ecx
mov byte [esp + 0x34], 4
call fcn.00403c50
mov edi, dword [esp + 0x44]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
lea ecx, [esp + 0x18]
call fcn.004059c0
mov esi, dword [esi]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push esi
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [esi - 0x10]
mov byte [esp + 0x28], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427cd6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebp - 0x10]
mov byte [esp + 0x28], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427cf5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [ebx - 0x10]
mov byte [esp + 0x28], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427d14
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x28], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427d37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea eax, [edi - 0x10]
mov dword [esp + 0x28], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x427d5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
Function at 0x428610
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x473090
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
push str.ResultIOParam
lea ecx, [esp + 0x10]
call fcn.00404830
mov dword [esp + 0x18], 0
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
push 7
push str.SaveDir
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 1
call fcn.00403ad0
mov ecx, dword [esi]
mov edx, dword [esi + 0xc]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0xc]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.00425e10
add esp, 0x14
push 6
push str.BigImg
lea ecx, [esp + 0x10]
call fcn.00403ad0
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push ecx
lea eax, [esi + 0x10]
push eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push edx
push eax
call fcn.00425e10
add esp, 0x14
push 8
push str.SmallImg
lea ecx, [esp + 0x10]
call fcn.00403ad0
mov ecx, dword [esi]
mov edx, dword [esi + 0x14]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x14]
push eax
push edx
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.00425e10
add esp, 0x14
push 6
push str.BinImg
lea ecx, [esp + 0x10]
call fcn.00403ad0
mov ecx, dword [esi]
mov edx, dword [esi + 0x18]
push ecx
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0x18]
push eax
mov eax, dword [esp + 0x10]
push edx
push eax
push ecx
call fcn.00425e10
add esp, 0x14
push 8
push str.PlateLog
lea ecx, [esp + 0x10]
call fcn.00403ad0
mov ecx, dword [esi]
mov edx, dword [esi + 0x1c]
push ecx
lea eax, [esi + 0x1c]
push eax
mov eax, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push edx
push eax
call fcn.00425e10
add esp, 0x14
push 4
push str.Flag
lea ecx, [esp + 0x10]
call fcn.00403ad0
mov eax, dword [esi]
mov ecx, dword [esi + 0x20]
mov edi, dword [esp + 8]
mov edx, dword [esp + 0xc]
push eax
push ecx
push edi
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [esi + 0x20], eax
lea eax, [edi - 0x10]
mov byte [esp + 0x18], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
jg 0x428786
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 4]
add eax, 0xfffffff0
mov dword [esp + 0x10], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4287ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 8]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x428ac0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4730b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
xor ebp, ebp
mov dword [esp + 0x24], ebp
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x10
mov ebx, 1
push str.GlobalResultMode
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c], bl
call fcn.00403ad0
push 5
push str.Count
lea ecx, [esp + 0x18]
call fcn.00403ad0
mov eax, dword [esi]
mov ecx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ebp
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, ebp
mov dword [esp + 0x18], eax
jle 0x428c28
push edi
push ebp
lea edx, [esp + 0x18]
push 0x479320
push edx
call fcn.00403c50
mov eax, dword [0x48f0f4]
lea eax, [eax + eax*8]
shl eax, 3
mov dword [eax + 0x48f13c], ebx
mov dword [eax + 0x48f0f8], ebx
add esp, 0xc
lea eax, [eax + 0x48f0fc]
push eax
lea ecx, [esp + 0x14]
call fcn.00404830
mov eax, dword [esi]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov byte [esp + 0x3c], 2
call fcn.00425e10
mov edx, dword [esp + 0x24]
mov eax, dword [edx - 4]
add esp, 0x14
cmp eax, ebx
jle 0x428bcd
mov edx, dword [edx - 0xc]
push edx
lea ecx, [esp + 0x14]
call fcn.00402f20
mov edx, dword [esp + 0x10]
mov ecx, dword [0x48f0f4]
lea ecx, [ecx + ecx*8]
shl ecx, 3
mov edi, ecx
sub edi, edx
mov eax, edx
lea edi, [edi + 0x48f0fc]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x428be5
mov edi, dword [0x48f0f4]
inc edi
lea eax, [edx - 0x10]
mov dword [0x48f0f4], edi
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x428c1a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x428b53
pop edi
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop esi
pop ebp
pop ebx
jg 0x428c4e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x428c74
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x10]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x430890
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x473608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov edi, dword [esp + 0x28]
push edi
lea eax, [esp + 0xc]
push str._10d
push eax
mov dword [esp + 0x20], 0
call fcn.00403c50
mov edx, dword [esi + 0x1c]
mov ecx, dword [esp + 0x30]
add esp, 0xc
push edx
mov dword [esi + 0x78], ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x4308fd
mov eax, dword [esp + 8]
add eax, 0xfffffff0
jmp 0x43098e
cmp dword [esi + 0x80], edi
je 0x43093f
push 0x3f0
mov ecx, esi
mov dword [esi + 0x80], edi
call fcn.00460845
mov eax, dword [eax + 0x1c]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
jne 0x43093f
push 0xc8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Beep]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
push eax
push 0x404
mov ecx, esi
call fcn.00460845
mov ecx, eax
call fcn.0046096d
mov edx, dword [esp + 0x20]
mov eax, dword [edx]
push eax
push 0x3fd
mov ecx, esi
call fcn.00460845
mov ecx, eax
call fcn.0046096d
mov edi, dword [esp + 8]
push edi
push 0x406
mov ecx, esi
call fcn.00460845
mov ecx, eax
call fcn.0046096d
lea eax, [edi - 0x10]
mov dword [esp + 0x14], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4309ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10
Function at 0x439850
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x474318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x492f50]
push ebx
push esi
mov esi, ecx
push esi
push 0x202
mov dword [esp + 0x24], eax
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
or ebx, 0xffffffff
cmp eax, ebx
mov dword [esi + 0x190], eax
jne 0x4398bf
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, 0x80004005
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x18]
pop ebx
call fcn.00449c1e
add esp, 0x24
ret
mov eax, dword [esi + 0x194]
test eax, eax
je 0x4398a0
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
push 0x13ba
mov dword [esp + 0x1c], eax
mov word [esp + 0x10], 2
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0xe], ax
call fcn.0045c368
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 8], eax
mov ecx, dword [esi + 0x194]
lea eax, [esp + 8]
push eax
push ecx
mov dword [esp + 0x30], 0
call fcn.00419fb0
mov eax, dword [esp + 0x10]
mov ecx, dword [eax - 4]
add esp, 8
cmp ecx, 1
jle 0x43993e
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esp + 0xc]
call fcn.00402f20
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov edx, dword [esp + 8]
test edx, edx
mov dword [esp + 0x10], eax
jne 0x439955
xor eax, eax
jmp 0x439970
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x439960
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x439960
sub eax, edi
pop edi
js 0x4399fd
cmp eax, dword [edx - 8]
jg 0x4399fd
mov dword [edx - 0xc], eax
mov ecx, dword [esp + 8]
push 0x10
lea edx, [esp + 0x10]
mov byte [eax + ecx], 0
mov eax, dword [esi + 0x190]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x4399d7
mov ecx, dword [esi + 0x190]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x4398a0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
jmp 0x4398a0
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov dword [esp + 0x28], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4399f6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
jmp 0x4398a5
push 0x80070057
call fcn.00401210
int3
Function at 0x439a10
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov eax, 0x1004
call fcn.00449bb0
mov eax, dword [0x492f50]
push esi
mov dword [esp + 0x1004], eax
mov esi, ecx
call fcn.00439850
test eax, eax
jge 0x439a4b
mov eax, 0x80004005
pop esi
mov ecx, dword [esp + 0x1000]
call fcn.00449c1e
add esp, 0x1004
ret
push ebx
push edi
push 0
call fcn.0044aec3
add esp, 4
xor edi, edi
push edi
push 1
mov ebx, eax
mov eax, dword [esi + 0x190]
push 0x47c558
push eax
call dword [sym.imp.WS2_32.dll_send]
mov ecx, dword [esi + 0x1ac]
push edi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x439ae8
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_recv]
lea esp, [esp]
mov eax, dword [esi + 0x190]
push 0
push 0x1000
lea edx, [esp + 0x18]
push edx
push eax
call ebp
test eax, eax
jle 0x439ae7
push 0
add edi, eax
call fcn.0044aec3
sub eax, ebx
add esp, 4
cmp eax, 5
jg 0x439ad1
mov ecx, dword [esi + 0x1ac]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x439a90
jmp 0x439ae7
mov eax, 0x66666667
imul edi
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esi + 0x19c], eax
pop ebp
mov ecx, dword [esi + 0x190]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x100c]
pop edi
pop ebx
xor eax, eax
pop esi
call fcn.00449c1e
add esp, 0x1004
ret

Function at 0x43a218
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43a26e
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x476ba8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x43a261
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x43a270
xor eax, eax
pop esi
leave
ret 4
Function at 0x440c4c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x440c9f
call fcn.0046b1da
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x440c9f
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x440c95
xor eax, eax
jmp 0x440db8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x440ccf
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x440ccf
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x440db5
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x440cfc
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.00441fe9
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x440db5
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x440d45
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x440d45
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x440d3f
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.00441fe9
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x440da5
and dword [ebp + 0xc], 0
jmp 0x440da5
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x440da5
push 0xc
call fcn.0045c25b
mov esi, eax
test esi, esi
pop ecx
je 0x440d87
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x440d89
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x440da0
push dword [ebp - 8]
call fcn.0045b341
jmp 0x440da5
call fcn.0045b318
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x440d0a
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc