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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1a0
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x20], 0xbf14bd53
mov dword [esp + 0x24], 0x832d8133
mov dword [esp + 0x28], 0x8786852a
mov eax, 0xff5cd55c
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0xa32ac4]
xor ecx, eax
mov edx, ecx
not edx
and edx, 0xe5
and ecx, 0x1a
sub ecx, edx
add cl, 5
mov byte [esp + eax + 0xa32ac4], cl
inc eax
cmp eax, 0xff5cd568
jne 0x69b060
mov dword [esp + 0x48], 0x61f47fd6
mov dword [esp + 0x4c], 0x65f463f6
mov dword [esp + 0x50], 0x698767bc
mov dword [esp + 0x54], 0x6dc06b85
mov dword [esp + 0x58], 0x51f36fc1
mov dword [esp + 0x5c], 0x55f853f3
mov dword [esp + 0x60], 0x59f757fe
mov dword [esp + 0x64], 0x5dc85bc9
mov dword [esp + 0x68], 0x41405f84
xor eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, eax
add cl, 0xe
xor cl, byte [esp + eax + 0x48]
add cl, 0x90
mov byte [esp + eax + 0x48], cl
inc eax
cmp eax, 0x24
jne 0x69b0e0
movzx ecx, word [esp + 0x48]
lea eax, [esp + 0x15c]
test cx, cx
je 0x69b121
lea edx, [esp + 0x4a]
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x69b110
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x69b151
lea edx, [edi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x69b140
mov word [eax], 0
movzx ecx, word [esp + 0x20]
test cx, cx
je 0x69b181
lea edx, [esp + 0x22]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x69b170
mov word [eax], 0
mov eax, dword [esi]
mov dword [esp + 4], eax
mov dword [esp + 0x48], 0x6f6c6c82
mov byte [esp + 0x4c], 0x8c
mov eax, 0xc8
mov ecx, 0xf6d85a37
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [esp + eax - 0x80]
mov edi, eax
xor edi, ecx
and edi, edx
xor edi, ecx
mov edx, 0xbe
sub edx, edi
lea esi, [edi + 0x493d2e41]
or esi, 1
sub esi, edi
lea ebx, [esi - 0x493d2e41]
neg esi
and esi, 2
mov edi, ebx
and edi, 0xfd
imul edi, esi
mov esi, ebx
and esi, 2
or ebx, 2
imul ebx, esi
xor edx, 1
add edx, edi
add edx, ebx
mov byte [esp + eax - 0x80], dl
inc eax
dec ecx
cmp eax, 0xcd
jne 0x69b1b0
movzx eax, byte [esp + 0x48]
test al, al
je 0x69b22d
lea ecx, [esp + 0x49]
mov edi, dword [esp + 4]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x69b220
jmp 0x69b231
mov edi, dword [esp + 4]
mov byte [edi], 0
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x150]
lea edx, [esp + 0x38]
lea esi, [esp + 0x15c]
push eax
push ecx
push edx
push esi
call fcn.0068ae40
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x6c3794]
mov ecx, 0xae6ce794
xor ecx, dword [0x6c379c]
add eax, ecx
inc eax
jmp eax
Function at 0x9a2060
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push eax
mov dword [esp], 0x11102ffe
mov eax, esp
mov ecx, 0x21
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [eax]
lea esi, [ecx - 0x225a3100]
or esi, edx
and edx, ecx
lea edi, [esi + esi]
not edi
add edi, esi
or edi, edx
add edi, 0xed2e790f
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [eax], dl
inc eax
dec ecx
cmp ecx, 0x1d
jne 0x9a2080
mov eax, dword [esp]
mov eax, dword fs:[eax]
add esp, 4
pop esi
pop edi
ret

Function at 0x9a2e60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [esp], 0xc8c9cacb
mov eax, 0x967dcd54
nop
nop
movzx edx, byte [esp + eax + 0x698232ac]
xor edx, eax
mov ecx, edx
and ecx, 0x5f
add ecx, ecx
xor edx, 0xa0
sub ecx, edx
mov byte [esp + eax + 0x698232ac], cl
inc eax
cmp eax, 0x967dcd58
jne 0x9a2e80
mov eax, dword [esp]
mov edx, dword [0x6c965c]
test edx, edx
je 0x9a2ef8
xor ebx, ebx
mov ecx, dword [0x6c9660]
nop
nop
nop
cmp dword [ecx + ebx*8], 0xa269eeef
je 0x9a2ed0
inc ebx
cmp edx, ebx
jne 0x9a2ec0
jmp 0x9a2ef8
mov edx, dword [ecx + ebx*8 + 4]
cmp edx, eax
je 0x9a2ef8
mov eax, esp
lea ecx, [esp + 0x1c]
push 5
push 0x18
push eax
push ecx
push dword [ebp + 8]
push 0x14
push edx
push dword [0x6c9664]
call fcn.009a0a80
add esp, 0x20
test edi, edi
je 0x9a2f02
mov ecx, dword [esp + 8]
mov dword [edi], ecx
test esi, esi
je 0x9a2f0e
cmp byte [esp + 0x15], 0
setne byte [esi]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x9a31d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x38]
mov ebx, 0xfffffffe
nop
nop
nop
nop
cmp word [edi + ebx + 2], 0
lea ebx, [ebx + 2]
jne 0x9a31f0
sar ebx, 1
mov ecx, ebx
and ecx, 2
mov ebp, ebx
or ebx, 2
imul ebx, ecx
xor ecx, 2
and ebp, 0xfffd
imul ebp, ecx
lea ecx, [ebx + ebp]
mov word [esp + 4], cx
lea ecx, [ebx + ebp]
add ecx, 2
mov word [esp + 6], cx
mov dword [esp + 8], edi
mov dword [esp + 0xc], 0x18
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 0x40
lea eax, [esp + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp], 0xc8c9cacb
mov eax, 0x967dcd54
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [esp + eax + 0x698232ac]
xor ecx, eax
mov ebx, ecx
and ebx, 0x5f
add ebx, ebx
xor ecx, 0xa0
sub ebx, ecx
mov byte [esp + eax + 0x698232ac], bl
inc eax
cmp eax, 0x967dcd58
jne 0x9a3270
mov eax, dword [esp]
mov edi, dword [0x6c965c]
test edi, edi
je 0x9a32e5
xor ebx, ebx
mov ebp, dword [0x6c9660]
nop
nop
nop
cmp dword [ebp + ebx*8], 0xb7847e1b
je 0x9a32c1
inc ebx
cmp edi, ebx
jne 0x9a32b0
jmp 0x9a32e5
mov edi, dword [ebp + ebx*8 + 4]
cmp edi, eax
je 0x9a32e5
lea eax, [esp + 0xc]
push esi
push eax
push edx
push dword [esp + 0x48]
push 0x10
push edi
push dword [0x6c9664]
call fcn.009a0a80
add esp, 0x1c
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4239f5
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00423971
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x423b64
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x423b64
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x423b19
jg 0x423a51
test eax, eax
je 0x423b0f
push 1
push 0x1000
call fcn.0041a3f6
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x423a74
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423b06
push 0x8000
push ebx
call fcn.0041302b
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x423a9d
jg 0x423a98
cmp ecx, 0x1000
jb 0x423a9d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.00418f46
add esp, 0x10
cmp eax, 0xffffffff
je 0x423ae2
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x423a98
jl 0x423ac9
test ecx, ecx
jne 0x423a8a
push dword [ebp - 0xc]
push ebx
call fcn.0041302b
push esi
call fcn.00416ccb
add esp, 0xc
xor ebx, ebx
jmp 0x423b72
cmp byte [edi + 0x24], 0
je 0x423af9
cmp dword [edi + 0x20], 5
jne 0x423af9
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x423b04
mov ebx, dword [edi + 0x18]
jmp 0x423b06
xor ebx, ebx
push esi
call fcn.00416ccb
pop ecx
jmp 0x423b72
test ecx, ecx
jg 0x423adb
jl 0x423b19
test eax, eax
jae 0x423adb
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041840a
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x423b39
cmp byte [edi + 0x1c], 0
je 0x423adb
jmp 0x423b6a
push ebx
call fcn.004142e9
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x423adb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x423b72
cmp byte [edi + 0x1c], 0
je 0x423b6f
mov ebx, dword [edi + 0x18]
jmp 0x423b72
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.0041840a
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4257f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42581d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42581d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x40c006
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ecx, 0xcbf
mov ebx, edx
xor word [eax], dx
lea edx, [ebx + edx]
xchg dh, dl
lea eax, [eax + 2]
loop 0x40c00e
pop ebx
ret
Function at 0x414fd0
Capabilities:
Get proxy
Get session user name
Persist via windows service
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b088c
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4e706c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push str.SystemCurrentControlSetServices_
lea ecx, [ebp - 0x264]
mov byte [ebp - 0x285], 0
mov dword [ebp - 0x26c], 0
mov dword [ebp - 0x268], 0
call fcn.00404ce0
push 0x14
push str.MBAMInstallerService
lea ecx, [ebp - 0x264]
mov dword [ebp - 4], 0
call fcn.0040c2d0
cmp dword [ebp - 0x250], 8
lea ecx, [ebp - 0x26c]
push ecx
push 0x2001f
lea eax, [ebp - 0x264]
cmovae eax, dword [ebp - 0x264]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
je 0x4150f6
lea ecx, [ebp - 0x230]
call fcn.0045f3e0
mov edx, eax
mov byte [ebp - 4], 1
mov ecx, 0x4eb558
call fcn.0040f780
mov edx, 0x4c93f8
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x1ff
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Failed_to_open_service_registry:
mov ecx, eax
call fcn.0040f7a0
push esi
mov ecx, eax
call fcn.004188b0
push eax
call fcn.0040fb10
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
call fcn.00404d30
xor bl, bl
jmp 0x41724e
push 0
lea eax, [ebp - 0x268]
push eax
push 0
push 0x2001f
push 0
push 0
push 0
push 0x4c9b3c
push dword [ebp - 0x26c]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov esi, eax
test esi, esi
je 0x4151b1
lea ecx, [ebp - 0x230]
call fcn.0045f3e0
mov edx, eax
mov byte [ebp - 4], 4
mov ecx, 0x4eb558
call fcn.0040f780
mov edx, 0x4c93f8
mov ecx, eax
call fcn.0040f7a0
mov edx, 0x4c9104
mov ecx, eax
call fcn.0040f7a0
push 0x206
mov ecx, eax
call fcn.0040dda0
mov edx, 0x4c932c
mov ecx, eax
call fcn.0040f7a0
mov edx, str.Failed_to_create_service_parameters_registry:
mov ecx, eax
call fcn.0040f7a0
push esi
mov ecx, eax
call fcn.004188b0
push eax
call fcn.0040fb10
add esp, 4
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
call fcn.00404d30
push dword [ebp - 0x26c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor bl, bl
jmp 0x41724e
cmp byte [ebp + 0xc], 0
invalid
invalid
Function at 0x43d0f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b2fd9
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4e706c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], ebx
call fcn.0046bf36
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], cx
mov dword [ebp - 0x1c], 2
test edi, edi
je 0x43d08d
cmp edi, 0x7fffffff
ja 0x43d0a1
push ecx
push ecx
push edi
push ebx
push eax
call fcn.0046bf53
mov ebx, eax
test edx, edx
jne 0x43d0a6
push edx
push ebx
mov ecx, esi
call fcn.0043f640
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x43d078
mov eax, dword [esi]
push ebx
push eax
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call fcn.0046bf53
mov dword [ebp - 0x18], eax
test edx, edx
jne 0x43d0c9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
neg eax
and esi, dword [0x4eabc3]
shl ebx, 0x1b
add cl, al
jecxz 0x43d0c5
cmp dword [0x4e7140], 0xdf023543
js 0x43d0b8
neg esi
add esi, ebp
neg edx
cmp dword [0x4e909a], edx
jb 0x43d0ca
add ebx, 0xc7ac8877
ret
mov dword [edi - 0x3f], 0xc98116cb
loop 0x43d0e6
inc edi
ror ebx, 0x16
or ecx, 0xb1fd14e2
mov eax, ebp
add eax, 0x3b3ea907
mov edx, 0x31c89500
std
mov cl, 0x8b
lds eax, [ecx + 0x3ea907c0]
cmp edi, dword [edx + 0x31c89500]
inc ebx
mov eax, edx
sub ecx, 0xeba975d4
or eax, 0x2c248132
aam 0x75
test eax, 0x32c881eb
and dword [esp + ebp], 0xf823da8b
mov ebx, edx
and edi, eax
Function at 0x9a4b80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section._7778304
lea edi, [esi - 0x36a000]
lea eax, [edi + 0x487174]
push dword [eax]
mov dword [eax], 0xa0fe8d74
push eax
push edi
jmp 0x9a4baa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9a4bb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a4ba0
mov eax, 1
add ebx, ebx
jne 0x9a4bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9a4bd4
jne 0x9a4bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a4bf3
dec eax
add ebx, ebx
jne 0x9a4be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9a4bb8
add ebx, ebx
jne 0x9a4bef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9a4c45
xor ecx, ecx
sub eax, 3
jb 0x9a4c0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9a4c7a
sar eax, 1
mov ebp, eax
jmp 0x9a4c16
add ebx, ebx
jne 0x9a4c16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a4be4
inc ecx
add ebx, ebx
jne 0x9a4c24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9a4be4
add ebx, ebx
jne 0x9a4c31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9a4c26
jne 0x9a4c42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9a4c26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9a4c64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9a4c56
jmp 0x9a4ba6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9a4c64
add edi, ecx
jmp 0x9a4ba6
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x1d7c21
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x9a4ca3
cmp byte [edi], 0x2f
jne 0x9a4c88
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x9a4c86
lea edi, [esi + 0x595000]
mov eax, dword [edi]
or eax, eax
je 0x9a4cf4
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5a8480]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5a8718]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9a4ca9
mov ecx, edi
jns 0x9a4cd8
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 + 0x5a8720]
or eax, eax
je 0x9a4cee
mov dword [ebx], eax
add ebx, 4
jmp 0x9a4cc6
call dword [esi + 0x5a871c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x9a4d2e
cmp al, 0xef
ja 0x9a4d18
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x9a4cfa
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0x9a4d07
mov eax, dword [edi]
add edi, 4
jmp 0x9a4d07
mov ebp, dword [esi + 0x5a8724]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x9a4d62
sub esp, 0xffffff80
jmp 0x5f6a70
Function at 0x5e26b5
Capabilities:
Encode data using xor

Disassembly:
fstp st(5)
add byte [ebp + eax*2 - 0x67bebc15], dh
inc ecx
cwde
or al, ah
push 0x71b0e017
mov al, 0x71
push ss
loopne 0x5e2704
push cs
mov dh, ch
inc ebx
push cs
add bh, dh
inc ecx
push cs
add al, ah
or dh, ah
test dword [ecx + 0xe], 0xe608e000
xchg edx, eax
mov ch, byte [edx]
xor edx, dword [0x1acdc681]
insb byte es:[edi], dx
mov cl, 0xe
add al, ah
or dh, ah
je 0x5e26c7
sbb eax, 0xc8e0d00d
loopne 0x5e26ad
pop eax
enter 0x5595, 0x47
pop eax
sub eax, 0x56d50e47
aad 0x56
cmpsb byte [esi], byte es:[edi]
mov edi, esp
salc
or byte [ebx - 1], dl
jne 0x5e273c
push esp
push dword [ebp + 0x43]
push esp
dec edx
loopne 0x5e2737
cmc
jge 0x5e26e3
fistp word [0xca584b0d]
sbb eax, 0xca584b0d
fstp st(5)
add byte [ebp + eax*8 - 9], dh
adc edx, ebp
int 0xe0
mov al, byte [0xb01f84e7]
jb 0x5e26bc
aad 0xcd
loopne fcn.005e26b5
out 0x84, eax
pop ds
mov al, 0x72
mov eax, dword [0x990e43df]
fild word [ebx + 0xe]
cdq
stosb byte es:[edi], al
scasd eax, dword es:[edi]
aas
jge 0x5e2703
sbb eax, 0xab7a4b0d
out 0x74, eax
jecxz 0x5e274a
out 0x4a, al
jp 0x5e276c
push esp
push dword [ebp + 0x43]
out 0x92, eax
inc esi
sub dh, byte [ebx]
adc eax, 0x4b30bc81
push ss
test edx, esi
call [edx + 0x52d2d0ba]
mov esp, 0x85164b30
bnd call [edx + 0x52d2d0ba]
mov edx, 0xb852d2d0
jo 0x5e2711
mov eax, 0x5595c670
invalid
xchg ebp, eax
push ebp
pop esi
dec edx
jp 0x5e278c
out 0x92, eax
sub dh, byte [ebx]
adc eax, 0x17cc7a81
loopne 0x5e2773
je 0x5e2744
invalid
ret
mov ebx, 0xac6d0
or al, byte [eax]
loopne 0x5e27b8
mov al, 9
test cl, bh
shl esp, cl
fbld tbyte [eax - 0x7ae99f19]
bnd call [edx - 0xc7f2f46]
arpl cx, si
invalid
mov esi, 0xa0e4e070
out 0x98, eax
stosb byte es:[edi], al
test eax, 0xae748579
out 0x4a, eax
push esi
push es
jecxz 0x5e2771
loopne 0x5e27d7
stc
dec edx
jp 0x5e27e0
out 0x74, eax
stc
mov al, byte [0xfd67497f]
sbb ch, byte [ebx - 0x7c087c96]
xchg esp, eax
inc ebx
push cs
add byte [ecx - 0x1ef09e60], bl
cmc
mov al, byte [0x36e10f61]
cmc
dec edx
jp 0x5e276e
out 0x92, eax
out 0x2b, al
xor edx, dword [0x1acdc681]
int 0x1a
insb byte es:[edi], dx
jne 0x5e27dc
add al, ah
mov al, byte [0xc7f6f961]
out 0x4a, al
loopne 0x5e2779
popal
dec ebp
imul dword [edi]
das
out 0x4a, al
loopne 0x5e27e9
or dh, ah
je 0x5e27c9
out 0x74, al
in eax, 0xa0
popal
stc
invalid
mov al, byte [0xc8dff961]
cld
enter 0x5595, 0x47
test byte [edi], bl
mov al, 0x72
add esp, eax
inc ebx
push cs
mov cl, 0x1f
lcall 0x1a6, 0x43dffff1
loopne 0x5e2844
push cs
pop ecx
sub eax, 0x56d50e3f
cmpsb byte [esi], byte es:[edi]
invalid
inc edi
outsb dx, byte [esi]
cwde
in eax, 0xbc
pushal
pop ss
pushal
popal
push cs
sbb ebp, dword [ecx + edi + 0xe]
add al, ah
stc
sal eax, cl
fbld tbyte [eax + 0xfa17fe7]
test byte [ebx + 0xe43d7], 0x60
popal
pop ss
sbb ebp, dword [eax + esi*4 + 0xe]
add al, ah
insb byte es:[edi], dx
popal
pop ss
rol edi, 1
out dx, eax
invalid
Function at 0x401c90
Capabilities:
Get thread local storage value

Disassembly:
push esi
push ebx
sub esp, 0x14
mov dword [esp], 0x407048
call sub.KERNEL32.dll_EnterCriticalSection
mov ebx, dword [0x407040]
sub esp, 4
test ebx, ebx
je 0x401cdb
nop
mov eax, dword [ebx]
mov dword [esp], eax
call sub.KERNEL32.dll_TlsGetValue
sub esp, 4
mov esi, eax
call sub.KERNEL32.dll_GetLastError
test eax, eax
jne 0x401cd4
test esi, esi
je 0x401cd4
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x401cb0
mov dword [esp], 0x407048
call sub.KERNEL32.dll_LeaveCriticalSection
sub esp, 4
add esp, 0x14
pop ebx
pop esi
ret

Function at 0x401ec0
Capabilities:
Write file on windows

Disassembly:
push esi
push ebx
sub esp, 0x14
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x17
mov dword [esp + 4], 1
lea esi, [esp + 0x24]
mov dword [esp], str.Mingw_runtime_failure:_n
lea ebx, [eax + 0x40]
mov dword [esp + 0xc], ebx
call sub.msvcrt.dll_fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], esi
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
lea esi, [esi]

Function at 0x401f10
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
push edi
mov edi, ecx
push esi
push ebx
mov ebx, eax
mov esi, edx
sub esp, 0x4c
lea eax, [esp + 0x24]
mov dword [esp + 8], 0x1c
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.KERNEL32.dll_VirtualQuery
sub esp, 0xc
test eax, eax
je 0x401fe8
mov eax, dword [esp + 0x38]
cmp eax, 0x40
je 0x401f4e
cmp eax, 4
jne 0x401f70
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sub.msvcrt.dll_memcpy
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
lea ebp, [esp + 0x20]
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], ebp
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
mov edx, dword [esp + 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
mov dword [esp + 0x1c], edx
call sub.msvcrt.dll_memcpy
mov edx, dword [esp + 0x1c]
cmp edx, 0x40
je 0x401f5e
cmp edx, 4
je 0x401f5e
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call sub.KERNEL32.dll_VirtualProtect
sub esp, 0x10
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], ebx
mov dword [esp + 4], 0x1c
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
call fcn.00401ec0
Function at 0x401610
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401629
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401664
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401660
lea ebx, [ebx]
cmp esi, eax
jae 0x401664
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401650
cmp esi, eax
jb 0x40166a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x406ff1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4475e0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0x11c]
jne 0x407031
push 0x439940
push 4
push eax
call fcn.0042216d
push eax
call fcn.00404c00
add esp, 0x10
jmp 0x407043
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4070b1
push edi
call fcn.00424216
mov edi, dword [eax]
call fcn.00424216
and dword [eax], 0
lea eax, [ebp - 0x11c]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x118]
push esi
push eax
call fcn.004224b9
add esp, 0x18
mov ebx, eax
call fcn.00424216
cmp dword [eax], 0
je 0x407091
call fcn.00424216
push dword [eax]
call fcn.00406f7f
pop ecx
jmp 0x407098
call fcn.00424216
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x4070b1
cmp ebx, esi
jae 0x4070b1
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
jmp 0x4070b3
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004217b1
leave
ret