joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4619c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40295e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408100
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.004606e0
jmp 0x402920
cmp byte [0x713e38], 0
je 0x4619db
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x460130
jmp 0x402920
Function at 0x4bc7d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4bc98e
sub esp, 0x5c
lea edi, [esp + 0x7c]
xor eax, eax
call fcn.00461cc7
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4bc80a
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
jmp 0x4bc833
lea eax, [0x55c1e0]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.004494c0
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x200
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.00461cc7
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
movzx ecx, word [esp + 0x6c]
movzx edx, word [esp + 0x70]
shl edx, 0xb
movzx ebx, word [esp + 0x78]
or ebx, edx
movzx edx, byte [esp + 0x75]
test dl, dl
je 0x4bc87b
or ebx, 0x80
movzx eax, byte [esp + 0x74]
test al, al
je 0x4bc88a
or ebx, 0x100
movzx eax, byte [esp + 0x73]
test al, al
je 0x4bc899
or ebx, 0x200
movzx eax, byte [esp + 0x72]
test al, al
je 0x4bc8a8
or ebx, 0x400
movzx eax, byte [esp + 0x6e]
test al, al
je 0x4bc8b7
or ebx, 0xffff8000
movzx eax, byte [esp + 0x76]
test al, al
je 0x4bc8c3
or ebx, 0x20
movzx eax, byte [esp + 0x77]
test al, al
je 0x4bc8cf
or ebx, 0x10
mov word [esp + 0x46], cx
mov word [esp + 0x48], bx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0xc]
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
cmp edx, ecx
jae 0x4bc93a
mov dword [esp + 0x24], eax
mov dword [esp], ebx
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0xc
lea eax, [0x55c1e0]
mov dword [esp + 0x10], eax
call fcn.00449580
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
add eax, ebx
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.004623c0
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
lea edi, [esp + 0x7c]
lea esi, [esp + 0x38]
call fcn.00462186
add esp, 0x5c
ret
call fcn.004606e0
jmp fcn.004bc7d0
Function at 0x4d2ba0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d2d13
sub esp, 0x48
mov eax, dword [esp + 0x78]
cmp eax, 4
jne 0x4d2c39
mov ecx, dword [esp + 0x74]
cmp dword [ecx], 0x6c616964
je 0x4d2bd8
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4d2c45
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 0x4d2c03
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x68]
jmp 0x4d2c45
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 0x4d2c45
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.004d2980
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.004d95f0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], edx
add esp, 0x48
ret
call fcn.004606e0
jmp fcn.004d2ba0
Function at 0x518670
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x518855
add esp, 0xffffff80
lea edi, [esp + 0x30]
mov esi, dword [esp + 0x84]
call fcn.0046217c
lea eax, [esp + 0x30]
mov dword [esp], eax
call fcn.00518100
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edi, [esp + 0x58]
xor eax, eax
call fcn.00461cc6
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 0x518722
mov edx, dword [esp + 0xc]
lea ecx, [edx + 1]
cmp ecx, 5
jge 0x5187f0
mov dword [esp + 0xc], ecx
imul edx, ecx, 0x33
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1d
add edx, ebx
mov dword [esp + 0x1c], edx
and edx, 0xfffffff8
sub ebx, edx
cmp ebx, 0x20
sbb edx, edx
lea esi, [ebx - 0x20]
mov dword [esp + 0x18], esi
cmp esi, 0x20
sbb edi, edi
mov dword [esp + 0x14], edi
xchg esi, ebx
neg ebx
xchg esi, ebx
cmp esi, 0x20
sbb ebp, ebp
mov dword [esp + 0x10], ebp
lea edi, [esp + ecx*8 + 0x58]
mov ebp, dword [edi]
mov dword [esp + 8], ebp
mov edi, dword [edi + 4]
mov ecx, ebx
shl ebp, cl
and ebp, edx
xchg ebp, eax
mov byte [esp + 0x20], al
xchg ebp, eax
shl edi, cl
and edi, edx
mov ecx, esi
mov edx, dword [esp + 8]
mov ebx, edx
shr edx, cl
mov esi, dword [esp + 0x10]
and edx, esi
or edx, edi
mov ecx, dword [esp + 0x18]
shl ebx, cl
mov esi, dword [esp + 0x14]
and ebx, esi
or ebx, edx
mov edx, ebp
shr ebp, 8
mov esi, ebx
shl ebx, 0x18
or ebp, ebx
xchg ebp, eax
mov byte [esp + 0x21], al
xchg ebp, eax
mov ebx, edx
shr edx, 0x10
mov ebp, esi
shl esi, 0x10
or esi, edx
xchg esi, eax
mov byte [esp + 0x22], al
xchg esi, eax
mov edx, ebp
shl ebp, 8
shr ebx, 0x18
or ebx, ebp
mov byte [esp + 0x23], bl
mov dword [esp + 0x24], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x1c]
xor ecx, ecx
jmp 0x518823
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 + edx]
or esi, ebx
xchg esi, ebx
mov byte [eax + edx], bl
xchg esi, ebx
inc ecx
mov edx, ebp
cmp ecx, 8
jge 0x51871b
movzx ebx, byte [esp + ecx + 0x28]
mov ebp, edx
sar edx, 3
add edx, ecx
cmp edx, 0x20
jge 0x51871b
test byte [eax], al
cmp edx, 0x20
jb 0x518813
mov eax, edx
mov ecx, 0x20
call fcn.00461b70
nop
call fcn.004606e0
jmp fcn.00518670
Function at 0x51a700
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x51a916
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xcc]
cmp ecx, 6
jne 0x51a799
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0xcbbb9d5d
mov dword [eax + 8], 0x367cd507
mov dword [eax + 0xc], 0x629a292a
mov dword [eax + 0x10], 0x3070dd17
mov dword [eax + 0x14], 0x9159015a
mov dword [eax + 0x18], 0xf70e5939
mov dword [eax + 0x1c], 0x152fecd8
mov dword [eax + 0x20], 0xffc00b31
mov dword [eax + 0x24], 0x67332667
mov dword [eax + 0x28], 0x68581511
mov dword [eax + 0x2c], 0x8eb44a87
mov dword [eax + 0x30], 0x64f98fa7
mov dword [eax + 0x34], 0xdb0c2e0d
mov dword [eax + 0x38], 0xbefa4fa4
mov dword [eax + 0x3c], 0x47b5481d
jmp 0x51a8f7
cmp ecx, 0xe
jne 0x51a812
mov dword [eax], 0x19544da2
mov dword [eax + 4], 0x8c3d37c8
mov dword [eax + 8], 0x89dcd4d6
mov dword [eax + 0xc], 0x73e19966
mov dword [eax + 0x10], 0x32ff9c82
mov dword [eax + 0x14], 0x1dfab7ae
mov dword [eax + 0x18], 0x582f9fcf
mov dword [eax + 0x1c], 0x679dd514
mov dword [eax + 0x20], 0x7bd44da8
mov dword [eax + 0x24], 0xf6d2b69
mov dword [eax + 0x28], 0x4c48942
mov dword [eax + 0x2c], 0x77e36f73
mov dword [eax + 0x30], 0x6a1d36c8
mov dword [eax + 0x34], 0x3f9d85a8
mov dword [eax + 0x38], 0x91d692a1
mov dword [eax + 0x3c], 0x1112e6ad
jmp 0x51a8f7
cmp ecx, 0xf
jne 0x51a888
mov dword [eax], 0xfc2bf72c
mov dword [eax + 4], 0x22312194
mov dword [eax + 8], 0xc84c64c2
mov dword [eax + 0xc], 0x9f555fa3
mov dword [eax + 0x10], 0x6f53b151
mov dword [eax + 0x14], 0x2393b86b
mov dword [eax + 0x18], 0x5940eabd
mov dword [eax + 0x1c], 0x96387719
mov dword [eax + 0x20], 0xa88effe3
mov dword [eax + 0x24], 0x96283ee2
mov dword [eax + 0x28], 0x53863992
mov dword [eax + 0x2c], 0xbe5e1e25
mov dword [eax + 0x30], 0x2c85b8aa
mov dword [eax + 0x34], 0x2b0199fc
mov dword [eax + 0x38], 0x81c52ca2
mov dword [eax + 0x3c], 0xeb72ddc
jmp 0x51a8f7
mov dword [eax], 0xf3bcc908
mov dword [eax + 4], 0x6a09e667
mov dword [eax + 8], 0x84caa73b
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0xfe94f82b
mov dword [eax + 0x14], 0x3c6ef372
mov dword [eax + 0x18], 0x5f1d36f1
mov dword [eax + 0x1c], 0xa54ff53a
mov dword [eax + 0x20], 0xade682d1
mov dword [eax + 0x24], 0x510e527f
mov dword [eax + 0x28], 0x2b3e6c1f
mov dword [eax + 0x2c], 0x9b05688c
mov dword [eax + 0x30], 0xfb41bd6b
mov dword [eax + 0x34], 0x1f83d9ab
mov dword [eax + 0x38], 0x137e2179
mov dword [eax + 0x3c], 0x5be0cd19
mov dword [eax + 0xc0], 0
mov dword [eax + 0xc4], 0
mov dword [eax + 0xc8], 0
ret
call fcn.004606e0
jmp fcn.0051a700
Function at 0x5235c0
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x523668
mov eax, dword [esp + 4]
movzx ecx, byte [eax + 0x6c]
test cl, cl
je 0x52361b
mov dword [eax], 0xc1059ed8
mov dword [eax + 4], 0x367cd507
mov dword [eax + 8], 0x3070dd17
mov dword [eax + 0xc], 0xf70e5939
mov dword [eax + 0x10], 0xffc00b31
mov dword [eax + 0x14], 0x68581511
mov dword [eax + 0x18], 0x64f98fa7
mov dword [eax + 0x1c], 0xbefa4fa4
jmp 0x523652
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov dword [eax + 0x68], 0
ret
call fcn.004606e0
jmp fcn.005235c0
Function at 0x528090
Capabilities:
Parse credit card information

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x528203
movzx eax, byte [esp + 4]
lea ecx, [eax - 0x61]
cmp cl, 0x19
jbe 0x5280c3
lea ecx, [eax - 0x41]
cmp cl, 0x19
jbe 0x5280c3
lea ecx, [eax - 0x30]
cmp cl, 9
ja 0x5280c9
mov byte [esp + 0xc], 0
ret
mov ecx, dword [esp + 8]
cmp ecx, 3
je 0x5280d7
cmp ecx, 4
jne 0x528108
cmp al, 0x2c
ja 0x5280f0
lea edx, [eax - 0x21]
cmp dl, 1
jbe 0x528102
cmp al, 0x24
je 0x528102
cmp al, 0x26
jae 0x528102
jmp 0x528108
lea edx, [eax - 0x3a]
cmp dl, 4
jbe 0x528102
cmp al, 0x5b
je 0x528102
cmp al, 0x5d
jne 0x528108
mov byte [esp + 0xc], 0
ret
cmp al, 0x2f
ja 0x52813f
cmp al, 0x26
ja 0x528121
cmp al, 0x24
je 0x52815e
cmp al, 0x26
je 0x52815e
jmp 0x5281e5
lea edx, [eax - 0x2b]
cmp dl, 1
jbe 0x52815e
lea edx, [eax - 0x2d]
cmp dl, 1
jbe 0x5281df
cmp al, 0x2f
je 0x52815e
jmp 0x5281e5
cmp al, 0x3d
ja 0x528156
lea edx, [eax - 0x3a]
cmp dl, 1
jbe 0x52815e
cmp al, 0x3d
je 0x52815e
jmp 0x5281e5
lea edx, [eax - 0x3f]
cmp dl, 1
ja 0x5281d5
cmp ecx, 2
jg 0x528199
cmp ecx, 1
je 0x52818e
cmp ecx, 2
jne 0x5281e5
cmp al, 0x2f
je 0x52817c
cmp al, 0x3b
je 0x52817c
cmp al, 0x2c
jne 0x528183
mov eax, 1
jmp 0x528189
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 0x5281bf
cmp al, 0x40
je 0x5281ad
cmp al, 0x2f
je 0x5281ad
cmp al, 0x3f
jne 0x5281b4
mov eax, 1
jmp 0x5281ba
cmp al, 0x3a
sete al
mov byte [esp + 0xc], al
ret
cmp ecx, 6
je 0x5281cf
cmp ecx, 7
jne 0x5281e5
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
cmp al, 0x5f
je 0x5281df
cmp al, 0x7e
jne 0x5281e5
mov byte [esp + 0xc], 0
ret
cmp ecx, 7
jne 0x5281fd
cmp al, 0x21
je 0x5281f7
add eax, 0xffffffd8
cmp al, 2
ja 0x5281fd
mov byte [esp + 0xc], 0
ret
mov byte [esp + 0xc], 1
ret
call fcn.004606e0
jmp fcn.00528090
Function at 0x42e001
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp loc.00401219

Function at 0x4313c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2c000]
push edi
jmp 0x4313da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4313e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4313d0
mov eax, 1
add ebx, ebx
jne 0x4313f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4313e8
jne 0x431404
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4313e8
xor ecx, ecx
sub eax, 3
jb 0x431418
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43148a
mov ebp, eax
add ebx, ebx
jne 0x431423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x431430
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x431454
inc ecx
add ebx, ebx
jne 0x431440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x431435
jne 0x431451
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x431435
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x431474
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x431465
jmp 0x4313d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x431474
add edi, ecx
jmp 0x4313d6
pop esi
mov edi, esi
mov ecx, 0x24a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x431492
cmp byte [edi], 1
jne 0x431492
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x431497
lea edi, [esi + 0x2f000]
mov eax, dword [edi]
or eax, eax
je 0x43150f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x328d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x32984]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4314c4
mov ecx, edi
jns 0x4314f3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x32988]
or eax, eax
je 0x431509
mov dword [ebx], eax
add ebx, 4
jmp 0x4314e1
call dword [esi + 0x32998]
mov ebp, dword [esi + 0x3298c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x431543
sub esp, 0xffffff80
jmp 0x40323c
Function at 0x100045b0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10004611
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x100045f4
cmp edi, 2
jb 0x100045f4
cmp byte [esi], cl
jne 0x100045f4
cmp byte [esi + 1], cl
jne 0x100045f4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10045818]
jmp 0x100045c5
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x10045818]
test edi, edi
jne 0x100045c5
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10004640
cmp cl, 0x23
jne 0x10004627
cmp byte [esi], cl
jne 0x10004627
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x10045818]
test cl, cl
jne 0x10004618
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10004750
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10004764
mov dword [ebx], 0
mov edx, 0x100455f0
call fcn.10004650
mov esi, eax
test esi, esi
je 0x10004852
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10004848
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10004848
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10004848
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10004848
mov eax, dword [0x1004fa30]
test eax, eax
je 0x100047dc
inc dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10004848
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x1000482d
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x1004fa30]
add esp, 4
test eax, eax
je 0x1000481a
dec dword [eax + 0x36c]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x1000483f
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10006710
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1004f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0xc4]
lea edx, [ebp - 8]
push ebx
mov ebx, dword [ecx + 0xcc]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 4
mov ebx, dword [ebx + eax*4 - 4]
mov dword [ebp - 8], edi
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10045818]
sub esi, 1
jne 0x10006743
mov eax, dword [0x1004fa30]
not ebx
cmp dword [eax + 0x1be0], ebx
jne 0x10006772
mov dword [eax + 0x1be4], ebx
cmp dword [eax + 0x1c1c], ebx
jne 0x10006781
mov byte [eax + 0x1c20], 1
cmp dword [eax + 0x1bc8], ebx
jne 0x1000679a
push ecx
push edi
mov edx, 4
mov ecx, ebx
call fcn.10016cc0
add esp, 8
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100416c0
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ab00
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
or ecx, 0xffffffff
push edi
test bl, bl
je 0x1000ab3f
cmp bl, 0x23
jne 0x1000ab21
cmp byte [esi], bl
jne 0x1000ab21
cmp byte [esi + 1], bl
cmove eax, ecx
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
mov ecx, 0xffffffff
xor eax, dword [edx*4 + 0x10045818]
test bl, bl
jne 0x1000ab12
mov ecx, dword [0x1004fa30]
not eax
mov esi, dword [ecx + 0x1b90]
mov edi, dword [ecx + 0x1b98]
lea ebx, [edi + esi*8]
test esi, esi
je 0x1000ab7e
nop word [eax + eax]
mov edx, esi
shr edx, 1
cmp dword [edi + edx*8], eax
lea ecx, [edi + edx*8]
jae 0x1000ab78
lea edi, [ecx + 8]
or ecx, 0xffffffff
sub ecx, edx
add esi, ecx
jmp 0x1000ab7a
mov esi, edx
test esi, esi
jne 0x1000ab60
cmp edi, ebx
je 0x1000ab8d
cmp dword [edi], eax
jne 0x1000ab8d
mov eax, dword [edi + 4]
pop edi
pop esi
pop ebx
ret
pop edi
pop esi
xor eax, eax
pop ebx
ret
Function at 0x10010970
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1004f040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
lea edx, [ebp - 8]
push ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov eax, dword [0x1004fa30]
push esi
push edi
mov esi, 4
mov edi, dword [eax + 0x1ba8]
mov eax, dword [edi + 0xc4]
mov ebx, dword [edi + 0xcc]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x10045818]
sub esi, 1
jne 0x100109b0
mov eax, dword [0x1004fa30]
not ebx
cmp dword [eax + 0x1bc8], ebx
jne 0x100109ea
push ecx
push dword [ebp - 0xc]
lea edx, [esi + 4]
mov ecx, ebx
call fcn.10016cc0
add esp, 8
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], ebx
push eax
lea ecx, [edi + 0xc4]
call fcn.100173f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100416c0
mov esp, ebp
pop ebp
ret

Function at 0x10015c60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2fac], 0
lea esi, [edi + 0x2fb0]
je 0x10015ce2
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x10015c9c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100179a0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10004b60
mov edx, dword [esi]
mov ecx, 0x1004fa2c
push dword [edi + 0x2fac]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2fb8]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10004b60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret