joyce8/EMBER2024-capa huggingface dataset:
Function at 0x515dd0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
mov al, byte [edi]
xor ebx, ebx
xor ecx, ecx
xor edx, edx
cmp al, bl
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
je 0x515e28
nop
movzx esi, al
movzx eax, byte [esi + 0x5f93c8]
xor eax, esi
mov esi, ecx
shr esi, 0x1b
shl ecx, 5
or esi, ecx
add esi, eax
mov ecx, esi
mov esi, edx
shr esi, 0x1a
shl edx, 6
or esi, edx
add esi, eax
mov al, byte [edi + 1]
inc edi
cmp al, bl
mov edx, esi
jne 0x515df0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x20]
mov eax, dword [ebp]
push eax
call fcn.005ddc00
add esp, 4
push 0x604824
mov ecx, ebp
mov dword [ebp], ebx
mov dword [ebp + 4], ebx
mov dword [ebp + 8], ebx
call fcn.0043b850
lea ecx, [ecx]
mov esi, dword [esp + ebx*4 + 0x10]
mov edi, 8
lea esp, [esp]
mov ecx, esi
shr ecx, 0x1c
push ecx
call fcn.0043b320
add esp, 4
push eax
mov ecx, ebp
call fcn.0043b490
shl esi, 4
dec edi
jne 0x515e60
inc ebx
cmp ebx, 2
jl 0x515e50
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x527a30
Capabilities:
Enumerate devices by category

Disassembly:
sub esp, 0xe8
push ebx
push ebp
push esi
push edi
mov ebx, ecx
push ebx
call dword [0x5f62b8]
lea ecx, [esp + 0x20]
call fcn.004b2240
mov eax, dword [esp + 0xfc]
push eax
call fcn.0043bba0
mov ebp, eax
mov eax, dword [ebx + 0x2c]
xor esi, esi
add esp, 4
cmp eax, esi
mov dword [esp + 0x1c], ebp
jne 0x527adb
mov eax, dword [ebx + 0x18]
cmp eax, esi
lea edi, [ebx + 0x18]
je 0x527a7d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [edi], esi
push esi
call dword [0x5f65e4]
lea edx, [esp + 0x10]
push edx
push 0x622ee4
push 1
push esi
push 0x604f5c
mov dword [esp + 0x24], esi
call dword [0x5f65f0]
test eax, eax
jne 0x527abf
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push esi
push edi
push 0x604f4c
push eax
call dword [ecx + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [eax]
push eax
call dword [edx + 8]
push esi
push 0x6040b8
call fcn.0043bba0
add esp, 4
push eax
mov ecx, ebx
call fcn.00527990
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x20], esi
mov edi, dword [ebx + 0x20]
cmp edi, dword [ebx + 0x1c]
jge 0x527be2
mov eax, dword [ebx + 0x2c]
dec eax
cmp ebp, eax
jle 0x527be2
mov dword [esp + 0x14], edi
inc dword [ebx + 0x20]
lea ecx, [esp + 0x18]
push ecx
push edi
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
call fcn.00527990
cmp eax, edi
jne 0x527b29
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push 0x622e94
push esi
push esi
push eax
call dword [edx + 0x20]
cmp dword [esp + 0x10], esi
je 0x527bbf
mov eax, dword [ebx + 0x28]
cmp eax, esi
lea ebp, [ebx + 0x28]
je 0x527b48
lea ecx, [ecx]
mov ebp, dword [ebp]
cmp dword [ebp], esi
jne 0x527b40
mov edx, dword [ebx + 0x2c]
push 0xa
push edx
call fcn.004b2a40
push 0xa8
mov edi, eax
call fcn.005ddbe0
add esp, 0xc
cmp eax, esi
je 0x527b70
push edi
mov ecx, eax
call fcn.00507e70
mov esi, eax
push edi
call fcn.005ddc00
push 0x40
call fcn.005ddbe0
add esp, 8
test eax, eax
je 0x527b97
mov ecx, dword [esp + 0x14]
mov edx, dword [ebx + 0x24]
push ecx
push esi
push edx
mov ecx, eax
call fcn.00527540
jmp 0x527b99
xor eax, eax
push eax
mov ecx, esi
mov dword [ebp], eax
call fcn.00508770
mov esi, dword [ebx + 0x2c]
mov eax, dword [esp + 0x10]
inc esi
mov dword [ebx + 0x2c], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x527bcd
mov edx, dword [eax]
push eax
call dword [edx + 8]
cmp ebp, dword [ebx + 0x2c]
jl 0x527be2
mov eax, dword [ebx + 0x1c]
inc edi
cmp edi, eax
mov dword [esp + 0x14], edi
jl 0x527af7
mov ecx, 0x1b
lea esi, [esp + 0x20]
lea edi, [esp + 0x8c]
rep movsd dword es:[edi], dword [esi]
frstor dword [esp + 0x8c]
push ebx
call dword [0x5f62b4]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xe8
ret 4
Function at 0x529b30
Capabilities:
Check http status code

Disassembly:
sub esp, 0x18
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
push edi
xor edi, edi
cmp eax, edi
mov dword [esp + 0x1c], esi
mov dword [esp + 0xc], edi
jne 0x529b50
pop edi
xor eax, eax
pop esi
add esp, 0x18
ret
lea edx, [esp + 0x14]
push edx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esi + 0xc]
push ecx
push 0x20000013
push eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x28], edi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x529cab
mov ecx, dword [esi + 0x28]
push ebx
push edi
push edi
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
xor ebx, ebx
call dword [0x682b28]
test eax, eax
je 0x529c38
push ebp
nop
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x529c37
lea edx, [ebx + eax + 1]
push edx
mov dword [esp + 0x1c], edi
call fcn.005ddbe0
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x529c37
cmp ebx, edi
jbe 0x529be0
mov esi, dword [esi + 0x10]
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x28]
lea ecx, [esp + 0x18]
push ecx
push edx
lea edi, [ebx + ebp]
push edi
push eax
call dword [0x682b2c]
test eax, eax
je 0x529c11
mov ecx, dword [esp + 0x10]
mov byte [edi + ecx], 0
push ebp
lea ecx, [esi + 0x10]
call fcn.0043b380
add ebx, dword [esp + 0x18]
push ebp
call fcn.005ddc00
mov eax, dword [esi + 0x28]
add esp, 4
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [0x682b28]
xor edi, edi
test eax, eax
jne 0x529ba0
pop ebp
mov eax, dword [esi + 0xc]
cmp eax, 0x197
pop ebx
je 0x529c83
cmp eax, 0x191
je 0x529c83
cmp eax, 0x12c
jb 0x529c6a
cmp eax, 0x190
jae 0x529c6f
mov dword [esp + 0xc], 2
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
cmp eax, 0x190
jbe 0x529cab
mov dword [esp + 0xc], 1
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
mov ecx, dword [esi + 0x28]
push edi
push 7
push 0x2eee
push ecx
call dword [0x5f644c]
push eax
call dword [0x682b34]
xor edx, edx
cmp eax, 0x2f00
sete dl
inc edx
mov dword [esp + 0xc], edx
mov eax, dword [esp + 0xc]
pop edi
pop esi
add esp, 0x18
ret
Function at 0x52a780
Capabilities:
Capture microphone audio

Disassembly:
push ecx
push ebp
mov ebp, ecx
mov ecx, dword [ebp + 4]
push esi
add ecx, 0x24
call fcn.0052ac90
mov esi, eax
mov eax, dword [esp + 0x14]
neg esi
sbb esi, esi
inc esi
mov dword [esp + 8], esi
mov byte [eax], 0
je 0x52a896
mov cl, byte [ebp + 0x2aa]
test cl, cl
jne 0x52a86b
mov ecx, dword [ebp + 0x28c]
test ecx, ecx
jle 0x52a86b
push ebx
mov byte [eax], 1
mov ebx, dword [ebp + 0x24c]
push edi
lea eax, [ebp + 0x290]
push eax
call dword [0x5f62b8]
mov ecx, dword [ebp + 0x48]
mov esi, dword [ebp + ebx*4 + 8]
mov edi, dword [esp + 0x18]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 0x28c]
dec esi
mov eax, esi
xor ecx, ecx
test eax, eax
mov dword [ebp + 0x28c], esi
jle 0x52a823
lea eax, [ebp + 0x24c]
mov edx, dword [eax + 4]
mov dword [eax], edx
mov edx, dword [ebp + 0x28c]
inc ecx
add eax, 4
cmp ecx, edx
jl 0x52a810
lea eax, [ebp + 0x290]
push eax
call dword [0x5f62b4]
mov ecx, dword [ebp]
push 0x20
shl ebx, 5
lea eax, [ebx + ebp + 0x4c]
push eax
push ecx
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
mov al, byte [ebp + 0x2a8]
test al, al
pop edi
pop ebx
je 0x52a861
mov edx, dword [ebp]
push edx
call dword [sym.imp.WINMM.dll_waveInStart]
mov byte [ebp + 0x2a8], 0
mov eax, dword [esp + 8]
pop esi
pop ebp
pop ecx
ret 8
mov al, byte [ebp + 0x2a9]
test al, al
je 0x52a88e
mov eax, dword [ebp]
push eax
call dword [sym.imp.WINMM.dll_waveInStart]
mov eax, esi
pop esi
mov byte [ebp + 0x2a9], 0
pop ebp
pop ecx
ret 8
push 1
call dword [0x5f62b0]
mov eax, esi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x52aa80
Capabilities:
Capture microphone audio

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
add ecx, 0x9c
push ecx
call fcn.0052a2f0
mov edx, dword [esp + 0x30]
lea ebx, [edi + 8]
add esp, 8
mov dword [edi + 0x28c], 0
mov byte [edi + 0x2a8], 0
mov dword [edi + 0x48], edx
mov esi, ebx
mov ebp, 0x10
mov eax, dword [esp + 0x28]
push eax
call fcn.005ddbe0
mov dword [esi], eax
add esp, 4
add esi, 4
dec ebp
jne 0x52aac2
mov edx, dword [edi + 4]
mov eax, dword [edx + 0x50]
push 0x30000
push edi
push 0x52aa60
lea ecx, [esp + 0x1c]
push ecx
push eax
push edi
call dword [sym.imp.WINMM.dll_waveInOpen]
test eax, eax
jne 0x52ab5b
xor ebp, ebp
lea esi, [edi + 0x4c]
mov edi, edi
xor ecx, ecx
mov edx, esi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], ecx
mov eax, dword [ebx]
mov ecx, dword [esp + 0x28]
push 0x20
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esi + 0xc], ebp
mov edx, dword [edi]
push esi
push edx
call dword [sym.imp.WINMM.dll_waveInPrepareHeader]
mov eax, dword [edi]
push 0x20
push esi
push eax
call dword [sym.imp.WINMM.dll_waveInAddBuffer]
inc ebp
add ebx, 4
add esi, 0x20
cmp ebp, 0x10
jl 0x52ab00
mov byte [edi + 0x2a9], 1
mov byte [edi + 0x2aa], 0
xor ecx, ecx
test eax, eax
sete cl
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
add esp, 0x14
ret 4
Function at 0x52c1f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
mov eax, dword [esp + 8]
push esi
push edi
mov edi, ecx
mov byte [eax], 0
mov eax, dword [edi]
xor esi, esi
test eax, eax
mov dword [esp + 8], edi
je 0x52c30e
call fcn.0052c0d0
mov eax, dword [edi]
test eax, eax
je 0x52c221
mov byte [eax + 0x18], 0
mov eax, dword [eax]
test eax, eax
jne 0x52c217
push ebx
push ebp
mov ecx, dword [edi]
test ecx, ecx
je 0x52c30c
lea ecx, [ecx]
mov al, byte [ecx + 0x18]
test al, al
jne 0x52c25f
test esi, esi
je 0x52c25d
fild dword [edi + 0x78]
fild dword [ecx + 0x14]
fild dword [ecx + 0x10]
fdiv st(2)
fdivp st(1)
fild dword [esi + 0x14]
fild dword [esi + 0x10]
fdiv st(3)
fdivp st(1)
fcompp
fnstsw ax
fstp st(0)
test ah, 0x41
jne 0x52c25f
mov esi, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x52c230
test esi, esi
je 0x52c30c
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x52c2d2
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 8]
lea ebp, [esi + 0x3c]
push ebp
lea ecx, [esi + 0x38]
push ecx
push edx
push eax
call dword [esi + 4]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x52c2a9
lea edi, [esi + 0x1c]
push edi
call dword [0x5f62b8]
push edi
mov byte [esi + 0x1a], 1
call dword [0x5f62b4]
mov edi, dword [esp + 0x10]
test ebx, ebx
mov dword [esi + 0x34], ebx
je 0x52c2c0
mov ecx, dword [esp + 0x18]
mov byte [ecx], 1
mov edx, dword [edi + 0xa0]
sub dword [ebp], edx
mov eax, dword [esi + 0x34]
test eax, eax
jne 0x52c2d2
mov byte [esi + 0x18], 1
xor esi, esi
jmp 0x52c223
inc dword [esi + 0x14]
mov eax, dword [edi]
test eax, eax
je 0x52c2f3
mov ecx, dword [edi + 0x74]
movsx ecx, byte [ecx + edi + 0x10]
cmp dword [eax + 0x44], ecx
je 0x52c2f0
mov eax, dword [eax]
test eax, eax
jne 0x52c2e3
jmp 0x52c2f3
dec dword [eax + 0x14]
mov edx, dword [edi + 0x74]
mov al, byte [esi + 0x44]
mov byte [edx + edi + 0x10], al
mov eax, dword [edi + 0x74]
inc eax
cdq
mov ecx, 0x64
idiv ecx
mov dword [edi + 0x74], edx
pop ebp
pop ebx
pop edi
mov eax, esi
pop esi
pop ecx
ret 4
Function at 0x572b30
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov ebx, eax
mov eax, dword [esp + 0x10]
cmp eax, 3
mov ecx, 0x9e3779b9
push edi
mov ebp, eax
mov edi, ecx
mov esi, edx
jb 0x572bd1
mov eax, 0xaaaaaaab
mul ebp
shr edx, 1
add ecx, dword [ebx + 4]
add esi, dword [ebx + 8]
mov eax, dword [ebx]
sub eax, esi
sub eax, ecx
add eax, edi
sub ecx, esi
mov edi, esi
shr edi, 0xd
xor eax, edi
sub ecx, eax
mov edi, eax
shl edi, 8
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 0xd
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 0xc
xor eax, edi
sub ecx, esi
sub ecx, eax
mov edi, eax
shl edi, 0x10
xor ecx, edi
sub esi, ecx
sub esi, eax
mov edi, ecx
shr edi, 5
xor esi, edi
sub eax, esi
sub eax, ecx
mov edi, esi
shr edi, 3
xor eax, edi
sub ecx, esi
mov edi, eax
shl eax, 0xa
sub ecx, edi
xor ecx, eax
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 0xf
xor esi, eax
add ebx, 0xc
sub ebp, 3
dec edx
jne 0x572b57
mov eax, dword [esp + 0x14]
add esi, eax
dec ebp
je 0x572bdc
dec ebp
jne 0x572bde
add ecx, dword [ebx + 4]
add edi, dword [ebx]
sub edi, esi
sub edi, ecx
sub ecx, esi
mov edx, esi
shr edx, 0xd
xor edi, edx
sub ecx, edi
mov eax, edi
shl eax, 8
xor ecx, eax
sub esi, ecx
sub esi, edi
mov edx, ecx
shr edx, 0xd
xor esi, edx
sub edi, esi
sub edi, ecx
mov eax, esi
shr eax, 0xc
xor edi, eax
sub ecx, esi
sub ecx, edi
mov edx, edi
shl edx, 0x10
xor ecx, edx
sub esi, ecx
mov eax, ecx
sub esi, edi
shr eax, 5
xor esi, eax
mov eax, esi
sub edi, eax
sub edi, ecx
mov edx, eax
shr edx, 3
xor edi, edx
sub ecx, eax
mov edx, edi
sub ecx, edi
shl edx, 0xa
xor ecx, edx
sub eax, ecx
sub eax, edi
pop edi
pop esi
shr ecx, 0xf
pop ebp
xor eax, ecx
pop ebx
ret
Function at 0x573100
Capabilities:
Enumerate pe sections

Disassembly:
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x57321d
push ebx
mov ebx, dword [edi + 0x20]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push ebx
mov edx, 0x12311998
mov eax, ebp
call fcn.00572b30
and eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x30]
mov esi, dword [ecx + eax*8]
add esp, 4
test esi, esi
je 0x57321a
xor eax, eax
test ebx, ebx
lea ecx, [esi + 0x14]
jbe 0x573151
mov edx, dword [ecx]
add ecx, 4
cmp edx, dword [ebp + eax*4]
jne 0x5731a6
inc eax
cmp eax, ebx
jb 0x573141
cmp dword [edi + 0x34], esi
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
jne 0x57315f
mov dword [edi + 0x34], eax
cmp dword [edi + 0x38], esi
jne 0x573167
mov dword [edi + 0x38], ecx
test eax, eax
je 0x57316e
mov dword [eax + 0xc], ecx
test ecx, ecx
je 0x573175
mov dword [ecx + 8], eax
mov eax, dword [esi]
test eax, eax
je 0x573181
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov eax, dword [esi + 4]
test eax, eax
je 0x57318c
mov edx, dword [esi]
mov dword [eax], edx
mov ecx, dword [edi + 0x18]
test ecx, ecx
mov eax, dword [esi + 0x10]
mov ebx, dword [esp + 0x14]
jne 0x5731b1
push eax
push ebx
call fcn.0056cb00
add esp, 8
jmp 0x5731d3
mov esi, dword [esi]
test esi, esi
jne 0x573138
pop esi
pop ebp
pop ebx
pop edi
ret
mov cx, word [eax]
movzx edx, word [eax + 4]
neg cx
sbb ecx, ecx
and ecx, 3
inc ecx
imul ecx, edx
movzx edx, word [eax + 2]
movzx eax, word [eax + 6]
imul ecx, edx
lea eax, [ecx + eax*4 + 0x14]
mov ecx, dword [edi + 0x2c]
mov ebp, dword [edi + 4]
mov edx, dword [edi + 0xc]
add ecx, eax
sub ebp, ecx
mov ecx, dword [edi + 0x18]
dec edx
test ecx, ecx
mov dword [edi + 4], ebp
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0x10]
push eax
push ebx
jne 0x573209
call fcn.00421240
add esp, 8
push esi
call fcn.005ddc00
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
ret
call fcn.00572b10
add esp, 8
push esi
call fcn.005ddc00
add esp, 4
pop esi
pop ebp
pop ebx
pop edi
ret
Function at 0x58ca70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x40]
push esi
mov esi, dword [esp + 0x2c]
add edx, edx
add esi, esi
test ecx, ecx
mov dword [esp + 0xc], edx
jle 0x58cc09
mov eax, dword [esp + 0x28]
sub eax, edx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x24]
sub eax, edx
mov edx, dword [esp + 0x3c]
push ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x34], eax
push ebp
mov eax, ebx
sub eax, esi
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push edi
mov edi, dword [esp + 0x28]
lea edx, [edx + eax*4]
mov ebp, edi
sub ebp, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x48]
add eax, ecx
lea eax, [edx + eax*4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
jmp 0x58cae1
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov ecx, dword [edx*4 + 0x623c68]
lea eax, [edi + esi*2]
push eax
lea edx, [esi + edi]
push edx
push edi
push ebp
mov dword [esp + 0x30], ecx
call fcn.0058c6c0
lea eax, [edi + esi*2 + 0x10]
push eax
lea ecx, [esi + edi + 0x10]
push ecx
mov ecx, dword [esp + 0x38]
lea edx, [edi + 0x10]
push edx
lea eax, [ebp + 0x10]
push eax
call fcn.0058c6c0
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
lea eax, [ebx + esi*2]
push eax
add ebp, 0x20
lea ecx, [esi + ebx]
push ecx
mov dword [esp + 0x48], ebp
mov ebp, dword [edx*4 + 0x623c68]
mov edx, dword [esp + 0x60]
push ebx
push edx
mov ecx, ebp
add edi, 0x20
call fcn.0058c6c0
lea eax, [ebx + esi*2 + 0x10]
push eax
mov eax, dword [esp + 0x6c]
lea ecx, [esi + ebx + 0x10]
push ecx
lea edx, [ebx + 0x10]
push edx
add eax, 0x10
push eax
mov ecx, ebp
call fcn.0058c6c0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x58]
add eax, 0x20
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x70]
lea edx, [eax + ecx*2]
add esp, 0x40
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x48]
push eax
mov ecx, ebp
add ebx, 0x20
call fcn.0058c6c0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x28]
lea edx, [eax + ecx*2]
push edx
add ecx, eax
push ecx
push eax
mov eax, dword [esp + 0x6c]
push eax
mov ecx, ebp
call fcn.0058c6c0
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x5c]
mov eax, 0x10
add ebp, eax
add esp, 0x20
mov dword [esp + 0x30], ebp
add edx, eax
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x50]
add ecx, eax
add ebp, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x10]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
mov eax, 4
add edx, eax
add ecx, eax
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x50], ebp
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], eax
jne 0x58cadd
pop edi
pop ebp
pop ebx
pop esi
add esp, 0x14
ret
Function at 0x595490
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
mov eax, ecx
cdq
and edx, 7
push ebx
mov ebx, dword [esp + 0x10]
add eax, edx
push ebp
sar eax, 3
and ecx, 7
test eax, eax
push esi
mov esi, dword [esp + 0x10]
mov ebp, ecx
jle 0x5954dc
push edi
mov edi, eax
push 8
mov ecx, esi
call fcn.005906d0
xor edx, edx
mov ecx, ebx
shr ecx, 8
mov dh, bl
xor eax, ecx
and eax, 0xff
xor edx, dword [eax*4 + 0x628fd0]
dec edi
mov ebx, edx
jne 0x5954b6
pop edi
test ebp, ebp
jle 0x595508
push 1
mov ecx, esi
call fcn.005906d0
mov ecx, ebx
shr ecx, 0xf
and ecx, 1
and ebx, 0x7fff
xor eax, ecx
shl ebx, 1
test eax, eax
je 0x595505
xor ebx, 0x8005
dec ebp
jne 0x5954e0
pop esi
pop ebp
mov eax, ebx
pop ebx
ret

Function at 0x59761e
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x597642
mov ecx, dword [esp + 4]
push esi
mov esi, eax
shl eax, 4
sar esi, 0x1c
xor esi, eax
movzx eax, word [ecx]
xor eax, esi
inc ecx
inc ecx
dec edx
jne 0x59762d
pop esi
ret
Function at 0x5b12d2
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 8]
xor eax, eax
test edx, edx
je 0x5b12f5
mov ecx, dword [esp + 4]
push esi
mov esi, dword [ecx + 4]
xor esi, dword [ecx]
add ecx, 0xc
shr esi, 3
xor esi, dword [ecx - 4]
xor eax, esi
dec edx
jne 0x5b12e1
pop esi
ret
Function at 0x5f326e
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [esi + 8]
test bl, 3
jne 0x5f329c
mov eax, dword fs:[0x18]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
cmp ebx, ecx
mov dword [ebp - 4], ecx
jb 0x5f32a3
cmp ebx, dword [eax + 4]
jae 0x5f32a3
xor eax, eax
jmp 0x5f3493
push edi
mov edi, dword [esi + 0xc]
cmp edi, 0xffffffff
jne 0x5f32b4
xor eax, eax
inc eax
jmp 0x5f3492
xor edx, edx
mov dword [ebp + 8], edx
mov eax, ebx
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5f32ca
cmp ecx, edx
jae 0x5f340f
cmp dword [eax + 4], 0
je 0x5f32d3
inc dword [ebp + 8]
inc edx
add eax, 0xc
cmp edx, edi
jbe 0x5f32bb
cmp dword [ebp + 8], 0
je 0x5f32f5
mov eax, dword [esi - 8]
cmp eax, dword [ebp - 4]
jb 0x5f340f
cmp eax, esi
jae 0x5f340f
mov eax, dword [0x7475c0]
mov edi, ebx
and edi, 0xfffff000
xor esi, esi
test eax, eax
jle 0x5f331a
cmp dword [esi*4 + 0x7475c8], edi
je 0x5f3413
inc esi
cmp esi, eax
jl 0x5f3308
push 0x1c
lea eax, [ebp - 0x20]
push eax
push ebx
call dword [0x5f62a4]
test eax, eax
je 0x5f348f
cmp dword [ebp - 8], 0x1000000
jne 0x5f348f
test byte [ebp - 0xc], 0xcc
je 0x5f3398
mov ecx, dword [ebp - 0x1c]
cmp word [ecx], 0x5a4d
jne 0x5f348f
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5f348f
cmp word [eax + 0x18], 0x10b
jne 0x5f348f
sub ebx, ecx
cmp word [eax + 6], 0
movzx ecx, word [eax + 0x14]
lea ecx, [ecx + eax + 0x18]
jbe 0x5f348f
mov eax, dword [ecx + 0xc]
cmp ebx, eax
jb 0x5f3398
mov edx, dword [ecx + 8]
add edx, eax
cmp ebx, edx
jae 0x5f3398
test byte [ecx + 0x27], 0x80
jne 0x5f340f
push 1
push 0x747608
call dword [0x5f62a8]
test eax, eax
jne 0x5f32ac
mov ecx, dword [0x7475c0]
test ecx, ecx
mov edx, ecx
jle 0x5f33cc
lea eax, [ecx*4 + 0x7475c4]
cmp dword [eax], edi
je 0x5f33cc
dec edx
sub eax, 4
test edx, edx
jg 0x5f33c0
test edx, edx
jne 0x5f33fd
push 0xf
pop ebx
cmp ecx, ebx
jg 0x5f33d9
mov ebx, ecx
xor edx, edx
test ebx, ebx
jl 0x5f33f1
lea eax, [edx*4 + 0x7475c8]
mov esi, dword [eax]
inc edx
cmp edx, ebx
mov dword [eax], edi
mov edi, esi
jle 0x5f33df
cmp ecx, 0x10
jge 0x5f33fd
inc ecx
mov dword [0x7475c0], ecx
push 0
push 0x747608
call dword [0x5f62a8]
jmp 0x5f32ac
xor eax, eax
jmp 0x5f3492
test esi, esi
jle 0x5f32ac
mov ebx, dword [0x5f62a8]
push 1
push 0x747608
call ebx
test eax, eax
jne 0x5f32ac
cmp dword [esi*4 + 0x7475c8], edi
je 0x5f3469
mov eax, dword [0x7475c0]
lea esi, [eax - 1]
test esi, esi
jl 0x5f3457
cmp dword [esi*4 + 0x7475c8], edi
je 0x5f3453
dec esi
jns 0x5f3447
test esi, esi
jge 0x5f3467
cmp eax, 0x10
jge 0x5f3462
inc eax
mov dword [0x7475c0], eax
lea esi, [eax - 1]
jmp 0x5f3469
je 0x5f3481
xor ecx, ecx
test esi, esi
jl 0x5f3481
lea eax, [ecx*4 + 0x7475c8]
mov edx, dword [eax]
inc ecx
cmp ecx, esi
mov dword [eax], edi
mov edi, edx
jle 0x5f346f
push 0
push 0x747608
call ebx
jmp 0x5f32ac
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret