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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5ab16a
sub esp, 0x48
movzx eax, word [esp + 0x78]
cmp ax, 0x303
jb 0x5aafee
movzx ecx, byte [esp + 0x80]
jmp 0x5aaffb
movzx ecx, byte [esp + 0x80]
cmp cl, 0xe4
jne 0x5ab033
mov edx, dword [esp + 0x6c]
test edx, edx
je 0x5ab151
cmp cl, 0xe4
je 0x5ab012
cmp ax, 0x303
jmp 0x5ab037
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ecx
add esp, 0x48
ret
cmp ax, 0x303
jae 0x5ab0c5
cmp cl, 0xe3
jne 0x5ab08f
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
mov eax, dword [eax + 0x1c]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
lea edi, [esp]
lea esi, [esp + 0x4c]
call fcn.0045face
call fcn.005aaca0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
mov eax, dword [esp + 0x84]
mov dword [esp], eax
call fcn.00479b60
mov eax, dword [esp + 4]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x20]
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call edx
mov eax, dword [esp + 0x40]
mov eax, dword [eax + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
add esp, 0x48
ret
lea eax, [0x634440]
mov dword [esp], eax
lea eax, [0x6ceea8]
mov dword [esp + 4], eax
call fcn.00434270
nop
call fcn.0045df90
jmp fcn.005aafc0
Function at 0x401590
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4fe628]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov cl, 0x64
mov al, 0x6c
push esi
mov byte [ebp - 0xe], cl
mov byte [ebp - 0xa], cl
mov byte [ebp - 0x23], cl
mov cl, 0x69
push edi
mov byte [ebp - 0xd], al
mov byte [ebp - 0xc], al
mov byte [ebp - 9], al
mov byte [ebp - 8], al
mov byte [ebp - 0x1b], al
lea eax, [ebp - 0x24]
mov dl, 0x6e
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x1d], cl
mov byte [ebp - 0x1a], cl
push eax
lea ecx, [ebp - 0x10]
mov bl, 0x74
push ecx
mov byte [ebp - 0x10], dl
mov byte [ebp - 0xf], bl
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 7], 0
mov byte [ebp - 0x24], 0x4c
mov byte [ebp - 0x22], 0x72
mov byte [ebp - 0x21], 0x49
mov byte [ebp - 0x20], dl
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1c], 0x61
mov byte [ebp - 0x19], 0x7a
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x54
mov byte [ebp - 0x16], 0x68
mov byte [ebp - 0x15], 0x75
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x6b
mov byte [ebp - 0x12], 0
call fcn.0046ae80
mov ebx, eax
xor esi, esi
lea edi, [esi + ebx]
push edi
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
call fcn.00403c10
mov edx, dword [ebp - 0x28]
mov cl, byte [edx]
cmp cl, 0xe8
je 0x401661
cmp cl, 0xe9
je 0x401661
add esi, eax
cmp esi, 0x1000
jb 0x401622
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452ac1
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 1]
mov ecx, dword [ebp - 4]
lea eax, [eax + edi + 5]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00452ac1
mov esp, ebp
pop ebp
ret

Function at 0x4020f0
Capabilities:
Parse pe header

Disassembly:
jmp 0x41f4c7
push ebp
cwde
mov ebp, esp
sbb eax, 0x8b0e8539
cbw
cmp ch, 0x36
lea esp, [esp - 0x16c]
ror ah, 0x27
mov eax, dword [0x4fe628]
xor eax, ebp
jmp loc.005aec29
Function at 0x402af0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x4fe628]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, 0x65
mov cl, 0x74
mov byte [ebp - 0xf], al
mov byte [ebp - 0xc], al
mov byte [ebp - 0x23], al
mov byte [ebp - 0x1c], al
mov byte [ebp - 0x17], al
lea eax, [ebp - 0x24]
mov byte [ebp - 0x22], cl
mov byte [ebp - 0x1f], cl
mov byte [ebp - 0x18], cl
mov dl, 0x6e
push eax
lea ecx, [ebp - 0x10]
push ecx
mov byte [ebp - 0x10], 0x6b
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], dl
mov byte [ebp - 0xb], 0x6c
mov byte [ebp - 0xa], 0x33
mov byte [ebp - 9], 0x32
mov byte [ebp - 8], 0
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x21], 0x4e
mov byte [ebp - 0x20], 0x61
mov byte [ebp - 0x1e], 0x69
mov byte [ebp - 0x1d], 0x76
mov byte [ebp - 0x1b], 0x53
mov byte [ebp - 0x1a], 0x79
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x16], 0x6d
mov byte [ebp - 0x15], 0x49
mov byte [ebp - 0x14], dl
mov byte [ebp - 0x13], 0x66
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0x11], 0
push edx
call fcn.0042fc9c
push eax
push esi
call fcn.005171ea
test eax, eax
je 0x402bd2
xor ecx, ecx
lea edx, [ebp - 0x48]
push edx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
call eax
mov eax, dword [ebp - 0x48]
cmp ax, 6
je 0x402bbf
cmp ax, 9
jne 0x402bd2
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452ac1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.00452ac1
mov esp, ebp
pop ebp
ret
Function at 0x41ca20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
push eax
mov ebx, esi
mov dword [edi], 0
call fcn.0041c9b0
mov ebx, eax
test ebx, ebx
jne 0x41ca51
mov dword [edi], 6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebx + 0x20]
mov edx, dword [esi + 0x78]
push 0
push ecx
push edx
call fcn.00454eea
mov eax, dword [esi + 0x78]
mov ecx, dword [ebx + 0x28]
mov edx, dword [0x508a70]
push eax
push 1
push ecx
push edx
call fcn.00454e43
mov ecx, dword [0x508a74]
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [0x508a70]
mov dword [ebp - 4], 0
mov edx, dword [ebx + 0x28]
push ecx
push edx
push eax
call fcn.004c2fe0
add esp, 0x30
test eax, eax
jne 0x41cb90
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebx + 0x24]
jne 0x41cb90
mov eax, dword [0x508a74]
movzx esi, word [eax]
movzx edi, word [eax + 2]
xor eax, eax
push 0x2c
push eax
lea edx, [ebp - 0x5c]
push edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call fcn.00457a60
add esp, 0xc
push 0
push 0
lea edx, [ebp - 8]
push edx
mov eax, 0x18
mov word [ebp - 0x22], ax
push 0
mov ecx, 1
lea eax, [ebp - 0x5c]
mov word [ebp - 0x24], cx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], edi
push eax
mov ecx, 0xa
lea esi, [ebp - 0x30]
lea edi, [ebp - 0x5c]
mov dword [ebp - 0x30], 0x28
mov dword [ebp - 0x20], 0
push 0
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 8], 0
push edi
call fcn.00615687
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x41cb56
mov ecx, dword [ebp + 0xc]
pop edi
pop esi
mov dword [ecx], 8
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [ebx + 0x24]
mov ecx, dword [0x508a74]
sub edx, 4
push edx
add ecx, 4
push ecx
push eax
call fcn.0045ef20
mov edi, dword [ebp + 8]
add esp, 0xc
mov ecx, edi
call fcn.0044a949
push esi
mov ecx, edi
call fcn.0044a91d
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi], 7
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x41f4c7
Capabilities:
Parse pe header

Disassembly:
jmp 0x41f4c7
push ebp
cwde
mov ebp, esp
sbb eax, 0x8b0e8539
cbw
cmp ch, 0x36
lea esp, [esp - 0x16c]
ror ah, 0x27
mov eax, dword [0x4fe628]
xor eax, ebp
jmp loc.005aec29
Function at 0x430280
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
or eax, 0xffffffff
xor ecx, ecx
test edx, edx
jbe 0x4302af
push ebx
push edi
jmp 0x430290
movzx edi, byte [ecx + esi]
mov ebx, eax
and ebx, 0xff
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x5009f0]
inc ecx
cmp ecx, edx
jb 0x430290
pop edi
pop ebx
not eax
ret
Function at 0x4322f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x4322f7
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x4323d4
mov esi, edx
shr esi, 3
push edi
lea esp, [esp]
movzx edi, byte [ecx]
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x4f0230]
inc ecx
sub edx, 8
sub esi, 1
jne 0x432310
pop edi
test edx, edx
je 0x4323fb
jmp 0x4323e0
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x4f0230]
inc ecx
sub edx, 1
jne 0x4323e0
not eax
pop esi
ret

Function at 0x432400
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov eax, dword [edx]
movsx ecx, cl
xor ecx, eax
shr eax, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4f0230]
xor ecx, eax
movzx eax, cl
add eax, dword [edx + 4]
mov dword [edx], ecx
mov ecx, dword [edx + 8]
imul eax, eax, 0x8088405
inc eax
mov dword [edx + 4], eax
shr eax, 0x18
xor eax, ecx
and eax, 0xff
shr ecx, 8
xor ecx, dword [eax*4 + 0x4f0230]
mov dword [edx + 8], ecx
ret

Function at 0x432450
Capabilities:
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
mov ecx, dword [esi + 8]
push ebx
mov edx, ecx
and edx, 0xfffd
or edx, 2
mov ebx, edx
xor ebx, 1
imul ebx, edx
mov edx, dword [esi]
shr ebx, 8
push edi
xor al, bl
movsx edi, al
xor edi, edx
shr edx, 8
and edi, 0xff
mov ebx, dword [edi*4 + 0x4f0230]
xor ebx, edx
movzx edx, bl
add edx, dword [esi + 4]
mov dword [esi], ebx
imul edx, edx, 0x8088405
inc edx
mov dword [esi + 4], edx
shr edx, 0x18
xor edx, ecx
and edx, 0xff
shr ecx, 8
xor ecx, dword [edx*4 + 0x4f0230]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x435010
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp byte [esi + 0x2d], 0
push edi
mov edi, dword [ebp + 0xc]
mov eax, ebx
je 0x4350fb
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x435047
cmp dword [esi + 0x40], edi
jae 0x435047
push eax
call fcn.00435381
add esp, 4
mov dword [esi + 0x3c], 0
cmp dword [esi + 0x3c], 0
jne 0x43505f
lea eax, [edi + edi]
push eax
call fcn.0043538c
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], edi
mov ecx, dword [esi + 0x3c]
push edi
push ebx
push ecx
call fcn.0045ef20
add esp, 0xc
xor ebx, ebx
test edi, edi
jbe 0x4350f8
mov edx, dword [esi + 0x3c]
mov cl, byte [ebx + edx]
mov edi, dword [esi + 0x30]
mov byte [ebp + 8], cl
movsx ecx, cl
xor ecx, edi
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4eea50]
mov dword [ebp - 4], ecx
mov eax, dword [esi + 0x38]
shr edi, 8
xor dword [ebp - 4], edi
mov ecx, dword [ebp - 4]
mov dword [esi + 0x30], ecx
movzx ecx, cl
add ecx, dword [esi + 0x34]
mov edx, eax
imul ecx, ecx, 0x8088405
inc ecx
mov dword [esi + 0x34], ecx
shr ecx, 0x18
xor ecx, eax
shr eax, 8
and ecx, 0xff
xor eax, dword [ecx*4 + 0x4eea50]
and edx, 0xfffd
mov dword [esi + 0x38], eax
mov ecx, dword [esi + 0x3c]
or edx, 2
mov eax, edx
xor eax, 1
imul eax, edx
shr eax, 8
xor al, byte [ebp + 8]
inc ebx
mov byte [ebx + ecx - 1], al
cmp ebx, dword [ebp + 0xc]
jb 0x435077
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x20]
test edx, edx
je 0x43513a
mov ecx, dword [esi + 0x24]
lea ebx, [ecx + edi]
cmp ebx, dword [esi + 0x28]
jb 0x43511f
pop edi
mov dword [esi + 0x14], 0x30000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
push edi
push eax
add ecx, edx
push ecx
call fcn.0045ef20
add esp, 0xc
add dword [esi + 0x24], edi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43515c
push 0
lea edx, [ebp + 0xc]
push edx
push edi
push eax
push ecx
call dword [0x4c72e8]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x46bf40
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x46bf55
xor eax, eax
jmp 0x46bfca
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x46bf82
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x46bfc5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x46bfc3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x46bfbf
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x46bfc3
xor eax, eax
jmp 0x46bfca
jmp 0x46bf79
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x46ca20
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046b2a0
add esp, 0xc
mov dword [ebp - 0x10], 0
cmp dword [0x5065a8], 0
jne 0x46ca5d
cmp dword [0x5065a4], 0
je 0x46ca5d
mov eax, dword [0x5065a4]
mov dword [0x5065a8], eax
cmp dword [0x5065a8], 0
je 0x46cada
mov ecx, dword [0x5065a8]
cmp dword [ecx + 8], 0
je 0x46cada
mov edx, dword [0x5065a8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 8]
jb 0x46cada
mov ecx, dword [0x5065a8]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x46cada
mov eax, dword [0x5065a8]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 8]
jb 0x46caa9
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jbe 0x46cab0
xor eax, eax
jmp 0x46cbfd
mov ecx, dword [0x5065a8]
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.00457a60
add esp, 0xc
mov eax, dword [ebp - 0x10]
jmp 0x46cbfd
mov edx, dword [0x5065a4]
mov dword [0x5065a8], edx
jmp 0x46caf6
mov eax, dword [0x5065a8]
mov ecx, dword [eax + 4]
mov dword [0x5065a8], ecx
cmp dword [0x5065a8], 0
je 0x46cb36
cmp dword [0x5065a8], 0
je 0x46cb34
mov edx, dword [0x5065a8]
cmp dword [edx + 8], 0
je 0x46cb34
mov eax, dword [0x5065a8]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jb 0x46cb34
mov edx, dword [0x5065a8]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x46cb34
jmp 0x46ca8e
jmp 0x46cae8
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046b380
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46cbfb
mov eax, dword [ebp - 4]
mov dword [0x5065a8], eax
mov ecx, dword [0x5065a8]
mov dword [ecx], 0x52727464
mov edx, dword [0x5065a8]
mov dword [edx + 8], 0
mov eax, dword [0x5065a8]
mov ecx, dword [0x5065a4]
mov dword [eax + 4], ecx
mov edx, dword [0x5065a8]
mov dword [0x5065a4], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x5065a8]
add eax, 0x48
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0x38c
jmp 0x46cbc7
mov ecx, dword [ebp - 0x18]
sub ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 1
jle 0x46cbeb
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
mov edx, dword [ebp - 0x18]
imul edx, edx, 0x48
add edx, dword [ebp - 0x10]
mov dword [ebp - 0x14], edx
jmp 0x46cbbe
mov eax, dword [0x5065a8]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x46ca8e
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x471b90
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.00471900
Function at 0x4720c0
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00457a60
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret

Function at 0x472330
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.00457a60
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret
Function at 0x4aff20
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [eax + 4]
push ebx
push esi
push edi
mov edi, dword [esp + 0x18]
cmp ecx, dword [edi + 4]
jge 0x4aff39
mov esi, edi
mov edi, eax
jmp 0x4aff3b
mov esi, eax
mov eax, dword [esi + 4]
mov ebx, dword [esp + 0x10]
cmp eax, dword [ebx + 8]
jg 0x4aff4b
mov eax, ebx
jmp 0x4aff55
push eax
push ebx
call fcn.00473060
add esp, 8
test eax, eax
jne 0x4aff5d
pop edi
pop esi
pop ebx
ret
xor eax, eax
cmp dword [edi + 4], eax
jle 0x4aff79
mov edx, dword [esi]
mov ecx, dword [edi]
mov edx, dword [edx + eax*4]
xor edx, dword [ecx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [edi + 4]
jl 0x4aff64
cmp eax, dword [esi + 4]
jge 0x4aff90
mov edi, edi
mov edx, dword [esi]
mov edx, dword [edx + eax*4]
mov ecx, dword [ebx]
mov dword [ecx + eax*4], edx
inc eax
cmp eax, dword [esi + 4]
jl 0x4aff80
mov eax, dword [esi + 4]
mov dword [ebx + 4], eax
test eax, eax
jle 0x4affb1
mov ecx, dword [ebx]
lea ecx, [ecx + eax*4 - 4]
mov edx, dword [ecx]
sub ecx, 4
test edx, edx
jne 0x4affae
dec eax
test eax, eax
jg 0x4affa0
mov dword [ebx + 4], eax
pop edi
pop esi
mov eax, 1
pop ebx
ret
Function at 0x5168a0
Capabilities:
Encode data using base64
Parse pe header

Disassembly:
jmp 0x58bfc7
jb 0x5fe4bf
mov esi, dword [esi + 4]
jmp 0x631f47
cmp dword [esi + 0x18], 0x10
jmp 0x5466e4
push 0x91423263
call fcn.005cd7d3
jne 0x57657e
call fcn.004549c0
mov esi, dword [esp + 0x50]
cmc
jmp 0x57657e
push esi
jmp 0x4057ca
add esi, 4
jmp 0x5cb9ec
jmp 0x5cb9ec
Function at 0x5922d8
Capabilities:
Check http status code
Encode data using base64
Execute anti-debugging instructions
Write file on windows

Disassembly:
push 0x893bf062
call fcn.005cd7d3
xadd ax, ax

Function at 0x5dae6e
Capabilities:
Encode data using xor

Disassembly:
push 0x893bf062
call fcn.005cd7d3
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
invalid

Function at 0x5f641c
Capabilities:
Encode data using xor
Read file on windows

Disassembly:
push esi
jmp loc.0040fc42
call fcn.00454eea
add esp, 0xc
jmp 0x58fb03
push 0xa9f50c63
call fcn.005cd7d3
push ecx
mov esi, 0x473ddd89
mov esi, eax
jmp 0x5f119e
Function at 0x406fa0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x57
push ebx
push esi
nop
sbb al, 0xc
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 0xc], esi
jns 0x406fba
mov byte [eax - 0xc], al
inc eax
add byte [edx + 0xf309b06], cl
mov al, byte [esi]
wait
xor byte [edi], cl
invalid

Function at 0x407ec0
Capabilities:
Encode data using xor

Disassembly:
test esi, 0x85cb6506
fstp xword [ebp + 7]
scasd eax, dword es:[edi]
invalid
push ebp
mov ebp, esp
mov ebp, dword [ebx + 0x1c]
mov ecx, dword [ebp + 0x63]
mov edx, dword [ebp - 0x25]
jb 0x407e59
scasb al, byte es:[edi]
adc byte [ebp + 0x4d8b5101], bh
or al, 0xac
jbe 0x407f43
or byte [eax + 0x51], dl
push edx
call 0x70407ef0
sbb dword [eax + 0x1c], 0xffffffe0
ret
leave
add ch, bl
pop ebp
or ch, bl
inc ebp
out 0xe7, al
sbb eax, 0x40c230
adc al, 0xc4
xor dl, al
inc eax
add byte [esp + eax*8], dl
or al, 0xdf
loopne 0x407f4d
les eax, [ebx + 0x72]
push eax
jae 0x407fae
cmp esi, ebx
jbe 0x407fba
cli
inc ebp
in al, dx
sti
sbb eax, 0x3ac230
fnstsw ax
test ah, 0x44
invalid

Function at 0x408ac0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
inc ebx
in al, dx
or al, 0x8b
dec ebp
or al, 0x56
mov esi, dword [ebp + 0x10]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
push 0
mov eax, dword [esi]
push 0xf
lea edx, [ebp - 4]
xchg esi, eax
mov ecx, 0x52006af4
mov edx, dword [ecx + 4]
lea eax, [ebp - 0xc]
std
add dword [eax - 0x64], edx
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_WSASend]
cmp eax, 0xffffffff
invalid

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..rdata
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x68007a25
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x428064a6
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x403350
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x45f020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4033e8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4033c8
xor eax, eax
push ebp
push 0x4033c1
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403404
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4033c8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x45f020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x45f020], ax
mov esp, ebp
pop ebp
ret

Function at 0x4040e4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x461048], 0
je 0x404145
cmp word [0x46121c], 0xd7b2
jne 0x40410d
cmp dword [0x461224], 0
jbe 0x40410d
mov eax, 0x461218
call dword [0x461234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x45f06c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40416c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45f030], 0
jne 0x404161
push 0
push 0x45f064
push 0x45f06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret