joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50e1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50e3d4
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.0045ddec
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.0050dc60
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.0045d936
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ecx
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
xor ecx, ecx
jmp 0x50e2a2
mov edx, dword [esp + 0x10]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x50e375
mov dword [esp + 0x10], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
sar edx, 3
mov dword [esp + 0x1c], edx
shl edx, 3
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [esp + ecx*8 + 0x58]
mov edi, dword [esi]
mov dword [esp + 0xc], edi
mov esi, dword [esi + 4]
mov ecx, ebx
shl edi, cl
and edi, edx
mov dword [esp + 8], edi
xchg edi, eax
mov byte [esp + 0x20], al
xchg edi, eax
lea ebp, [ecx - 0x20]
mov dword [esp + 0x18], ebp
cmp ebp, 0x20
sbb edi, edi
mov dword [esp + 0x14], edi
xchg ebp, ebx
neg ebx
xchg ebp, ebx
cmp ebp, 0x20
sbb edi, edi
shl esi, cl
and esi, edx
mov ecx, ebp
mov edx, dword [esp + 0xc]
mov ebx, edx
shr edx, cl
and edx, edi
or edx, esi
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov ebp, dword [esp + 0x14]
and ebx, ebp
or ebx, edx
mov edx, dword [esp + 8]
mov ebp, edx
shr edx, 8
mov esi, ebx
shl ebx, 0x18
or edx, ebx
mov byte [esp + 0x21], dl
mov edx, ebp
shr ebp, 0x10
mov ebx, esi
shl esi, 0x10
or esi, ebp
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov ebp, ebx
shl ebx, 8
shr edx, 0x18
or edx, ebx
mov byte [esp + 0x23], dl
mov dword [esp + 0x24], ebp
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x50e3a6
test byte [eax], al
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], 0x20
mov dword [esp + 0x94], 0x20
sub esp, 0xffffff80
ret
movzx esi, byte [eax + ebp]
or esi, ebx
xchg esi, ebx
mov byte [eax + ebp], bl
xchg esi, ebx
inc ecx
cmp ecx, 8
jge 0x50e29b
movzx ebx, byte [esp + ecx + 0x28]
lea ebp, [edx + ecx]
cmp ebp, 0x20
jge 0x50e29b
test byte [eax], al
cmp ebp, 0x20
jb 0x50e398
mov eax, ebp
mov ecx, 0x20
call fcn.0045d780
nop
call fcn.0045c2f0
jmp fcn.0050e1f0
Function at 0x51ef40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51f0a1
sub esp, 0x48
mov eax, dword [esp + 0x78]
cmp eax, 4
jne 0x51efc7
mov ecx, dword [esp + 0x74]
cmp dword [ecx], 0x6c616964
jne 0x51efcb
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x68]
mov dword [esp], edx
call ecx
movzx eax, byte [esp + 4]
test al, al
jne 0x51ef91
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x51efcb
mov eax, dword [esp + 0x64]
mov eax, dword [eax + 0x24]
mov ecx, dword [esp + 0x68]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, eax
mov ebx, ecx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
jmp 0x51efd3
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], edx
mov ebp, dword [esp + 0x54]
mov dword [esp], ebp
mov esi, dword [esp + 0x58]
mov dword [esp + 4], esi
mov edi, dword [esp + 0x5c]
mov dword [esp + 8], edi
mov edi, dword [esp + 0x60]
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
call fcn.0051ed20
mov eax, dword [esp + 0x20]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x4c]
mov dword [esp], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x18], eax
mov byte [esp + 0x1c], cl
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x60]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x30], eax
call fcn.00523940
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ecx
add esp, 0x48
ret
call fcn.0045c2f0
jmp fcn.0051ef40
Function at 0x529560
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5296d3
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x529593
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x529593
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x529599
mov byte [esp + 0xc], 0
ret
mov ecx, dword [esp + 8]
cmp ecx, 3
je 0x5295a7
cmp ecx, 4
jne 0x5295d8
cmp al, 0x2c
ja 0x5295c0
lea edx, [eax - 0x21]
cmp dl, 1
jbe 0x5295d2
cmp al, 0x24
je 0x5295d2
cmp al, 0x26
jae 0x5295d2
jmp 0x5295d8
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x5295d2
cmp al, 0x5b
je 0x5295d2
cmp al, 0x5d
jne 0x5295d8
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
ja 0x52960f
cmp al, 0x26
ja 0x5295f1
cmp al, 0x24
je 0x52962e
cmp al, 0x26
je 0x52962e
jmp 0x5296b5
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x52962e
lea edx, [eax - 0x2d]
cmp dl, 1
jbe 0x5296af
cmp al, 0x2f
je 0x52962e
jmp 0x5296b5
cmp al, 0x3d
ja 0x529626
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x52962e
cmp al, 0x3d
je 0x52962e
jmp 0x5296b5
lea edx, [eax - 0x3f]
cmp dl, 1
ja 0x5296a5
cmp ecx, 2
jg 0x529669
cmp ecx, 1
je 0x52965e
cmp ecx, 2
jne 0x5296b5
cmp al, 0x2f
je 0x52964c
cmp al, 0x3b
je 0x52964c
cmp al, 0x2c
jne 0x529653
mov eax, 1
jmp 0x529659
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp al, 0x3f
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 5
jne 0x52968f
cmp al, 0x40
je 0x52967d
cmp al, 0x2f
je 0x52967d
cmp al, 0x3f
jne 0x529684
mov eax, 1
jmp 0x52968a
cmp al, 0x3a
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 6
je 0x52969f
cmp ecx, 7
jne 0x5296b5
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x5f
je 0x5296af
cmp al, 0x7e
jne 0x5296b5
mov byte [esp + 0xc], 0
ret
cmp ecx, 7
jne 0x5296cd
cmp al, 0x21
je 0x5296c7
add eax, 0xffffffd8
cmp al, 2
ja 0x5296cd
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
call fcn.0045c2f0
jmp fcn.00529560
Function at 0x55c890
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x20]
cmp eax, dword [ecx + 8]
jbe 0x55ca26
sub esp, 0xa0
lea edi, [esp + 0x44]
xor eax, eax
call fcn.0045d929
nop
mov dword [esp + 0x44], 0x67452301
mov dword [esp + 0x48], 0xefcdab89
mov dword [esp + 0x4c], 0x98badcfe
mov dword [esp + 0x50], 0x10325476
mov dword [esp + 0x94], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
lea ecx, [esp + 0x24]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 8], ecx
call fcn.0044ab30
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
lea ebp, [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.004bd9a0
lea ecx, [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call fcn.004bdba0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov ebp, dword [0x6dded0]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.0047b720
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x5a2335]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.004ae2f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], edx
lea ecx, [0x5a2335]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0xffffffff
call fcn.004ae2f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xac], ecx
mov dword [esp + 0xb0], edx
add esp, 0xa0
ret
call fcn.0045c2f0
jmp fcn.0055c890
Function at 0x1005f33d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x1005f34c
pop dword [ebp - 0x28]
mov eax, 0x43a4522c
sub eax, 0x339e5ee0
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x98e18e3d
add dword [ebp - 0x38], 0xb570b70e
mov dword [ebp - 0x34], 0x5d0cd81
sub dword [ebp - 0x34], 0xd39d813c
mov dword [ebp - 0x30], 0xab3da2e7
sub dword [ebp - 0x30], 0x5ef15eb9
mov dword [ebp - 0x2c], 0xf6808f5a
add dword [ebp - 0x2c], 0x97f70a6
lea eax, [ebp - 0x38]
push eax
mov eax, 0x2bf09dee
add eax, 0xe417d246
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x44197619
add dword [ebp - 0x38], 0x3058f33d
mov dword [ebp - 0x34], 0xf984d76a
add dword [ebp - 0x34], 0x47e78a0b
mov dword [ebp - 0x30], 0x57b987b0
sub dword [ebp - 0x30], 0xf44a1b44
mov dword [ebp - 0x2c], 0x19fb2d9b
add dword [ebp - 0x2c], 0xe604d265
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x3e43b
push 0
call eax
mov ecx, 0x489d
xor ebx, ebx
add ebx, eax
mov edx, 0x2e22fff4
add edx, 0xe1e8900c
add edx, dword [ebp - 0x28]
mov edi, 0xf183d339
add dword [ebp - 0x14], 0xc8955383
mov esi, dword [edx]
add dword [ebp - 8], 0xffd75fba
xor esi, edi
mov dword [ebp - 0x1c], 0xb3336971
mov dword [ebx], esi
xor dword [ebp - 0x24], edi
add ebx, 0x218b1ff4
sub ebx, 0x218b1ff0
add edx, 4
loop 0x1005f45f
add eax, 0x11547
xor ebx, ebx
add ebx, eax
add eax, 0xa8acb9b7
add eax, 0x5753464e
mov ecx, 0x6bf051df
add ecx, 0xa40fae21
add ecx, dword [ebp - 0x28]
call ebx
leave
ret
Function at 0x10186de7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10187ddf
xor ecx, ecx
mov edx, eax
mov esi, dword [0x101fc2c4]
add esi, 0x1e9f
mov dword [0x101fc2c8], esi
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10186e35
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov dword [0x101fc2c4], 0x1ee2
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
je 0x10186f44
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
jmp 0x10186eaa
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], eax
jae 0x10186f44
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x44]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x4d], bh
mov byte [ebp - 0x4e], cl
je 0x10186f15
mov eax, dword [ebp - 0x4c]
add eax, 1
mov cl, byte [ebp - 0x4d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x4e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x48], eax
jne 0x10186ec4
mov al, byte [ebp - 0x4e]
test al, 1
jne 0x10186f21
jmp 0x10186e82
mov eax, dword [ebp - 0x3c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov dword [0x101fc2c4], 0xe82
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10187015
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101fc2c4], 0x1094
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x101870ec
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [0x101fc2c4], 0x1666
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x38], eax
call fcn.10187920
xor eax, eax
mov ecx, dword [ebp - 0x38]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x44], ecx
mov dword [0x101fc2c8], 0x225e
mov ecx, dword [ebp - 0x38]
mov dword [edx + 0x2c], ecx
mov dword [0x101fc2c4], 0x6c0
add ecx, 0x2758
mov esi, dword [ebp - 0x38]
cmp esi, 0
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x40], eax
je 0x101870e3
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
add esp, 0x50
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101967ea]
mov dh, byte [eax + 0x101967bb]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101870ec
lea eax, [ebp - 0x24]
mov dword [0x101fc2c8], 0x2682
mov dword [0x101fc2c4], 0x1830
mov dword [ebp - 0x44], eax
call fcn.10186f66
mov dword [esp], eax
mov eax, dword [ebp - 0x44]
mov dword [esp + 4], eax
call fcn.10186cb7
cmp eax, 0
mov dword [ebp - 0x34], eax
je 0x1018703c
jmp 0x10187044
Function at 0x10187387
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [0x101fc2c8], 0x350
mov dword [ebp - 4], 0
mov dword [0x101fc2c4], 0x1212
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1018740e
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x10187491
jmp 0x101874ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0xe], 0x6c
je 0x101874a6
jmp 0x101874ba
mov eax, dword [ebp - 0x18]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x1c], eax
jge 0x10187424
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
jne 0x101873f7
mov eax, dword [ebp - 0x1c]
mov dword [0x101fc2c8], 0x17f8
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
jne 0x101874ba
mov dword [0x101fc2c4], 0xf85
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
jne 0x101874ba
mov dword [0x101fc2c4], 0x2175
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
jne 0x101874ba
mov dword [0x101fc2c4], 0xb66
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101873c7
jmp 0x101874ba
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
je 0x101873df
jmp 0x101874ba
mov eax, 1
mov dword [0x101fc2c8], 0xeaf
mov dword [ebp - 0x20], eax
jmp 0x101874c9
xor eax, eax
mov dword [0x101fc2c4], 0xda6
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add esp, 0x20
pop ebp
ret
Function at 0x10187b88
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101fc2c4], 0x1f4f
mov dword [0x101fc2d0], 0
mov byte [0x101fc2d4], 0
mov dword [0x101fc2cc], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101fc2cc]
add eax, 1
mov dword [0x101fc2cc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10187bcd
xor eax, eax
mov ecx, dword [0x101fc2c4]
add ecx, 0x1879
mov dword [0x101fc2c8], ecx
mov dword [0x101fc2cc], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x101fc2d8], 0
mov edi, dword [0x101fc2d0]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101fc2d8], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x101fc2d0], edx
mov dword [0x101fc2c8], 0x9a3
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x101fc2d4], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov cl, byte [0x101fc2d4]
mov esi, dword [0x101fc2d0]
mov byte [ebx + esi], cl
mov esi, dword [0x101fc2cc]
add esi, 1
mov dword [0x101fc2cc], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x10187c14
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10187f4b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x101fc2cc], 0
mov dword [0x101fc2d0], 0
mov dword [0x101fc2dc], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101880cf
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov edi, edx
add edi, 1
add eax, 1
mov dword [0x101fc2c4], 0x1117
mov dword [ebp - 0x2c], edx
cdq
idiv esi
mov dword [0x101fc2cc], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x101fc2d0], edx
mov dword [0x101fc2c8], 0x1d4a
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x30]
mov cl, byte [ecx + esi]
mov byte [0x101fc2d4], cl
mov dword [0x101fc2c8], 0xde
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov edx, dword [0x101fc2c4]
add edx, 0xfffff139
mov dword [0x101fc2c4], edx
mov cl, byte [0x101fc2d4]
mov edx, dword [0x101fc2d0]
mov byte [ebx + edx], cl
mov edx, dword [0x101fc2cc]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x101fc2d0]
movzx ecx, byte [ebx + ecx]
add ecx, edx
mov edx, dword [0x101fc2c8]
mov esi, edx
add esi, 0xffffed9e
mov dword [0x101fc2c4], esi
and ecx, 0xff
mov dword [0x101fc2dc], ecx
add edx, 0xffffd6c7
mov dword [0x101fc2c8], edx
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x2c]
mov ch, byte [edx + esi]
mov dword [0x101fc2c4], 0x1c45
xor ch, cl
mov byte [0x101fc2e0], ch
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov dword [0x101fc2c8], 0x1677
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x34], edi
je 0x101880cf
mov eax, dword [0x101fc2d0]
mov ecx, dword [0x101fc2cc]
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], ecx
jmp 0x10187fa4
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101880d7
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov edx, dword [0x101fc2c4]
add edx, 0x25b9
mov dword [0x101fc2c4], edx
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101875df
lea ecx, [0x101878b7]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
mov dword [esp + 0x50], 0x12dc00
mov dword [0x101fc2c8], 0xae6
mov edx, dword [0x101fc2b0]
mov dword [esp + 0x60], edx
mov edx, dword [0x101fc2b4]
mov dword [esp + 0x88], edx
mov edx, dword [0x101fc2b8]
mov dword [esp + 0x7c], edx
mov edx, dword [0x101fc2bc]
mov dword [esp + 0x64], edx
mov edx, dword [0x101fc2c0]
mov dword [esp + 0x3c], edx
mov dword [0x101fc2c4], 0x6f5
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101881a2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101881b3
mov dword [0x101fc2c8], 0x3ad
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
je 0x10188172
jmp 0x10188186
mov eax, dword [esp + 0x10]
mov dword [esp + 0x78], eax
mov dword [0x101fc2c8], 0x2594
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x80], edx
call fcn.10187387
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10188222
lea eax, [esp + 0x30]
mov ecx, dword [0x101fc2c4]
add ecx, 0x20eb
mov dword [0x101fc2c4], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10187015
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x100010d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100010f4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
cmp dword [edx], 0
jne 0x100010fc
mov eax, dword [ebp + 0xc]
mov byte [eax], 0
jmp 0x1000114a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0xc], 0
je 0x10001144
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
cmp dword [eax], 0
je 0x10001144
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000113c
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.10003f20
add esp, 8
jmp 0x10001142
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
jmp 0x1000114a
mov edx, dword [ebp + 0xc]
mov byte [edx], 0
mov esp, ebp
pop ebp
ret