joyce8/EMBER2024-capa huggingface dataset:
Function at 0x525198
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x2c
mov ebx, dword [esp + 0x44]
call fcn.0052615c
test bh, 0xc0
jne 0x5251bb
mov eax, dword [0x54425c]
mov ecx, 0xc000
and ecx, dword [eax]
or ebx, ecx
mov eax, ebx
and eax, 0x700
add eax, 0xffffff00
mov ecx, eax
shr ecx, 8
mov esi, 3
cmp ecx, 6
ja 0x5251df
sar eax, 6
mov esi, dword [eax + 0x543bf0]
mov edi, dword [esp + 0x40]
test bh, 1
je 0x525208
lea eax, [esp + 0x4c]
mov dword [esp + 0x20], eax
mov al, byte [0x543c10]
and al, byte [esp + 0x48]
mov eax, 0x80
mov ecx, 1
cmovs ecx, eax
jmp 0x52521b
mov dword [esp], edi
call sub.KERNEL32.DLL_GetFileAttributesW
sub esp, 4
xor ecx, ecx
cmp eax, 0xffffffff
cmovne ecx, eax
mov eax, ebx
and al, 3
je 0x525234
cmp al, 2
je 0x52523b
cmp al, 1
jne 0x525333
mov eax, 0x40000000
jmp 0x525240
mov eax, SysReAllocStringLen
jmp 0x525240
mov eax, 0xc0000000
mov edx, ebx
and edx, 0x70
add edx, 0xfffffff0
shr edx, 4
cmp edx, 3
mov ebp, 3
cmovb ebp, edx
xor edx, edx
cmp eax, 0x80000000
sete dl
test bl, 4
cmove edx, ebp
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], 0
mov ebp, ebx
shr ebp, 7
not ebp
and ebp, 1
mov dword [esp + 0x28], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 0x18], 0
call sub.KERNEL32.DLL_CreateFileW
sub esp, 0x1c
mov esi, eax
cmp esi, 0xffffffff
je 0x525310
mov edi, ebx
shr edi, 1
not edi
and edi, 0x4000
or edi, ebx
mov dword [esp], esi
call fcn.00524d5c
mov ecx, edi
or ecx, 0x2000
test eax, eax
cmove ecx, edi
and ecx, 0xfffff8ff
mov dword [esp], esi
mov dword [esp + 4], ecx
call fcn.0052631c
mov edi, eax
cmp edi, 0xffffffff
jne 0x525341
mov dword [esp], 4
call fcn.005266f8
mov dword [esp], esi
call sub.KERNEL32.DLL_CloseHandle
sub esp, 4
mov edi, 0xffffffff
jmp 0x525341
call sub.KERNEL32.DLL_GetLastError
movzx eax, ax
test bh, 1
mov ecx, 0x50
mov edx, 2
cmovne edx, ecx
cmp eax, 0x6e
cmovne edx, eax
mov dword [esp], edx
jmp 0x52533a
mov dword [esp], 1
call fcn.005266f8
mov edi, eax
call fcn.005261ac
mov eax, edi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x5256e0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [0x54418c], eax
jbe 0x52571d
sub esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [eax*4 + 0x5623a8]
call sub.KERNEL32.DLL_ReadFile
add esp, 0xc
cmp eax, 1
jne 0x525724
mov eax, dword [esp + 8]
add esp, 0xc
ret
sub esp, 0xc
push 6
jmp 0x52573a
call sub.KERNEL32.DLL_GetLastError
mov ecx, eax
xor eax, eax
cmp ecx, 0x6d
jne 0x525736
add esp, 0xc
ret
sub esp, 0xc
push ecx
call fcn.005266f8
add esp, 0x10
add esp, 0xc
ret
Function at 0x525758
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
cmp dword [0x54418c], eax
jbe 0x525795
sub esp, 0xc
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push dword [eax*4 + 0x5623a8]
call sub.KERNEL32.DLL_WriteFile
add esp, 0xc
cmp eax, 1
jne 0x5257a6
mov eax, dword [esp + 8]
add esp, 0xc
ret
sub esp, 0xc
push 6
call fcn.005266f8
add esp, 0x10
add esp, 0xc
ret
call fcn.00526798
add esp, 0xc
ret

Function at 0x5275bc
Capabilities:
Delete file

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call sub.KERNEL32.DLL_DeleteFileA
sub esp, 4
cmp eax, 1
jne 0x5275d9
xor eax, eax
add esp, 0xc
ret
add esp, 0xc
jmp fcn.00526798
Function at 0x52a31c
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov dword [esp + 0x18], edx
mov esi, ecx
mov eax, dword [esi + 4]
lea ebp, [esp + 0x1c]
mov dword [esp + 8], ebp
mov dword [esp], eax
mov dword [esp + 0xc], pe_nt_image_headers32
mov dword [esp + 4], 0x1001
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
call fcn.0052488c
mov word [esp + eax + 0x1c], 0x5f
mov edi, dword [esi + 4]
mov dword [esp], ebp
call fcn.0052488c
lea ecx, [esp + eax + 0x1c]
mov edx, pe_nt_image_headers32
sub edx, eax
mov dword [esp + 0xc], edx
mov dword [esp + 8], ecx
mov dword [esp], edi
mov dword [esp + 4], 0x1002
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0x10
mov dword [esp], ebp
call fcn.0052488c
mov word [esp + eax + 0x1c], 0x2e
mov edi, dword [esi]
mov dword [esp], ebp
call fcn.0052488c
lea eax, [esp + eax + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
mov dword [esp + 8], 0xa
call fcn.0052d764
mov edi, dword [esi + 0x24]
test edi, edi
je 0x52a410
mov dword [esp], edi
call fcn.0052488c
mov ebx, eax
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0052488c
mov ecx, ebp
mov ebp, eax
mov dword [esp], ecx
call fcn.0052488c
add ebp, ebx
lea eax, [eax + ebp + 3]
lea ebp, [esp + 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edi
call fcn.00523c00
mov ebx, eax
mov dword [esi + 0x24], ebx
test ebx, ebx
jne 0x52a465
jmp 0x52a4ad
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0052488c
mov ebx, eax
mov edi, ebp
mov dword [esp], ebp
call fcn.0052488c
mov ebp, eax
lea eax, [ebx + ebp + 3]
mov dword [esp], eax
call fcn.00523be8
mov ebx, eax
mov dword [esi + 0x24], ebx
test ebx, ebx
je 0x52a4ad
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0052488c
lea eax, [ebp + eax + 3]
mov dword [esp + 8], eax
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.00524727
mov ebp, edi
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.00524740
mov edi, dword [esi + 0x24]
mov dword [esp], edi
call fcn.0052488c
mov word [edi + eax], 0x3d
mov eax, dword [esi + 0x24]
mov dword [esp + 4], ebp
mov dword [esp], eax
call fcn.00524740
mov esi, dword [esi + 0x24]
mov dword [esp], esi
call fcn.0052488c
mov word [esi + eax], 0xa
mov eax, 1
jmp 0x52a4af
xor eax, eax
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x52bf08
Capabilities:
Get geographical location

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
push 0
push dword [edi + 4]
push 0xe
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00523be8
add esp, 0x10
mov dword [edi + 4], eax
push esi
push eax
push 0xe
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
push 0
push dword [edi]
push 0xf
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00523be8
add esp, 0x10
mov dword [edi], eax
test edi, edi
je 0x52bf7b
push esi
push eax
push 0xf
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ecx, ecx
test eax, eax
setne cl
jmp 0x52bf8a
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
xor ecx, ecx
and ecx, ebx
mov dword [esp + 8], ecx
push 0
push dword [edi + 8]
push 0x10
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00523be8
add esp, 0x10
mov dword [edi + 8], eax
push esi
push eax
push 0x10
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
push 0
push dword [edi + 0xc]
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00523be8
add esp, 0x10
mov dword [edi + 0xc], eax
push esi
push eax
push 0x50
push ebp
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ecx, ecx
test eax, eax
setne cl
and ecx, ebx
mov ebx, ebp
mov ebp, ecx
push 0
push dword [edi + 0x10]
push 0x51
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoA
mov esi, eax
inc esi
sub esp, 0xc
push esi
call fcn.00523be8
add esp, 0x10
mov dword [edi + 0x10], eax
push esi
push eax
push 0x51
push ebx
call sub.KERNEL32.DLL_GetLocaleInfoA
xor ebx, ebx
test eax, eax
setne bl
and ebx, ebp
and ebx, dword [esp + 8]
sub esp, 0xc
push 4
call fcn.00523be8
add esp, 0x10
mov esi, eax
test esi, esi
je 0x52c074
push 4
push esi
push 0x11
push dword [esp + 0x2c]
call sub.KERNEL32.DLL_GetLocaleInfoA
sub esp, 0xc
test eax, eax
je 0x52c083
push esi
call fcn.0052d09c
add esp, 0x10
mov word [edi + 0x14], ax
sub esp, 0xc
push esi
call fcn.00523bf8
add esp, 0x10
mov eax, 1
jmp 0x52c08e
sub esp, 0xc
push 0xe
call sub.KERNEL32.DLL_SetLastError
add esp, 0xc
jmp 0x52c08c
push esi
call fcn.00523bf8
add esp, 0x10
xor eax, eax
and ebx, eax
mov eax, ebx
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x52fe34
Capabilities:
Write file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
push dword [esp + 0x4c]
call sub.KERNEL32.DLL_CreateFileA
add esp, 4
mov edi, eax
test edi, edi
je 0x52fefa
sub esp, 0xc
lea eax, [esp + 0x14]
push eax
call sub.KERNEL32.DLL_GetLocalTime
add esp, 0xc
movzx eax, word [esp + 0xa]
mov dword [esp + 0x18], eax
movzx ecx, word [esp + 0xe]
movzx edx, word [esp + 8]
movzx ebp, word [esp + 0x10]
movzx eax, word [esp + 0x12]
movzx esi, word [esp + 0x14]
movzx ebx, word [esp + 0x16]
sub esp, 0xc
push ebx
push esi
push eax
push ebp
push edx
push ecx
push dword [esp + 0x3c]
push str._02d__02d__04d__02d:_02d:_02d._03d
push 0x5626b0
call sub.USER32.DLL_wsprintfA
add esp, 0x24
push 0x5626b0
call fcn.0052488c
add esp, 4
push 0
lea ebx, [esp + 0x18]
push ebx
push eax
push 0x5626b0
push edi
call sub.KERNEL32.DLL_WriteFile
mov esi, dword [esp + 0x40]
push esi
call fcn.0052488c
add esp, 4
push 0
push ebx
push eax
push esi
push edi
call sub.KERNEL32.DLL_WriteFile
push edi
call sub.KERNEL32.DLL_CloseHandle
add esp, 0xc
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x52ff2c
Capabilities:
Write file on windows

Disassembly:
push ebx
push edi
push esi
sub esp, 0x90
mov edi, dword [esp + 0xa0]
mov eax, dword [0x5626d0]
test eax, eax
mov ecx, dword [0x5626cc]
jne 0x52fff1
test ecx, ecx
jne 0x52fff1
cmp dword [0x545608], 0
je 0x530027
sub esp, 4
lea esi, [esp + 0x14]
push 0x80
push esi
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
sub esp, 4
push 0x5c
push esi
call fcn.0052f678
add esp, 0x10
test eax, eax
jne 0x52ff9c
sub esp, 8
push 0x3a
push esi
call fcn.0052f678
add esp, 0x10
test eax, eax
je 0x52ff9f
inc eax
mov esi, eax
mov dword [esp + 0xc], 0
call sub.KERNEL32.DLL_GetVersion
mov ecx, 0x12010
test eax, eax
jns 0x52ffe2
call fcn.005383b4
sub esp, 4
lea ecx, [esp + 0x10]
push ecx
push 0x5300bc
push eax
call sub.USER32.DLL_EnumThreadWindows
add esp, 4
cmp dword [esp + 0xc], 0
mov eax, 0x11010
mov ecx, 0x12010
cmove ecx, eax
push ecx
push esi
push edi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x530074
cmp ecx, 0xffffffff
je 0x530074
test ecx, ecx
je 0x530008
sub esp, 0xc
push edi
call ecx
add esp, 0x10
mov eax, dword [0x5626d0]
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x530074
cmp byte [eax], 0
je 0x530074
sub esp, 8
push edi
push eax
call fcn.0052fe34
add esp, 0xa0
jmp 0x53007a
sub esp, 0xc
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
add esp, 0xc
mov esi, eax
sub esp, 0xc
lea ebx, [esp + 0x1c]
push 0
push ebx
push 2
push 0x545460
push esi
call sub.KERNEL32.DLL_WriteFile
push edi
call fcn.0052488c
add esp, 4
push 0
push ebx
push eax
push edi
push esi
call sub.KERNEL32.DLL_WriteFile
push 0
push ebx
push 2
push 0x545460
push esi
call sub.KERNEL32.DLL_WriteFile
add esp, 0xc
add esp, 0x90
pop esi
pop edi
pop ebx
ret
Function at 0x530efc
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x56a6f4]
test eax, eax
je 0x530f31
mov ecx, dword [eax]
test ecx, ecx
je 0x530f94
add eax, 4
xor edi, edi
nop
cmp byte [ecx], 1
sbb edi, 0
inc edi
mov ecx, dword [eax]
add eax, 4
test ecx, ecx
jne 0x530f1c
jmp 0x530fc0
mov esi, dword [0x56a72c]
test esi, esi
jne 0x530f5e
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov esi, eax
mov dword [0x56a72c], esi
test esi, esi
jne 0x530f5e
mov dword [esp], str.GetEnvironmentStrings_failed
call fcn.0053009c
mov esi, dword [0x56a72c]
mov dword [esp], esi
call fcn.0052488c
test eax, eax
je 0x530f98
xor ebx, ebx
xor edi, edi
mov ebp, esi
nop word cs:[eax + eax]
lea ebx, [eax + ebx + 1]
inc edi
lea ebp, [ebp + eax + 1]
mov dword [esp], ebp
call fcn.0052488c
test eax, eax
jne 0x530f7c
inc ebx
jmp 0x530f9f
xor edi, edi
jmp 0x530fc0
mov ebx, 1
xor edi, edi
mov dword [esp], ebx
call fcn.00523be8
mov dword [0x56a6f0], eax
test eax, eax
je 0x531019
mov dword [esp + 8], ebx
mov dword [esp + 4], esi
mov dword [esp], eax
call fcn.0052455c
lea eax, [edi + 4]
mov dword [0x56a6f8], eax
add edi, 5
mov dword [esp], edi
mov dword [esp + 4], 4
call fcn.00523bcc
mov esi, eax
test esi, esi
je 0x531019
mov edi, dword [0x56a6f4]
test edi, edi
je 0x53101d
mov edx, dword [edi]
test edx, edx
je 0x531056
lea eax, [edi + 4]
xor ecx, ecx
nop word [eax + eax]
cmp byte [edx], 0
je 0x53100c
mov edx, dword [eax - 4]
mov dword [esi + ecx*4], edx
jmp 0x53100d
dec ecx
inc ecx
mov edx, dword [eax]
add eax, 4
test edx, edx
jne 0x530ffc
jmp 0x531052
xor eax, eax
jmp 0x531069
mov ebx, dword [0x56a6f0]
mov dword [esp], ebx
call fcn.0052488c
test eax, eax
je 0x53105e
mov ebp, esi
nop word cs:[eax + eax]
mov dword [ebp], ebx
lea ebx, [ebx + eax + 1]
mov dword [esp], ebx
call fcn.0052488c
add ebp, 4
test eax, eax
jne 0x53103c
test edi, edi
je 0x53105e
mov dword [esp], edi
call fcn.00523bf8
mov dword [0x56a6f4], esi
mov eax, 1
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x53171c
Capabilities:
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x20]
mov dword [esp + 4], 1
mov dword [esp + 8], esi
cmp ebx, 1
jne 0x53177d
mov eax, dword [0x56a770]
lea ecx, [eax + 1]
mov dword [0x56a770], ecx
test eax, eax
jne 0x53177d
call sub.KERNEL32.DLL_GetEnvironmentStringsW
mov dword [0x56a730], eax
sub esp, 0xc
push dword [esi + 0x44]
call fcn.00525ab4
add esp, 8
lea eax, [esp + 0xc]
push 0
push eax
call fcn.005314f4
add esp, 0x10
push ebp
push ebx
push edi
push dword [esi + 0x18]
call fcn.00532060
mov esi, eax
test ebx, ebx
jne 0x5317d0
dec dword [0x56a770]
jne 0x5317d0
sub esp, 0xc
push edi
call fcn.005302ec
add esp, 8
lea eax, [esp + 0xc]
push 1
push eax
call fcn.005314f4
add esp, 0x10
mov eax, dword [0x56a730]
test eax, eax
je 0x5317d0
sub esp, 0xc
push eax
call sub.KERNEL32.DLL_FreeEnvironmentStringsW
add esp, 0xc
mov dword [0x56a730], 0
mov eax, esi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x531cf8
Capabilities:
Create thread

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov edi, edx
mov ebx, ecx
cmp edi, 0xf
jg 0x531d21
test edi, edi
je 0x531d21
call fcn.0052ff04
mov dword [eax], 0x13
mov eax, 0xffffffff
jmp 0x531da7
call fcn.005319c4
mov esi, eax
test esi, esi
je 0x531d75
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov dword [esi + 4], ebp
mov dword [esi + 0x14], ebx
mov dword [esi + 0x58], eax
sub esp, 8
lea eax, [esp + 0x10]
push eax
push ecx
push esi
push 0x531e98
push edi
push edx
call sub.KERNEL32.DLL_CreateThread
add esp, 8
test eax, eax
je 0x531d87
mov ecx, dword [esp + 0x2c]
mov dword [esi + 8], eax
test ecx, ecx
je 0x531da7
mov edx, dword [esp + 8]
mov dword [ecx], edx
jmp 0x531da7
call fcn.0052ff04
mov dword [eax], 8
mov eax, 0xffffffff
jmp 0x531da7
call sub.KERNEL32.DLL_GetLastError
cmp eax, 0x718
jne 0x531da2
sub esp, 0xc
push 0x59
call fcn.005266f8
add esp, 0x10
jmp 0x531da7
call fcn.00526798
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x531ec0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
push esi
sub esp, 0x64
mov esi, dword [esp + 0x70]
mov dword [esp], 0x56a780
call sub.KERNEL32.DLL_EnterCriticalSection
sub esp, 4
mov eax, dword [0x56dc30]
cmp eax, 0x232
jl 0x531f2a
mov eax, dword [esp + 0x74]
mov byte [esp + 0x24], 0
mov dword [esp + 0x20], 0x20726f72
mov dword [esp + 0x1c], 0x72652065
mov dword [esp + 0x18], 0x726f6870
mov dword [esp + 0x14], 0x616d6553
mov dword [esp + 4], eax
lea edi, [esp + 0x14]
mov dword [esp], edi
call fcn.00524740
mov dword [esp], edi
call fcn.0053009c
mov eax, dword [0x56dc30]
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x56a780]
mov dword [esp], eax
call sub.KERNEL32.DLL_InitializeCriticalSection
sub esp, 4
mov eax, dword [0x56dc30]
lea ecx, [eax + 1]
mov dword [0x56dc30], ecx
lea eax, [eax + eax*2]
lea eax, [eax*8 + 0x56a780]
mov dword [esi], eax
mov dword [esp], 0x56a780
call sub.KERNEL32.DLL_LeaveCriticalSection
add esp, 0x60
pop esi
pop edi
ret

Function at 0x531f70
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov byte [esp + 0x18], 0
mov dword [esp + 0x14], 0x20726f72
mov dword [esp + 0x10], 0x72652065
mov dword [esp + 0xc], 0x726f6870
mov dword [esp + 8], 0x616d6553
mov dword [esp + 4], eax
lea esi, [esp + 8]
mov dword [esp], esi
call fcn.00524740
mov dword [esp], esi
call fcn.0053009c
add esp, 0x58
pop esi
ret

Function at 0x5364ac
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x56e060]
mov dword [esp], eax
call fcn.005385d6
sub esp, 4
mov esi, eax
test esi, esi
je 0x536513
xor edi, edi
nop
cmp edi, 3
ja 0x536513
inc edi
xor ebx, ebx
xor eax, eax
nop word [eax + eax]
cmp byte [ebx*8 + 0x56e064], 0
je 0x536509
mov ecx, dword [ebx*8 + 0x56e068]
test ecx, ecx
je 0x536509
mov edx, dword [esi + ebx*4]
test edx, edx
je 0x536509
mov dword [esi + ebx*4], 0
mov dword [esp], edx
call ecx
mov eax, 1
inc ebx
cmp ebx, 0x32
jne 0x5364dc
test eax, eax
jne 0x5364cc
add esp, 0x10
pop esi
pop edi
pop ebx
ret
Function at 0x13171720
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x13171726
ret

Function at 0x131af024
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebx, eax
test ebx, ebx
je 0x131af0c0
test ebx, ebx
setl byte [esp]
mov eax, edi
mov edx, 0xb
call fcn.13158db8
mov esi, 0xb
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebp, eax
mov eax, ebx
mov ecx, 0xa
cdq
idiv ecx
mov ebx, eax
mov eax, edi
call fcn.13158c84
lea edx, [ebp + 0x30]
mov byte [eax + esi - 1], dl
dec esi
test ebx, ebx
jne 0x131af04c
cmp byte [esp], 0
je 0x131af091
mov eax, edi
call fcn.13158c84
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x131af0cc
mov eax, edi
call fcn.13158c84
push eax
mov eax, edi
call fcn.13158c84
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.131567dc
mov edx, ebx
mov eax, edi
call fcn.13158db8
jmp 0x131af0cc
mov eax, edi
mov edx, 0x45b300
call fcn.131587c0
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x131af6ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.13158c1c
xor eax, eax
push ebp
push 0x45b932
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.131587c0
mov eax, ebx
call fcn.13158c7c
mov eax, dword [ebx]
call fcn.13158a2c
test eax, eax
jle 0x131af6f8
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x131af6ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b939
lea eax, [ebp - 4]
call fcn.1315876c
ret

Function at 0x131af9b4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor ebx, ebx
xor edx, edx
push ebp
push 0x45bc10
push dword fs:[edx]
mov dword fs:[edx], esp
cmp word [eax], 0x5a4d
jne 0x131af9e2
lea edx, [eax + 0x3c]
mov ebx, dword [edx]
add ebx, eax
cmp dword [ebx], 0x4550
je 0x131af9e2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x131af9f8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x131b2bec
Capabilities:
Parse pe header

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffedc
mov ebp, ecx
mov esi, edx
mov edi, eax
xor ebx, ebx
push 0x1c
lea eax, [esp + 4]
push eax
push edi
call fcn.1315b0b8
cmp eax, 0x1c
jne 0x131b2c68
cmp dword [esp + 0x10], 0x1000
jne 0x131b2c68
cmp dword [esp + 4], 0
je 0x131b2c68
push 0x104
lea eax, [esp + 0x20]
push eax
mov eax, dword [esp + 0xc]
push eax
call fcn.1315adf0
test eax, eax
je 0x131b2c68
mov eax, dword [esp + 4]
mov dword [esi], eax
mov eax, dword [esi]
cmp word [eax], 0x5a4d
jne 0x131b2c68
mov eax, dword [esi]
mov edx, dword [esi]
add edx, 0x3c
add eax, dword [edx]
cmp dword [eax], 0x4550
jne 0x131b2c68
mov edx, dword [esi]
add edx, dword [eax + 0x78]
mov dword [ebp], edx
cmp dword [ebp], 0
setne bl
mov eax, ebx
add esp, 0x124
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x131ba958
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.13158c1c
xor eax, eax
push ebp
push 0x466c02
push dword fs:[eax]
mov dword fs:[eax], esp
mov ebx, dword [ebp - 4]
mov al, byte [ebx]
mov byte [ebp - 5], al
inc ebx
mov edx, dword [ebx]
mov eax, edi
call fcn.13158db8
add ebx, 4
mov esi, dword [edi]
mov al, byte [ebx]
cmp al, byte [ebp - 5]
jne 0x131ba9b5
inc ebx
mov eax, ebx
inc eax
movzx eax, byte [eax]
test eax, eax
jle 0x131ba9b0
mov dl, byte [ebx]
xor dl, 0x55
mov byte [esi], dl
inc esi
dec eax
jne 0x131ba9a5
add ebx, 2
jmp 0x131ba9bb
xor al, 0x55
mov byte [esi], al
inc esi
inc ebx
mov eax, dword [edi]
call fcn.13158a2c
add eax, dword [edi]
cmp eax, esi
ja 0x131ba993
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466c09
lea eax, [ebp - 4]
call fcn.1315876c
ret

Function at 0x131bd468
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax], 0
je 0x131bd4ff
push 2
lea ecx, [ebp - 2]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.131bd288
test al, al
je 0x131bd4ff
cmp word [ebp - 2], 0x5a4d
jne 0x131bd4ff
push 4
lea ecx, [ebp - 8]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, 0x3c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.131bd288
test al, al
je 0x131bd4ff
push 0xf8
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
mov edx, dword [edx]
add edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.131bd288
test al, al
je 0x131bd4ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
cmp dword [eax], 0x4550
jne 0x131bd4ff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
test byte [eax + 0x17], 0x20
je 0x131bd503
xor eax, eax
jmp 0x131bd505
mov al, 1
test al, al
je 0x131bd522
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov edx, dword [edx]
movzx ecx, word [ebp - 2]
add edx, ecx
add edx, 0x78
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 8]
mov dword [ecx], edx
pop ecx
pop ecx
pop ebp
ret