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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
push 0x74e3bb2e
call fcn.10019820
add esp, 4
mov dword [ebp - 0x244], eax
push 0x2abec29a
call fcn.10019820
add esp, 4
mov dword [ebp - 0x240], eax
push 0x1695d49f
call fcn.10019820
add esp, 4
mov dword [ebp - 4], eax
push 0x70ebfb28
call fcn.10019820
add esp, 4
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp + 8]
push eax
push 8
call dword [ebp - 0x244]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x10019d19
xor eax, eax
jmp 0x10019d82
mov dword [ebp - 0x238], 0x224
lea ecx, [ebp - 0x238]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [ebp - 4]
test eax, eax
jne 0x10019d40
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0xc]
xor eax, eax
jmp 0x10019d82
lea ecx, [ebp - 0x218]
push ecx
call fcn.10019670
add esp, 4
cmp eax, dword [ebp + 0xc]
jne 0x10019d60
mov dword [ebp - 0x23c], 1
jmp 0x10019d75
lea edx, [ebp - 0x238]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [ebp - 0x240]
test eax, eax
jne 0x10019d40
mov ecx, dword [ebp - 8]
push ecx
call dword [ebp - 0xc]
mov eax, dword [ebp - 0x23c]
mov esp, ebp
pop ebp
ret

Function at 0x10019eb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push 0x74e3bb2e
call fcn.10019820
add esp, 4
mov dword [ebp - 0x14c], eax
push 0x3749ca10
call fcn.10019820
add esp, 4
mov dword [ebp - 4], eax
push 0x49f43cb7
call fcn.10019820
add esp, 4
mov dword [ebp - 0x150], eax
mov dword [ebp - 0x18], 0x23ec5044
mov dword [ebp - 0x14], 0x33af2093
push 0
push 2
call dword [ebp - 0x14c]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x148], 0x128
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 4]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x140]
push eax
call fcn.10019ca0
add esp, 8
test eax, eax
je 0x10019ec4
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x140]
push edx
call fcn.10019ca0
add esp, 8
test eax, eax
je 0x10019ec4
lea eax, [ebp - 0x124]
push eax
push 0x100050d0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
test eax, eax
je 0x10019ec4
mov dword [0x10007128], 0
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x154], ecx
lea edx, [ebp - 0x154]
push edx
push 0x10001790
call dword [0x10005090]
cmp dword [0x10007128], 0xa
jbe 0x10019ec0
mov eax, 1
jmp 0x10019f26
xor eax, eax
jmp 0x10019f26
lea eax, [ebp - 0x148]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [ebp - 0x150]
test eax, eax
jne 0x10019e42
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 0xa], 0x69
mov byte [ebp - 9], 0x66
mov byte [ebp - 8], 0x66
mov byte [ebp - 7], 0x65
mov byte [ebp - 6], 0x72
mov byte [ebp - 5], 0
lea edx, [ebp - 0x10]
push edx
push 0
call dword [0x10005098]
test eax, eax
je 0x10019f24
mov eax, 1
jmp 0x10019f26
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1001b910
Capabilities:
Accept command line arguments
Contain obfuscated stackstrings
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov eax, ecx
mov edx, ecx
add eax, esi
cmp edi, esi
jbe 0x1001b8c0
cmp edi, eax
jb 0x1001ba64
cmp ecx, 0x100
jb 0x1001b8e7
cmp dword [0x1000745c], 0
je 0x1001b8e7
push edi
push esi
and edi, 0xf
and esi, 0xf
cmp edi, esi
pop esi
pop edi
jne 0x1001b8e7
pop esi
pop edi
pop ebp
jmp fcn.1001bd41
test edi, 3
jne 0x1001b904
shr ecx, 2
and edx, 3
cmp ecx, 8
jb 0x1001b924
rep movsd dword es:[edi], dword [esi]
jmp dword [edx*4 + 0x10003414]
mov eax, edi
mov edx, 3
sub ecx, 4
jb 0x1001b91c
and eax, 3
add ecx, eax
jmp dword [eax*4 + 0x10003328]
jmp dword [ecx*4 + 0x10003424]
jmp dword [ecx*4 + 0x100033a8]
lea esi, [ecx + esi - 4]
lea edi, [ecx + edi - 4]
test edi, 3
jne 0x1001ba98
shr ecx, 2
and edx, 3
cmp ecx, 8
jb 0x1001ba8c
std
rep movsd dword es:[edi], dword [esi]
cld
jmp dword [edx*4 + fcn.100035b0]
neg ecx
jmp dword [ecx*4 + 0x10003560]
mov eax, edi
mov edx, 3
cmp ecx, 4
jb 0x1001bab0
and eax, 3
sub ecx, eax
jmp dword [eax*4 + 0x100034b4]
jmp dword [ecx*4 + fcn.100035b0]
Function at 0x851520
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ecx
push 0x882c50
push eax
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0
call fcn.00865a07
add esp, 0xc
test eax, eax
je 0x851544
xor eax, eax
pop ecx
ret
mov edx, dword [esp]
push ebx
push ebp
push esi
push edi
push 2
push 0
push edx
call fcn.00865ae4
mov eax, dword [esp + 0x1c]
push eax
call fcn.00865d06
mov ecx, dword [esp + 0x20]
push 0
push 0
push ecx
mov esi, eax
call fcn.00865ae4
lea ebp, [esi + 0x32]
push ebp
call fcn.0086565a
mov edx, dword [esp + 0x30]
push edx
push 1
mov edi, eax
push esi
push edi
call fcn.00866014
mov eax, dword [esp + 0x40]
push eax
call fcn.008660a8
lea ebx, [edi + esi]
mov eax, 0x32
call fcn.00853fc0
mov ecx, dword [esp + 0x4c]
push 0x882c58
push ecx
lea edx, [esp + 0x4c]
push edx
call fcn.00865a07
add esp, 0x40
test eax, eax
je 0x8515c2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x10]
push eax
push 1
push ebp
push edi
call fcn.00866286
mov ecx, dword [esp + 0x20]
push ecx
call fcn.008660a8
add esp, 0x14
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
Function at 0x852f70
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x68c
mov eax, dword [0x887c24]
xor eax, esp
mov dword [esp + 0x684], eax
push ebx
push ebp
push esi
push edi
push 0x8832d0
push 0x8832d4
call fcn.00866400
mov esi, eax
add esp, 8
test esi, esi
je 0x852fc8
push 0
push 0x2580
push esi
call fcn.00865ae4
add esp, 0xc
push esi
push 5
push 1
push 0x8832e0
call fcn.00866286
push esi
call fcn.008660a8
add esp, 0x14
cmp byte [0x88c78b], 1
jne 0x853146
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x492]
push ecx
mov word [esp + 0x494], ax
call fcn.00867c50
mov esi, dword [fcn.0087b20c]
add esp, 0xc
push 0x8832e8
mov dword [esp + 0x18], 0
call esi
mov edi, dword [0x87b08c]
mov ebx, dword [0x87b1fc]
mov ebp, dword [fcn.0087b240]
cmp eax, 0xffffffff
je 0x85304e
test al, 1
je 0x853028
xor eax, 1
test al, 4
je 0x85302f
xor eax, 4
test al, 2
je 0x853036
xor eax, 2
test al, 0x20
je 0x85303d
xor eax, 0x20
push eax
push 0x8832e8
call edi
push 0x8832e8
call ebx
call ebp
push 0x883304
call esi
cmp eax, 0xffffffff
je 0x853087
test al, 1
je 0x853061
xor eax, 1
test al, 4
je 0x853068
xor eax, 4
test al, 2
je 0x85306f
xor eax, 2
test al, 0x20
je 0x853076
xor eax, 0x20
push eax
push 0x883304
call edi
push 0x883304
call ebx
call ebp
push 0x883330
call esi
cmp eax, 0xffffffff
je 0x8530c0
test al, 1
je 0x85309a
xor eax, 1
test al, 4
je 0x8530a1
xor eax, 4
test al, 2
je 0x8530a8
xor eax, 2
test al, 0x20
je 0x8530af
xor eax, 0x20
push eax
push 0x883330
call edi
push 0x883330
call ebx
call ebp
push 0x104
lea edx, [esp + 0x48c]
push edx
call dword [fcn.0087b200]
movzx eax, word [esp + 0x488]
sub eax, 0x41
push eax
lea ebx, [esp + 0x18]
call fcn.00854440
mov ebx, dword [esp + 0x18]
add esp, 4
call fcn.008542c0
mov edi, eax
cmp edi, 0xffffffff
je 0x853146
lea esi, [esp + 0x250]
call fcn.00854780
test eax, eax
je 0x853146
mov ecx, edi
call fcn.008531c0
mov ecx, 0x8d
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x250]
push 0x236
lea edx, [esp + 0x1c]
push edx
movsw word es:[edi], word [esi]
push 0x1e
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], 0x5042475f
call fcn.00854250
add esp, 0xc
mov ecx, dword [esp + 0x694]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.008655fc
add esp, 0x68c
ret
Function at 0x853530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
or eax, 0xffffffff
push ebx
mov ebx, 1
push ebp
push esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x74], eax
push edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x18], ebx
call fcn.0086631a
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x8834e8]
fadd qword [0x883500]
call fcn.00869970
mov ebp, eax
xor esi, esi
xor edi, edi
test ebp, ebp
jle 0x853650
call fcn.0086631a
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x8834e8]
fmul qword [0x8834f8]
fadd qword [0x8834f0]
call fcn.00869970
mov ecx, eax
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jle 0x853638
lea esp, [esp]
add ecx, ebx
cmp ecx, 0x1a
jne 0x853629
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x18]
add eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, ebx
jg 0x853620
add esi, dword [esp + ecx*4 + 0x18]
mov eax, dword [esp + 0x84]
add ecx, 0x61
mov word [eax + edi*2], cx
add edi, ebx
cmp edi, ebp
jl 0x8535e7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x855b90
Capabilities:
Hash data using sha1
Read file on windows

Disassembly:
mov eax, 0x1068
call fcn.0086a100
mov eax, dword [0x887c24]
xor eax, esp
mov dword [esp + 0x1064], eax
mov eax, dword [esp + 0x106c]
push ebx
push ebp
push 0x881cf8
push eax
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x14], ebx
xor ebp, ebp
call fcn.00865a07
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, ebx
jne 0x855bfb
xor eax, eax
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
pop ebp
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
pop ebx
mov ecx, dword [esp + 0x1064]
xor ecx, esp
call fcn.008655fc
add esp, 0x1068
ret
push esi
push 2
push ebx
push eax
call fcn.00865ae4
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00865d06
mov edx, dword [esp + 0x1c]
push ebx
push ebx
push edx
mov dword [esp + 0x2c], eax
call fcn.00865ae4
mov eax, dword [esp + 0x28]
push eax
push 0x1000
lea ecx, [esp + 0x94]
push 1
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], 0x67452301
mov dword [esp + 0x4c], 0xefcdab89
mov dword [esp + 0x50], 0x98badcfe
mov dword [esp + 0x54], 0x10325476
mov dword [esp + 0x58], 0xc3d2e1f0
call fcn.00866014
mov esi, eax
add esp, 0x2c
cmp esi, ebx
jbe 0x855ca6
lea edx, [esp + 0x70]
push esi
push edx
lea ebx, [esp + 0x1c]
call fcn.00855a00
mov eax, dword [esp + 0x14]
push eax
push 0x1000
lea ecx, [esp + 0x80]
push 1
push ecx
add ebp, esi
call fcn.00866014
mov esi, eax
add esp, 0x18
test esi, esi
ja 0x855c71
xor ebx, ebx
push edi
lea esi, [esp + 0x18]
call fcn.00855aa0
mov edx, dword [esp + 0x10]
push edx
call fcn.008660a8
add esp, 8
pop esi
cmp ebp, dword [esp + 0xc]
jb 0x855bd4
mov ecx, dword [esp + 0x106c]
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.008655fc
add esp, 0x1068
ret

Function at 0x8564a0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x100c
call fcn.0086a100
mov eax, dword [0x887c24]
xor eax, esp
mov dword [esp + 0x1008], eax
mov edx, dword [ebx]
mov eax, dword [esp + 0x1010]
push ebp
mov ebp, dword [0x87b3fc]
push edi
xor edi, edi
push edi
push 4
lea ecx, [esp + 0x10]
push ecx
push edx
mov dword [esp + 0x1c], eax
call ebp
cmp eax, 4
je 0x8564f8
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x1008]
xor ecx, esp
call fcn.008655fc
add esp, 0x100c
ret
cmp dword [esp + 8], edi
jbe 0x85653d
push esi
nop
mov ecx, dword [ebx]
push 0
push 0x1000
lea eax, [esp + 0x1c]
push eax
push ecx
call ebp
mov esi, eax
test esi, esi
je 0x85653c
mov edx, dword [esp + 0x10]
mov eax, dword [edx]
push eax
push esi
lea ecx, [esp + 0x1c]
push 1
push ecx
call fcn.00866286
add edi, esi
add esp, 0x10
mov dword [0x88c204], edi
cmp edi, dword [esp + 0xc]
jb 0x856500
pop esi
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
push eax
call fcn.008660a8
mov ecx, dword [esp + 0x1014]
add esp, 4
cmp edi, dword [esp + 8]
pop edi
sbb eax, eax
pop ebp
xor ecx, esp
inc eax
call fcn.008655fc
add esp, 0x100c
ret
Function at 0x8569e0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x887c24]
xor eax, esp
mov dword [esp + 0x210], eax
push esi
push 0x206
xor esi, esi
lea ecx, [esp + 0x12]
xor eax, eax
push esi
push ecx
mov word [esp + 0x18], ax
call fcn.00867c50
add esp, 0xc
cmp edi, esi
je 0x856ac8
mov eax, 0x8817d4
mov dword [esp + 4], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x856a25
sub eax, edx
sar eax, 1
je 0x856a4f
push 0x8816f4
lea edx, [esp + 8]
push 0x8817d4
push edx
call fcn.00865a07
add esp, 0xc
jmp 0x856a8a
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [fcn.0087b204]
push 0x8816fc
lea ecx, [esp + 0x10]
push 0x104
push ecx
call fcn.008657f4
push 0x881718
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
call fcn.00865a07
add esp, 0x18
mov eax, dword [esp + 4]
cmp eax, esi
je 0x856aad
push eax
push 1
push 0x200
push edi
call fcn.00866286
mov ecx, dword [esp + 0x14]
push ecx
call fcn.008660a8
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.008655fc
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, esi
pop esi
xor ecx, esp
call fcn.008655fc
add esp, 0x214
ret

Function at 0x856ae0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x887c24]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00867c50
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x856be5
mov eax, 0x881750
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x856b25
sub eax, edx
sar eax, 1
je 0x856be5
cmp dword [0x888f90], 3
jne 0x856b6c
push 0x104
lea edx, [esp + 0x10]
push edx
call dword [fcn.0087b200]
push 0x881720
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.008657f4
add esp, 0xc
jmp 0x856b7c
lea ecx, [esp + 0xc]
push ecx
push 0x104
call dword [fcn.0087b204]
push 0x881750
lea edx, [esp + 0x10]
push 0x104
push edx
call fcn.008657f4
push 0x881724
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00865a07
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x856be5
push eax
push 1
push 0x200
push esi
call fcn.00866014
mov edx, dword [esp + 0x14]
push edx
call fcn.008660a8
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.008655fc
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.008655fc
add esp, 0x214
ret
Function at 0x856c00
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x887c24]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
push 0x206
xor edi, edi
lea ecx, [esp + 0x12]
xor eax, eax
push edi
push ecx
mov word [esp + 0x18], ax
call fcn.00867c50
add esp, 0xc
mov dword [esp + 4], edi
cmp esi, edi
je 0x856ccf
mov eax, 0x881734
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x856c45
sub eax, edx
sar eax, 1
je 0x856ccf
lea edx, [esp + 0xc]
push edx
push 0x104
call dword [fcn.0087b204]
push 0x881734
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.008657f4
push 0x88172c
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00865a07
mov eax, dword [esp + 0x1c]
add esp, 0x18
cmp eax, edi
je 0x856ccf
push eax
push 1
push 0x200
push esi
call fcn.00866014
mov eax, dword [esp + 0x14]
push eax
call fcn.008660a8
add esp, 0x14
mov eax, 1
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.008655fc
add esp, 0x214
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.008655fc
add esp, 0x214
ret
Function at 0x858d90
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
test ecx, ecx
jne 0x858d97
xor eax, eax
ret
push esi
not eax
cmp edx, 8
jb 0x858e74
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 + 0x880a48]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
movzx edi, byte [ecx + 1]
xor edi, eax
and edi, 0xff
inc ecx
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
movzx edi, byte [ecx + 1]
xor edi, eax
inc ecx
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
movzx edi, byte [ecx + 1]
inc ecx
xor edi, eax
and edi, 0xff
shr eax, 8
xor eax, dword [edi*4 + 0x880a48]
inc ecx
sub edx, 8
sub esi, 1
jne 0x858db0
pop edi
test edx, edx
je 0x858e9b
jmp 0x858e80
movzx esi, byte [ecx]
xor esi, eax
and esi, 0xff
shr eax, 8
xor eax, dword [esi*4 + 0x880a48]
inc ecx
sub edx, 1
jne 0x858e80
not eax
pop esi
ret

Function at 0x858ea0
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 + 0x880a48]
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 + 0x880a48]
mov dword [edx + 8], ecx
ret

Function at 0x858ef0
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 + 0x880a48]
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 + 0x880a48]
pop edi
mov dword [esi + 8], ecx
pop ebx
ret
Function at 0x85a2f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x85a30e
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x85a302
cmp dword [edi + 0x7c], ebx
je 0x85a31d
call fcn.0085a6e0
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.0085a060
add esp, 0xc
test eax, eax
je 0x85a344
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x84
call fcn.0086565a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x85a385
push 0x4000
call fcn.0086565a
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x85a392
push esi
call fcn.00865724
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x85a3da
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.008591b0
test eax, eax
jne 0x85a3da
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x85a404
mov cl, byte [edi + 0x39]
mov byte [esi + 0x80], cl
jmp 0x85a40d
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp ebp, ebx
je 0x85a447
mov cl, byte [ebp]
cmp cl, bl
je 0x85a447
call fcn.00858ea0
add ebp, 1
jne 0x85a436
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x4019e0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x404430
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov ecx, dword [ebp + 0x10]
xor edx, edx
push ebx
push esi
mov eax, dword [ecx + 4]
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], 0
mov dx, word [eax + 0x14]
lea eax, [edx + eax + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dx, word [ecx + 6]
cmp eax, edx
jge 0x401b67
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10]
test ecx, ecx
jne 0x401a9a
lea ecx, [ebp - 0x24]
push 0x405848
push ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x36
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0x38]
test esi, esi
jle 0x401a94
mov ebx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
push 4
push 0x1000
mov eax, dword [ebx + 0xc]
push esi
add eax, ecx
push eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov ecx, esi
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 8], edi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, 0x401b48
ret
lea eax, [ebp - 0x28]
push 0x405848
push eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x28], 0x43
call sub.MSVCRT.dll__CxxThrowException
mov eax, dword [ebp - 0x14]
push 4
push 0x1000
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp - 0x1c]
add edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x20], eax
mov eax, 0x401adc
ret
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret