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

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.00504440
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x504995
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.00508070
test al, al
jne 0x50498f
mov ecx, edi
call fcn.005080a0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.005085c0
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x50496f
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x5047f7
xor esi, esi
mov ecx, ebx
call fcn.00505f60
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.005085d0
mov ebp, eax
cmp dword [ebp], 1
jne 0x504852
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x420
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x504890
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x820
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005065d0
lea ecx, [ebx + 8]
call fcn.005085e0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
mov esi, eax
sar esi, 1
push esi
call fcn.00504420
mov eax, dword [ebp]
mov dword [esp + 0x1c], esi
cmp eax, 1
jne 0x5048d1
mov eax, dword [ebp + 0xc]
mov edi, 0x21
add eax, esi
mov dword [esp + 0x1c], eax
jmp 0x5048d6
mov edi, 0x22
cmp dword [esp + 0x18], 1
jle 0x5048e3
or edi, 0x80
mov ecx, ebx
call fcn.00505f60
sub eax, dword [esp + 0x20]
je 0x5048f5
mov byte [esp + 0x12], 1
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
dec ecx
cmp edx, ecx
jne 0x504916
mov cl, byte [esp + 0x12]
or edi, 0x100
test cl, cl
je 0x504916
or edi, 0x1000
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [ebp + 8]
sub esp, 0x20
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], esi
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005065d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x5047f5
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.005080a0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x50498f
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00506590
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x5049a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov ebx, ecx
or ebp, 0xffffffff
call fcn.00504440
mov eax, dword [ebx + 0x47c]
xor esi, esi
cmp eax, esi
jne 0x504bc8
lea edi, [ebx + 8]
mov dword [ebx + 0x47c], 1
mov ecx, edi
call fcn.00508070
test al, al
jne 0x504bc2
mov ecx, edi
call fcn.005080a0
mov ecx, edi
mov byte [esp + 0x13], al
mov byte [esp + 0x12], 0
call fcn.00508690
cmp eax, esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], esi
jle 0x504ba2
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], esi
jmp 0x504a17
xor esi, esi
mov ecx, ebx
call fcn.00505f60
lea ecx, [ebx + 8]
mov dword [esp + 0x20], eax
call fcn.005085d0
mov ebp, eax
cmp dword [ebp], esi
jne 0x504a71
mov eax, dword [ebp + 4]
mov ecx, dword [ebp + 8]
cdq
sub eax, edx
mov dword [esp + 0x30], esi
sar eax, 1
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x24], 0x440
mov dword [esp + 0x2c], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x44]
jmp 0x504aaf
mov eax, dword [ebp + 4]
mov dword [esp + 0x50], esi
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x48], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x44], 0x840
mov dword [esp + 0x4c], edx
mov dword [esp + 0x54], eax
sub esp, 0x20
mov ecx, 8
lea esi, [esp + 0x64]
mov edi, esp
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005065d0
lea ecx, [ebx + 8]
call fcn.005086a0
mov eax, dword [ebp + 4]
mov ecx, ebx
cdq
sub eax, edx
sar eax, 1
push eax
call fcn.00504420
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
cdq
sub eax, edx
sar eax, 1
test ecx, ecx
mov dword [esp + 0x1c], eax
jne 0x504af5
mov ecx, dword [ebp + 0xc]
mov esi, 0x41
add eax, ecx
mov dword [esp + 0x1c], eax
jmp 0x504afa
mov esi, 0x42
mov edi, dword [esp + 0x18]
cmp edi, 1
jle 0x504b09
or esi, 0x80
mov ecx, ebx
call fcn.00505f60
mov ecx, eax
mov eax, dword [esp + 0x20]
sub ecx, eax
je 0x504b1f
mov byte [esp + 0x12], 1
mov edx, dword [esp + 0x14]
lea eax, [edi - 1]
cmp edx, eax
jne 0x504b3e
mov al, byte [esp + 0x12]
or esi, 0x100
test al, al
je 0x504b3e
or esi, 0x1000
mov eax, dword [ebp + 4]
sub esp, 0x20
cdq
sub eax, edx
mov edx, dword [ebp + 0xc]
sar eax, 1
mov dword [esp + 0x88], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x84], esi
mov dword [esp + 0x90], ecx
mov ecx, 8
lea esi, [esp + 0x84]
mov edi, esp
mov dword [esp + 0x8c], edx
mov dword [esp + 0x94], eax
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.005065d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x504a15
mov ebp, dword [esp + 0x1c]
lea ecx, [ebx + 8]
call fcn.005080a0
mov cl, byte [esp + 0x13]
mov byte [esp + 0x20], al
cmp cl, al
je 0x504bc2
mov ecx, dword [esp + 0x20]
push ecx
mov ecx, ebx
call fcn.00506590
dec dword [ebx + 0x47c]
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x74
ret
Function at 0x5089e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5ded11
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.00500280
xor ebx, ebx
mov eax, 0xad9bd8
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x48], eax
mov dword [esi + 0x60], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
xor eax, eax
mov dword [esi + 0x40], ebx
xor ecx, ecx
xor edx, edx
mov dword [esi + 0x14], eax
mov dword [esi + 0x24], eax
push 0x80
xor edi, edi
mov dword [esi + 0x18], ecx
mov dword [esi + 0x28], ecx
push ebx
mov dword [esi + 0x1c], edx
mov dword [esi + 0x2c], edx
push ebx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], 2
mov byte [esi + 0x54], bl
mov dword [esi + 0x58], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0x20], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 1
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x5c], 0xffffff
mov dword [esi + 0x64], 0x808080
call fcn.00508f20
mov eax, dword [eax]
push ebx
push ebx
push ebx
lea ecx, [esp + 0x1c]
mov dword [esi + 0x6c], eax
call fcn.00508f20
mov ecx, dword [eax]
push 0xc0
push 0xc0
mov dword [esi + 0x74], ecx
push 0xc0
lea ecx, [esp + 0x1c]
call fcn.00508f20
mov edx, dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x7c], edx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x547380
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x5dee90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], ecx
push edi
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor ebx, ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
xor ebp, ebp
mov edx, ecx
dec ecx
test edx, edx
mov dword [esp + 0x14], ebx
mov eax, esi
je 0x5473ce
inc ecx
movsx edx, byte [eax]
shl ebp, 4
xor ebp, edx
inc eax
dec ecx
jne 0x5473c2
mov eax, ebp
xor edx, edx
mov ecx, 0x1f
div ecx
mov eax, dword [esp + 0x10]
mov edi, dword [eax + edx*4]
cmp edi, ebx
je 0x547423
cmp ebp, dword [edi]
jne 0x54741c
mov eax, dword [edi + 4]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x54740f
cmp cl, bl
je 0x54740b
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x54740f
add eax, 2
add esi, 2
cmp cl, bl
jne 0x5473eb
xor eax, eax
jmp 0x547414
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x54743e
mov esi, dword [esp + 0x2c]
mov edi, dword [edi + 0xc]
cmp edi, ebx
jne 0x5473e4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x84]
cmp ecx, ebx
je 0x547474
push esi
mov esi, dword [esp + 0x2c]
push esi
call fcn.00547380
jmp 0x5474b7
mov esi, dword [esp + 0x28]
mov eax, dword [edi + 8]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push eax
mov dword [esp + 0x28], ebx
mov dword [esi + 0xc], 0x40
call fcn.005471e0
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x5474af
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x5474b1
mov esi, dword [esp + 0x28]
mov dword [esi], ebx
mov dword [esi + 4], ebx
push 0xffffffffffffffff
push 0xc150b8
mov dword [esp + 0x28], 1
mov dword [esi + 0xc], 0x40
call fcn.005471e0
add esp, 8
cmp eax, ebx
mov dword [esi], eax
je 0x5474af
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jmp 0x5474b1
xor ecx, ecx
mov dword [esi + 8], ecx
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 8
Function at 0x5474d0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5deec7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [esp + 0x3c]
lea eax, [esp + 0x18]
xor ebx, ebx
push edi
mov esi, ecx
push eax
mov dword [esp + 0x14], ebx
call fcn.00547380
lea ecx, [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push 0x64
push edx
push esi
mov dword [esp + 0x40], 1
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
call fcn.00547590
mov esi, dword [esp + 0x48]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x48], 2
mov dword [esi + 0xc], 0x40
call fcn.005471e0
mov edx, dword [esp + 0x38]
mov dword [esi], eax
neg eax
sbb eax, eax
mov dword [esp + 0x24], 1
and eax, edx
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov edx, dword [esp + 0x30]
mov byte [esp + 0x48], bl
push edx
mov dword [esp + 0x3c], ebx
call fcn.005cc3a5
mov ecx, dword [esp + 0x44]
add esp, 0x1c
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 8
Function at 0x551b00
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5df440
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00551ed0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00551ed0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.00551f40
lea ecx, [esp + 0x10]
call fcn.004e8ac0
cmp eax, 1
jae 0x551ba8
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x551c13
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x551c13
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00551f40
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.004e8ac0
cmp eax, 1
jb 0x551c13
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.005519a0
test eax, eax
je 0x551c13
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00551c80
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00551fa0
push edi
lea ecx, [esp + 0x24]
call fcn.00551fc0
push esi
lea ecx, [esp + 0x24]
call fcn.00552060
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00551fc0
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00551980
test eax, eax
je 0x551c49
inc esi
cmp esi, 0x7a0a1f00
jb 0x551bca
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00551ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00551ef0
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00551fa0
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00551ef0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00551ef0
mov eax, 1
jmp 0x551c34
Function at 0x5523d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df4f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00551ed0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00551f40
push 0
mov ecx, esi
call fcn.00552350
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x552508
lea ecx, [esp + 0xc]
call fcn.004e8ac0
cmp eax, 1
jae 0x552457
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00551ef0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x5524a4
push 0
lea ecx, [esp + 0x10]
call fcn.004bd460
push eax
push edi
mov ecx, 0xc150d4
call fcn.00551b00
test eax, eax
jne 0x5524ac
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00551ef0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00551f40
push edi
mov ecx, 0xc150d4
call fcn.00551a60
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.004bd450
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x552508
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x552508
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x552538
push 1
mov ecx, esi
call fcn.00552350
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00551ef0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00551ef0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x552e30
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00551f40
pop edi
add esp, 0x104
ret 4

Function at 0x553ba0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x553c06
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x553c06
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x553be7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x553f90
Capabilities:
Create http request

Disassembly:
push esi
mov esi, ecx
cmp dword [esi], 0
jne 0x553fc8
mov edx, dword [esi + 4]
xor eax, eax
push 0
push 0
mov ecx, dword [edx - 8]
test ecx, ecx
setne al
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, edx
neg eax
sbb eax, eax
push ecx
and eax, 2
inc eax
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [esi], eax
mov ecx, dword [esi]
xor eax, eax
test ecx, ecx
setne al
pop esi
ret
Function at 0x554bf0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x554c39
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x5550b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5df7a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00554c60
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00554ce0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00554ce0
lea ecx, [esi + 0xc]
call fcn.005cc5c6
lea ecx, [esi + 0x10]
call fcn.005cc5c6
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00556280
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00556280
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00556280
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.005cc63b
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.005cc63b
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x5627f0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x562823
push esi
call fcn.005677d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x56281c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x5628a9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x562892
mov eax, dword [esi + 8]
test eax, eax
je 0x562847
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x56288e
cmp eax, 2
je 0x562892
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x56283a
cmp eax, 3
je 0x56286d
cmp eax, 1
jne 0x56283a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x56283a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x56283a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.005628e0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x5628c9
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.005628e0
add esp, 4
pop esi
ret

Function at 0x593670
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x59367b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x59377e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0xba2de0]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xba2de0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xba2de0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xba2de0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xba2de0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0xba2de0]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0xba2de0]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xba2de0]
xor eax, edx
inc ecx
dec edi
jne 0x593696
pop edi
test esi, esi
je 0x5937a0
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0xba2de0]
xor eax, edx
inc ecx
dec esi
jne 0x593782
pop esi
pop ebx
not eax
ret
Function at 0x5cea58
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x5cea90
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.005ccae2
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.005ccaba
jmp 0x5cea9c
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x5d014b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x5d018d
call fcn.005d6230
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x5d018d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x5d0184
xor eax, eax
jmp 0x5d0195
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.005d019b
pop edi
pop esi
pop ebx
ret 4

Function at 0x5d6760
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x5d678e
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x5d67ac
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.005d66c6
jmp 0x5d67ac
mov eax, dword [esi + 0x14]
test eax, eax
je 0x5d67ac
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.005d66c6
test edi, edi
mov eax, edi
jne 0x5d6796
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8