joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40f130
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, dword fs:[0x2c]
mov eax, dword [esi]
cmp eax, 0x4cf
jg 0x40f239
je 0x40f1f3
cmp eax, 0x79
je 0x40f1aa
cmp eax, 0x4c9
jne 0x40f291
mov ecx, dword [edi]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x40f1a0
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x40f1a0
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, 0x274d
jmp 0x40f288
mov ecx, dword [edi]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x40f1e9
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x40f1e9
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, 0x274c
jmp 0x40f288
mov ecx, dword [edi]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x40f232
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x40f232
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, 0x2743
jmp 0x40f288
cmp eax, 0x4d0
jne 0x40f2e5
mov ecx, dword [edi]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x40f283
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x40f283
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, 0x2751
mov dword [esi + 4], 0x463bd4
mov dword [esi], eax
test eax, eax
jne 0x40f2e5
cmp ebx, 0xffffffff
jne 0x40f2e9
mov ecx, dword [edi]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x40f2d8
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], ebx
jne 0x40f2d8
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov dword [esi], 0x2719
mov dword [esi + 4], 0x463bd4
pop edi
pop esi
pop ebx
ret
push 0
push 0
push 0x7010
push 0xffff
push ebx
call dword [sym.imp.WS2_32.dll_setsockopt]
pop edi
test eax, eax
mov ecx, esi
pop esi
setne dl
pop ebx
jmp fcn.0040ee00

Function at 0x40f430
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, edx
push edi
cmp ecx, 0xffffffff
jne 0x40f49a
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x40f482
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x40f482
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, dword [ebp + 0x10]
mov dword [eax], 0x2719
mov dword [eax + 4], 0x463bd4
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
mov ebx, dword [ebp + 0xc]
push ebx
push 0x8004667e
push ecx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov ecx, dword [ebp + 0x10]
mov edi, eax
mov edx, edi
shr edx, 0x1f
call fcn.0040ee00
test edi, edi
js 0x40f4d3
cmp dword [ebx], 0
mov al, byte [esi]
je 0x40f4cf
or al, 1
mov byte [esi], al
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
and al, 0xfc
mov byte [esi], al
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4101a0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x463040]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push 0
push 0
lea eax, [esp + 0x17]
mov byte [esp + 0x17], 0
push 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x1c]
push eax
push 1
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 1
push eax
push dword [ecx + 4]
mov dword [esp + 0x2c], 0
call dword [sym.imp.WS2_32.dll_WSASend]
mov eax, dword fs:[0x2c]
mov esi, dword [eax]
mov eax, dword [0x46864c]
cmp eax, dword [esi + 4]
jle 0x410232
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x410232
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esp + 8], 0x463bd4
cmp eax, 0x40
je 0x41024c
cmp eax, 0x4d2
jne 0x410289
mov eax, dword [0x46864c]
cmp eax, dword [esi + 4]
jle 0x410289
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x410289
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov ecx, dword [esp + 0x1c]
pop esi
xor ecx, esp
call fcn.0043435c
mov esp, ebp
pop ebp
ret
Function at 0x4102a0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x424
mov eax, dword [0x463040]
xor eax, esp
mov dword [esp + 0x420], eax
lea eax, [esp + 0x1c]
mov dword [esp + 8], ecx
push ebx
mov dword [esp + 0x1c], eax
mov eax, dword fs:[0x2c]
push esi
push edi
mov dword [esp + 0x20], 0x400
mov ebx, dword [eax]
nop dword [eax]
push 0
push 0
lea eax, [esp + 0x24]
mov dword [esp + 0x20], 0
push eax
lea eax, [esp + 0x24]
mov dword [esp + 0x28], 0
push eax
push 1
lea eax, [esp + 0x34]
push eax
push dword [ecx]
call dword [sym.imp.WS2_32.dll_WSARecv]
mov ecx, dword [0x46864c]
mov dword [esp + 0x10], eax
cmp ecx, dword [ebx + 4]
jle 0x41034f
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x41034f
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
mov edi, 0x463bd4
cmp esi, 0x40
jne 0x4103ac
mov eax, dword [0x46864c]
cmp eax, dword [ebx + 4]
jle 0x41039e
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x41039e
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov edi, 0x463bd4
mov esi, 0x2746
mov eax, edi
jmp 0x410414
cmp esi, 0x4d2
jne 0x4103ff
mov eax, dword [0x46864c]
cmp eax, dword [ebx + 4]
jle 0x4103f1
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x4103f1
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov edi, 0x463bd4
mov esi, 0x274d
mov eax, edi
jmp 0x410414
cmp esi, 0x2738
je 0x41041d
mov eax, 0x463bd4
cmp esi, 0xea
je 0x41041d
cmp dword [esp + 0x10], 0
jne 0x410447
jmp 0x410422
mov eax, 0x463bd4
mov ecx, dword [esp + 0x14]
mov edi, eax
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, 0x400
je 0x4102e0
test eax, eax
jg 0x4104fe
je 0x4104e7
mov eax, dword [0x46864c]
cmp eax, dword [ebx + 4]
jle 0x410484
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x410484
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, dword [edi + 4]
cmp eax, dword [0x463bd8]
jne 0x410497
cmp esi, 0x2733
je 0x4104fe
mov eax, dword [0x46864c]
cmp eax, dword [ebx + 4]
jle 0x4104d4
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x4104d4
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, dword [edi + 4]
cmp eax, dword [0x463bd8]
jne 0x4104e7
cmp esi, 0x4d5
je 0x4104fe
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x420]
xor ecx, esp
call fcn.0043435c
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x42c]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043435c
mov esp, ebp
pop ebp
ret
Function at 0x411750
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e12d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 8]
cmp dword [eax], 0xffffffff
mov edi, dword [ebp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x20], edx
je 0x411802
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x468630]
cmp eax, dword [ecx + 4]
jle 0x4117e3
push 0x468630
call fcn.00434878
add esp, 4
cmp dword [0x468630], 0xffffffff
jne 0x4117e3
push 0x4505d0
call fcn.00434812
add esp, 4
push 0x468630
call fcn.00434827
add esp, 4
mov dword [ebx], 1
mov dword [ebx + 4], 0x463bcc
mov dword [esi], 1
mov dword [esi + 4], 0x463bcc
jmp 0x41193a
push 1
push 0
push 0
push edi
push edx
push ecx
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
mov ecx, ebx
cmp edi, 0xffffffff
sete dl
call fcn.0040ee00
cmp edi, 0xffffffff
jne 0x411829
or edi, edi
jmp 0x411847
cmp dword [ebp - 0x1c], 0x17
jne 0x411847
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
jne 0x411863
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
jmp 0x411930
mov eax, dword [ebp - 0x24]
push 0
push 0
mov eax, dword [eax + 4]
push dword [eax + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x4118d5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword fs:[0x2c]
mov dword [ebp - 0x1c], eax
mov edx, dword [ecx]
mov ecx, dword [0x46864c]
cmp ecx, dword [edx + 4]
jle 0x4118ce
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x4118cb
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ecx, 0x463bd4
jmp 0x4118dc
xor eax, eax
mov ecx, 0x463bbc
mov dword [ebx + 4], ecx
mov dword [ebx], eax
test eax, eax
jne 0x41185b
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], 0xffffffff
mov dword [eax], edi
sub ecx, 1
je 0x41190e
sub ecx, 1
je 0x411908
mov byte [eax + 4], 0
jmp 0x411912
mov byte [eax + 4], 0x20
jmp 0x411912
mov byte [eax + 4], 0x10
push dword [ebp - 0x20]
push ecx
lea ecx, [eax + 8]
call fcn.0041a5e0
xor eax, eax
mov dword [ebx + 4], 0x463bbc
mov dword [ebx], eax
mov dword [esi + 4], 0x463bbc
lea ecx, [ebp - 0x18]
mov dword [esi], eax
call fcn.0040fae0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 0x18
Function at 0x411960
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 4]
add eax, 0x18
lock inc dword [eax]
cmp byte [ebp + 0x18], 0
push 0
je 0x4119ad
mov ecx, dword [edi + 4]
push 0
push ebx
call fcn.0040e400
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [ecx]
cmp eax, 0xffffffff
jne 0x4119d5
mov ecx, dword [edi + 4]
push 0x2719
push ebx
call fcn.0040e400
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 0x18
push ebx
push dword [ebp + 0x14]
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push dword [ebp + 0x10]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
mov ecx, 0x274d
cmove eax, ecx
test esi, esi
je 0x411a2f
cmp eax, 0x3e5
je 0x411a2f
push dword [ebp - 8]
mov ecx, dword [edi + 4]
push eax
push ebx
call fcn.0040e400
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 0x18
mov ecx, dword [edi + 4]
push ebx
call fcn.0040e390
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043435c
mov esp, ebp
pop ebp
ret 0x18
Function at 0x4127c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
jne 0x412879
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
cmp edi, 4
jb 0x412859
mov ecx, eax
sub ecx, ebx
add ecx, 2
mov dword [ebp - 4], ecx
nop dword [eax + eax]
movzx esi, byte [ecx + ebx]
movzx ecx, byte [eax + 3]
movzx edx, byte [ebx + 3]
shl ecx, 8
or esi, ecx
shl edx, 8
movzx ecx, byte [eax]
shl esi, 0x10
or esi, ecx
movzx ecx, byte [eax + 1]
and ecx, 0xffdfdfdf
and esi, 0xdfdfdfdf
shl ecx, 8
or esi, ecx
movzx ecx, byte [ebx + 2]
or edx, ecx
movzx ecx, byte [ebx]
shl edx, 0x10
or edx, ecx
movzx ecx, byte [ebx + 1]
and ecx, 0xffdfdfdf
and edx, 0xdfdfdfdf
shl ecx, 8
or edx, ecx
cmp edx, esi
jne 0x412879
mov ecx, dword [ebp - 4]
sub edi, 4
add eax, 4
add ebx, 4
cmp edi, 4
jae 0x4127f0
test edi, edi
je 0x412870
sub ebx, eax
nop
mov cl, byte [ebx + eax]
xor cl, byte [eax]
test cl, 0xdf
jne 0x412879
inc eax
sub edi, 1
jne 0x412860
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417e40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e3b5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.USER32.dll
call esi
push str.ADVAPI32.DLL
call esi
push str.SHELL32.dll
call esi
push str.ole32.dll
call esi
push str.OLEAUT32.dll
call esi
push str.VERSION.dll
call esi
push str.IPHLPAPI.DLL
call esi
push str.SHLWAPI.dll
call esi
push 1
call fcn.0043436f
mov dword [ebp - 0x1c], eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x41edf0
push 0
push 0
call fcn.0043cc6d
add esp, 0x1c
mov dword [ebp - 0x18], eax
test eax, eax
je 0x417f26
mov dword [ebp - 4], 1
cmp dword [ebp - 0x14], 0
jne 0x417eeb
push 1
call fcn.004367fa
call sub.KERNEL32.dll_GetCurrentThreadId
mov ecx, dword [ebp - 0x14]
cmp ecx, eax
jne 0x417efe
push 5
call fcn.004367fa
push 0
push ecx
push dword [ebp - 0x18]
call fcn.00436964
add esp, 0xc
test eax, eax
je 0x417f17
push 2
call fcn.004367fa
xorps xmm0, xmm0
push 1
movlpd qword [ebp - 0x18], xmm0
call fcn.004367fa
push 6
mov dword [ebp - 0x14], 0
call fcn.004367fa
int3

Function at 0x4184d0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x34], 0
je 0x41858f
cmp dword [ebp + 8], 0
jne 0x41859f
mov ecx, dword [esi + 0x30]
push edi
call fcn.0040e2d0
mov edi, dword [esi + 0x34]
push 0xffffffffffffffff
push 0
mov eax, dword [edi + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [edi + 4]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov ecx, 0x4685f8
lock xadd dword [ecx], eax
mov ecx, dword [edi + 4]
push 0
push ecx
test eax, eax
je 0x418545
call dword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x41855b
push method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_56
call dword [sym.imp.KERNEL32.dll_QueueUserAPC]
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x34]
test edi, edi
je 0x418576
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xc
push edi
call fcn.0043439f
add esp, 8
pop edi
mov dword [esi + 0x34], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp + 8], 0
je 0x41859f
mov eax, dword [esi + 0x30]
xor ecx, ecx
add eax, 0x1c
xchg dword [eax], ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0043435c
mov esp, ebp
pop ebp
ret 4
Function at 0x418f80
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1a4
mov eax, dword [0x463040]
xor eax, esp
mov dword [esp + 0x1a0], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, 1
lock xadd dword [0x468600], eax
inc eax
mov ebx, 0x468604
cmp eax, 1
jne 0x418fc6
lea eax, [esp + 0x18]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
xchg dword [ebx], eax
cmp byte [ebp + 8], 0
je 0x418fd6
xor esi, esi
lock xadd dword [ebx], esi
test esi, esi
jne 0x418fef
mov ecx, dword [esp + 0x1ac]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 4
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x46864c]
cmp eax, dword [ecx + 4]
jle 0x419034
push 0x46864c
call fcn.00434878
add esp, 4
cmp dword [0x46864c], 0xffffffff
jne 0x419034
push 0x4505c0
call fcn.00434812
add esp, 4
push 0x46864c
call fcn.00434827
add esp, 4
mov edx, str.winsock
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0x463bd4
call fcn.0040cbd0
int3
Function at 0x41c800
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
mov bl, dl
lea eax, [esi - 0x14]
cmp eax, 0xb
ja case.default.0x41c812
jmp dword [eax*4 + 0x41c9c4]
cmp bl, 0x2f
je 0x41c889
cmp bl, 0x2a
je 0x41c889
or bl, 0x20
sub bl, 0x61
cmp bl, 0x19
ja case.default.0x41c812
pop esi
mov eax, 0x15
pop ebx
ret
mov al, bl
or al, 0x20
sub al, 0x61
cmp al, 0x19
jbe case.0x41c812.31
cmp bl, 0x3a
jne case.default.0x41c812
pop esi
mov eax, 0x16
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x41c812
pop esi
mov eax, 0x17
pop ebx
ret
cmp bl, 0x2f
jne case.default.0x41c812
pop esi
mov eax, 0x18
pop ebx
ret
cmp bl, 0x40
je case.default.0x41c812
cmp bl, 0x2f
jne 0x41c891
pop esi
mov eax, 0x1b
pop ebx
ret
cmp bl, 0x3f
je 0x41c956
cmp bl, 0x40
jne 0x41c8a7
pop esi
mov eax, 0x1a
pop ebx
ret
mov al, bl
or al, 0x20
cmp al, 0x61
jb 0x41c8b3
cmp al, 0x7a
jbe 0x41c92a
cmp bl, 0x30
jl 0x41c8bd
cmp bl, 0x39
jle 0x41c92a
cmp bl, 0x2d
je 0x41c92a
cmp bl, 0x5f
je 0x41c92a
cmp bl, 0x2e
je 0x41c92a
cmp bl, 0x21
je 0x41c92a
cmp bl, 0x7e
je 0x41c92a
cmp bl, 0x2a
je 0x41c92a
cmp bl, 0x27
je 0x41c92a
cmp bl, 0x28
je 0x41c92a
cmp bl, 0x29
je 0x41c92a
cmp bl, 0x25
je 0x41c92a
cmp bl, 0x3b
je 0x41c92a
cmp bl, 0x3a
je 0x41c92a
cmp bl, 0x26
je 0x41c92a
cmp bl, 0x3d
je 0x41c92a
cmp bl, 0x2b
je 0x41c92a
cmp bl, 0x24
je 0x41c92a
cmp bl, 0x2c
je 0x41c92a
cmp bl, 0x5b
je 0x41c92a
cmp bl, 0x5d
mov eax, 1
mov ecx, 0x19
pop esi
cmove eax, ecx
pop ebx
ret
pop esi
mov eax, 0x19
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x459cb0], al
jne case.0x41c812.31
cmp bl, 0x23
je 0x41c97d
cmp bl, 0x3f
jne case.0x41c812.31
pop esi
mov eax, 0x1c
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x459cb0], al
jne 0x41c985
cmp bl, 0x23
jne 0x41c985
pop esi
mov eax, 0x1e
pop ebx
ret
pop esi
mov eax, 0x1d
pop ebx
ret
movzx edx, bl
mov eax, 1
mov ecx, edx
shr edx, 3
and ecx, 7
shl eax, cl
test byte [edx + 0x459cb0], al
jne 0x41c9ac
cmp bl, 0x23
je case.0x41c812.31
pop esi
mov eax, 0x1f
pop ebx
ret
mov eax, esi
pop esi
pop ebx
ret
pop esi
mov eax, 1
pop ebx
ret
Function at 0x41df80
Capabilities:
Parse credit card information

Disassembly:
lea eax, [ecx - 2]
cmp eax, 0xa
ja case.default.0x41df8c
jmp dword [eax*4 + 0x41e114]
cmp dl, 0x40
jne 0x41df9e
mov eax, 4
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x41dfaa
cmp al, 0x7a
jbe 0x41e014
cmp dl, 0x30
jl 0x41dfb4
cmp dl, 0x39
jle 0x41e014
cmp dl, 0x2d
je 0x41e014
cmp dl, 0x5f
je 0x41e014
cmp dl, 0x2e
je 0x41e014
cmp dl, 0x21
je 0x41e014
cmp dl, 0x7e
je 0x41e014
cmp dl, 0x2a
je 0x41e014
cmp dl, 0x27
je 0x41e014
cmp dl, 0x28
je 0x41e014
cmp dl, 0x29
je 0x41e014
cmp dl, 0x25
je 0x41e014
cmp dl, 0x3b
je 0x41e014
cmp dl, 0x3a
je 0x41e014
cmp dl, 0x26
je 0x41e014
cmp dl, 0x3d
je 0x41e014
cmp dl, 0x2b
je 0x41e014
cmp dl, 0x24
je 0x41e014
xor eax, eax
cmp dl, 0x2c
sete al
lea eax, [eax*2 + 1]
ret
mov eax, 3
ret
cmp dl, 0x5b
jne 0x41e025
mov eax, 5
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x41e031
cmp al, 0x7a
jbe 0x41e06b
cmp dl, 0x30
jl 0x41e03b
cmp dl, 0x39
jle 0x41e06b
cmp dl, 0x2e
je 0x41e06b
cmp dl, 0x2d
je 0x41e06b
mov eax, 1
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x41e057
cmp al, 0x7a
jbe 0x41e06b
cmp dl, 0x30
jl 0x41e061
cmp dl, 0x39
jle 0x41e06b
cmp dl, 0x2e
je 0x41e06b
cmp dl, 0x2d
jne case.0x41df8c.8
mov eax, 6
ret
cmp dl, 0x3a
jne case.default.0x41df8c
mov eax, 0xb
ret
cmp dl, 0x5d
je 0x41e0ba
cmp dl, 0x30
jl 0x41e08b
cmp dl, 0x39
jle 0x41e0af
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x41e097
cmp al, 0x66
jbe 0x41e0af
cmp dl, 0x3a
je 0x41e0af
cmp dl, 0x2e
je 0x41e0af
cmp ecx, 7
jne case.default.0x41df8c
cmp dl, 0x25
jne case.default.0x41df8c
lea eax, [ecx + 2]
ret
mov eax, 7
ret
cmp dl, 0x5d
jne case.0x41df8c.9
mov eax, 8
ret
mov al, dl
or al, 0x20
cmp al, 0x61
jb 0x41e0cc
cmp al, 0x7a
jbe 0x41e0fb
cmp dl, 0x30
jl 0x41e0d6
cmp dl, 0x39
jle 0x41e0fb
cmp dl, 0x25
je 0x41e0fb
cmp dl, 0x2e
je 0x41e0fb
cmp dl, 0x2d
je 0x41e0fb
cmp dl, 0x5f
je 0x41e0fb
cmp dl, 0x7e
mov eax, 1
mov ecx, 0xa
cmove eax, ecx
ret
mov eax, 0xa
ret
mov al, 9
sub dl, 0x30
cmp al, dl
sbb eax, eax
and eax, 0xfffffff5
add eax, 0xc
ret
Function at 0x421500
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ed75
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x463040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x60], ebx
lea ecx, [ebp - 0x1c]
call fcn.0040c8d0
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
nop
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
cmp esi, ecx
jg 0x4216aa
jl 0x42155a
cmp edx, eax
jae 0x4216aa
sub eax, edx
sbb ecx, esi
js 0x421570
jg 0x421569
cmp eax, 0x3b9aca00
jbe 0x421570
mov eax, 0x3b9aca00
xor ecx, ecx
mov edi, dword [ebx + 8]
push 0
push 0x3e8
push ecx
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0x463bbc
call fcn.0044d040
mov ebx, eax
lea edx, [edi + 0x18]
xor esi, esi
lock xadd dword [edx], esi
test esi, esi
jne 0x4215b8
mov ecx, edi
call fcn.0040e2d0
xor eax, eax
mov dword [ebp - 0x18], 0x463bbc
mov dword [ebp - 0x1c], eax
xor edi, edi
jmp 0x421679
lea ecx, [ebp - 0x5c]
call fcn.0040e230
mov ecx, edi
mov dword [ebp - 4], 0
push dword [0x46b9c8]
neg ecx
mov dword [ebp - 0x20], 0
lea eax, [edi + 0x14]
xorps xmm0, xmm0
sbb ecx, ecx
movq qword [ebp - 0x28], xmm0
and ecx, eax
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x46b9c8]
call esi
mov byte [ebp - 4], 1
test ebx, ebx
jns 0x421618
or eax, 0xffffffff
jmp 0x42162d
lea ecx, [ebx - 1]
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
inc eax
add eax, edx
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x5c]
push ecx
push eax
mov ecx, edi
call fcn.0040e4c0
push dword [ebp - 0x20]
mov edi, eax
push dword [0x46b9c8]
call esi
mov dword [ebp - 4], 0xffffffff
xor esi, esi
mov eax, dword [ebp + esi*4 - 0x5c]
test eax, eax
je 0x421664
push eax
call fcn.0043ca92
add esp, 4
inc esi
cmp esi, 0xa
jl 0x421653
lea eax, [ebp - 0x30]
push eax
call fcn.00436535
mov eax, dword [ebp - 0x1c]
add esp, 4
test eax, eax
jne 0x4216ca
test edi, edi
jne 0x4216a6
mov ebx, dword [ebp - 0x60]
xor ecx, ecx
mov eax, dword [ebx + 8]
add eax, 0x1c
lock xadd dword [eax], ecx
test ecx, ecx
jne 0x4216a6
lea ecx, [ebp - 0x6c]
call fcn.0040c8d0
mov edx, dword [eax]
mov esi, dword [eax + 4]
jmp 0x421540
mov eax, edi
jmp 0x4216ac
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0043435c
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x1c]
call fcn.0040cb70
int3