joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e76c
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x467b40]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x41e7af
cmp word [esi], dx
jne 0x41e7af
or byte [edi + eax + 0x28], 4
jmp 0x41e7b4
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x41e907
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x41e8e7
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x41e7f6
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x41e82c
cmp eax, edx
jae 0x41e838
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x41e7ce
jmp 0x41e907
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41e8e3
cmp dword [ebp - 0x14], 0
je 0x41e8e3
mov eax, dword [ebx*4 + 0x467b40]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x41e8bb
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x41e884
mov word [esi], cx
jmp 0x41e8b7
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x467b40]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x467b40]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x467b40]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x41e907
pop ebx
cmp word [ebp - 4], bx
jne 0x41e8cc
cmp esi, dword [ebp + 0xc]
jne 0x41e8cc
mov word [esi], bx
jmp 0x41e904
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.0041f1a0
add esp, 0x10
cmp word [ebp - 4], bx
je 0x41e907
push 0xd
jmp 0x41e900
mov ecx, dword [ebx*4 + 0x467b40]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x41e8fe
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x41e907
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x429238
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x254
mov eax, dword [0x4653c0]
xor eax, esp
mov dword [esp + 0x250], eax
and dword [esp + 4], 0
lea eax, [esp + 4]
and dword [esp + 8], 0
push ebx
push ebp
mov ebp, dword [esp + 0x260]
push esi
push edi
push eax
call fcn.00401789
mov esi, dword [esp + 0x274]
xor ebx, ebx
pop ecx
mov dword [esp + 0x14], eax
push str.JAHNsiu
push 0x4671a0
call fcn.0040146b
push eax
call fcn.004027a6
mov eax, ebx
mov byte [esp + ebx + 0x6c], bl
cdq
add esp, 0xc
idiv dword [esp + 0x274]
mov al, byte [edx + esi]
mov byte [esp + ebx + 0x160], al
inc ebx
cmp ebx, 0x100
jl 0x429279
xor esi, esi
xor edi, edi
mov dl, byte [esp + esi + 0x60]
movzx eax, byte [esp + esi + 0x160]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x4292d9
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + esi + 0x60], al
inc esi
mov byte [esp + edi + 0x60], dl
cmp esi, 0x100
jl 0x4292b6
xor ebx, ebx
xor esi, esi
xor edi, edi
mov dword [esp + 0x10], esi
cmp dword [esp + 0x26c], ebx
jle 0x429444
inc ebx
and ebx, 0x800000ff
jns 0x429316
dec ebx
or ebx, 0xffffff00
inc ebx
mov cl, byte [esp + ebx + 0x60]
movzx edx, cl
add edi, edx
mov dword [esp + 0x1c], ebx
and edi, 0x800000ff
jns 0x429333
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [esp + edi + 0x60]
mov byte [esp + ebx + 0x60], al
xor eax, eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov byte [esp + edi + 0x60], cl
lea ecx, [esp + 0x60]
movzx eax, byte [esp + ebx + 0x60]
xor ebx, ebx
add eax, edx
mov dword [esp + 0x20], edi
movzx eax, al
add eax, ecx
lea ecx, [esp + 0x3c]
push eax
push ebx
call fcn.00401a9b
lea eax, [esp + 0x10]
mov dword [esp + 0x30], ebx
push eax
push ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
call fcn.00401b63
push 0x42a5a0
lea ecx, [esp + 0x4c]
call fcn.00402c81
cmp dword [esp + 0x5c], 0xf
lea eax, [esp + 0x48]
cmova eax, dword [esp + 0x48]
push eax
call fcn.00410dee
pop ecx
push ebx
push ebx
mov edi, eax
mov dword [esp + 0x2c], ebx
push ebx
mov ecx, 0x467260
mov dword [esp + 0x1c], edi
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
mov ecx, eax
call fcn.004037b5
push 0xa
pop ebx
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x28]
call fcn.00401a6f
sub ebx, 1
jne 0x4293dc
mov eax, dword [esp + 0x30]
mov edx, dword [eax]
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + edi*4]
mov eax, dword [esp + 0x3c]
mov al, byte [ecx + eax]
lea ecx, [esp + 0x24]
xor byte [edx + ebp], al
call fcn.004058b0
lea ecx, [esp + 0x48]
call fcn.004058fc
lea ecx, [esp + 0x30]
call fcn.004058b0
lea ecx, [esp + 0x3c]
call fcn.0040588d
mov ebx, dword [esp + 0x1c]
inc esi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x10], esi
cmp esi, dword [esp + 0x26c]
jl 0x429305
lea eax, [esp + 0x14]
push eax
mov ecx, eax
call fcn.00401ce9
mov ecx, dword [esp + 0x260]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040b778
add esp, 0x254
ret
Function at 0x429564
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0xc
sub eax, dword [esp + 0x10]
sar eax, 2
push edi
mov edi, dword [esp + 0x20]
test eax, eax
je 0x42963c
push ebx
xor ebx, ebx
push esi
mov esi, ebx
cmp dword [esp + 0x2c], ebx
jbe 0x42963a
push ebp
mov dword [esp + 0x10], ebx
mov ebp, 0x4671a0
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov al, byte [edi + esi]
xor al, 0x73
sub al, 0x6c
xor al, 0x74
push str.Own_head
push ebp
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.004027a6
mov al, byte [edi + esi]
add al, 0x4e
xor al, 0xdc
push str.Earth
push ebp
mov byte [edi + esi], al
call fcn.0040146b
push eax
call fcn.004027a6
mov al, byte [edi + esi]
xor al, 0xac
sub al, 0x65
xor al, 0x22
sub al, 0x73
push 0x42a594
mov byte [edi + esi], al
call fcn.00410dee
add esp, 0x1c
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x10]
push eax
push ebx
call fcn.00401b63
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
xor byte [edi + esi], al
mov eax, dword [esp + 0x18]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.00401a43
inc esi
mov dword [esp + 0x18], ebx
pop ecx
pop ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
cmp esi, dword [esp + 0x30]
jb 0x4295a1
pop ebp
pop esi
pop ebx
lea ecx, [esp + 0x14]
call fcn.004058b0
pop edi
add esp, 0xc
ret 0x14

Function at 0x42964c
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x429668
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x412a80
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 8]
add eax, dword [ebp - 8]
movzx ecx, byte [eax]
test ecx, ecx
je 0x412af9
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], 7
jmp 0x412ac8
mov edx, dword [ebp - 0x14]
sub edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0
jl 0x412aee
mov eax, dword [ebp - 4]
and eax, 1
neg eax
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
shr ecx, 1
mov edx, dword [ebp - 0xc]
and edx, 0xedb88320
xor ecx, edx
mov dword [ebp - 4], ecx
jmp 0x412abf
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x412a94
mov eax, dword [ebp - 4]
not eax
mov esp, ebp
pop ebp
ret
Function at 0x457770
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push 0x6c078965
push 0
call fcn.00446920
add esp, 4
push eax
mov ecx, 0x6d88b0
call fcn.004579a0
pop ebp
ret

Function at 0x457bb0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x457bce
mov ecx, dword [ebp - 8]
call fcn.00457da0
jmp 0x457be1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x457be1
mov ecx, dword [ebp - 8]
call fcn.00457c50
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x457c50
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
jmp 0x457c6b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jge 0x457ccd
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp - 0xc]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
xor edx, dword [eax + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + ecx*4 + 4], edx
jmp 0x457c62
jmp 0x457cd8
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x26f
jge 0x457d3c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + edx*4 + 0x9c8]
and edx, 0x7fffffff
or ecx, edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
shr eax, 1
mov ecx, dword [ebp - 0x10]
and ecx, 1
neg ecx
sbb ecx, ecx
and ecx, 0x9908b0df
xor eax, ecx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
xor eax, dword [ecx + edx*4 - 0x388]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + edx*4 + 4], eax
jmp 0x457ccf
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + edx*4 + 0x9c4]
and ecx, 0x80000000
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
and eax, 0x7fffffff
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 8]
shr ecx, 1
mov edx, dword [ebp - 8]
and edx, 1
neg edx
sbb edx, edx
and edx, 0x9908b0df
xor ecx, edx
mov eax, dword [ebp - 0x14]
xor ecx, dword [eax + 0x634]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov dword [eax + edx*4 + 4], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ecx], 0
mov esp, ebp
pop ebp
ret

Function at 0x457da0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 0x270
jmp 0x457dbb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jge 0x457e1d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
shr edx, 1
mov eax, dword [ebp - 8]
and eax, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor edx, eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
xor edx, dword [eax + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov dword [eax + ecx*4 + 4], edx
jmp 0x457db2
mov esp, ebp
pop ebp
ret
Function at 0x4598c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638e56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xc], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0045a960
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x24], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x25], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x28], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x2c], 0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x30], 0
push 0x65a5a8
mov ecx, dword [ebp - 0x10]
add ecx, 0x34
call fcn.00408a30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
call fcn.0045a090
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x45b250
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x665284
push 0x40
push 0
mov ecx, dword [ebp - 4]
add ecx, 4
push ecx
call fcn.0061b420
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x4c], 0x67452301
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], 0xefcdab89
mov eax, dword [ebp - 4]
mov dword [eax + 0x54], 0x98badcfe
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x58], 0x10325476
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x5004b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x5004c0
xor eax, eax
jmp 0x50065d
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x50061e
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x66f6f8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x66f6f8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x66f6f8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x66f6f8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x66f6f8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
movzx ecx, byte [eax]
xor ecx, dword [ebp + 8]
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
xor edx, dword [ecx*4 + 0x66f6f8]
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x66f6f8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
xor eax, dword [ebp + 8]
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
xor ecx, dword [eax*4 + 0x66f6f8]
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x5004c9
cmp dword [ebp + 0x10], 0
je 0x500657
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
xor edx, dword [ebp + 8]
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x66f6f8]
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
jne 0x500624
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x500660
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor eax, dword [ecx]
and eax, 0xff
mov edx, dword [ebp + 8]
mov ecx, dword [edx]
shr ecx, 8
xor ecx, dword [eax*4 + 0x66f6f8]
mov edx, dword [ebp + 8]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
and ecx, 0xff
mov edx, dword [ebp + 8]
add ecx, dword [edx + 4]
mov eax, dword [ebp + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
imul edx, edx, 0x8088405
add edx, 1
mov eax, dword [ebp + 8]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
shr edx, 0x18
mov eax, dword [ebp + 8]
xor edx, dword [eax + 8]
and edx, 0xff
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
shr eax, 8
xor eax, dword [edx*4 + 0x66f6f8]
mov ecx, dword [ebp + 8]
mov dword [ecx + 8], eax
pop ebp
ret
Function at 0x507d60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x646197
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x54], ecx
mov byte [ebp - 0xd], 0
push 1
push 1
call fcn.00507100
add esp, 4
push eax
push 0x670b48
lea eax, [ebp - 0x30]
push eax
call fcn.004255b0
add esp, 8
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
call fcn.00404a70
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2c], esp
push eax
call fcn.00408a30
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x54]
call fcn.00506e60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00404a50
mov edx, dword [ebp - 0x54]
movzx eax, byte [edx]
test eax, eax
je 0x507f56
mov dword [ebp - 0x18], 0x800000
mov ecx, dword [ebp - 0x18]
or ecx, 0x1000
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
or edx, 0x2000
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
or eax, 0x4000000
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
or ecx, 0x80000
mov dword [ebp - 0x18], ecx
push 0
mov edx, dword [ebp - 0x18]
push edx
push 0
push 0
push 0x670b0c
lea eax, [ebp - 0x34]
push eax
call fcn.004255b0
add esp, 8
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x64]
mov dword [ebp - 0x68], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x68]
call fcn.00404a70
push eax
push 0x665164
push 0
lea edx, [ebp - 0x50]
push edx
call fcn.00507130
add esp, 8
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x70]
call fcn.0040bf60
push eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 8]
push edx
call fcn.00443230
add esp, 0x20
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x50]
call fcn.00408aa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00404a50
cmp dword [ebp - 0x14], 0
je 0x507f4a
mov dword [ebp - 0x20], 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x1f
mov edx, dword [ebp - 0x14]
push edx
call fcn.004432c0
add esp, 0x10
mov eax, dword [ebp - 0x28]
or eax, 0x100
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
or ecx, 0x80
mov dword [ebp - 0x28], ecx
push 4
lea edx, [ebp - 0x28]
push edx
push 0x1f
mov eax, dword [ebp - 0x14]
push eax
call fcn.00443130
add esp, 0x10
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.004430b0
add esp, 0x14
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 4
push 0
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp - 0x24]
push eax
push 0x20000013
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.00442780
add esp, 0x14
cmp dword [ebp - 0x24], 0xc8
jne 0x507f4a
mov byte [ebp - 0xd], 1
mov edx, dword [ebp - 0x14]
push edx
call fcn.00442800
add esp, 4
mov ecx, dword [ebp - 0x54]
call fcn.00506f50
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x515f8b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.00520431
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x515fc4
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.00515bc8
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x516022
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x78], ebx
test ebx, 0xffff0000
jne 0x516046
cmp dword [edi + 0x74], 0
jne 0x516046
movzx eax, bx
mov dword [edi + 0x74], eax
call fcn.00520431
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00515fe3
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x51cc3f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x51cc86
call fcn.00520431
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x51cc86
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x51cca2
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0051c73f
mov esi, eax
test edi, edi
je 0x51cca0
test ebx, ebx
je 0x51cca0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x51db7f
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x647898
call fcn.006208b4
mov esi, ecx
cmp dword [esi + 0x6c], 0
jne 0x51dba4
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x51dbf6
call fcn.0051ed35
push eax
lea ecx, [ebp - 0x10]
call fcn.00404a80
mov ecx, dword [esi + 0x6c]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0061c2eb
push eax
call fcn.004086a0
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00404b20
mov eax, esi
call fcn.0062098c
ret 8