joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100cdf60
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x400
jb 0x100cdfa9
push str.aVoice___VOICE_COUNT
push 0x21
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [esi + 8]
test al, al
jne 0x100cdfda
push str.mInsideAudioThreadMutex
push 0x22
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
fld dword [ebp + 0xc]
fcomp dword [0x100f73b8]
fnstsw ax
test ah, 0x41
je 0x100cdff8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi + edi*4 + 0x50]
test eax, eax
je 0x100ce00e
mov ecx, dword [ebp + 0xc]
push edi
mov dword [eax + 0x4c], ecx
mov ecx, esi
call fcn.100ce3b0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100ce020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x400
jb 0x100ce069
push str.aVoice___VOICE_COUNT
push 0x33
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [esi + 8]
test al, al
jne 0x100ce09a
push str.mInsideAudioThreadMutex
push 0x34
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
mov byte [esi + 0x1cdc0], 1
mov eax, dword [esi + edi*4 + 0x50]
test eax, eax
je 0x100ce0d4
mov dword [eax + 0x124], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [esi + edi*4 + 0x50]
test eax, eax
mov eax, dword [esi + 0x10]
je 0x100ce0cf
or al, 4
pop edi
mov dword [esi + 0x10], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
and al, 0xfb
mov dword [esi + 0x10], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ce0e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x400
jb 0x100ce129
push str.aVoice___VOICE_COUNT
push 0x47
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [esi + 8]
test al, al
jne 0x100ce15a
push str.mInsideAudioThreadMutex
push 0x48
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
mov eax, dword [esi + edi*4 + 0x50]
test eax, eax
je 0x100ce230
fld dword [ebp + 0xc]
fadd dword [0x100f73d8]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + edi*4 + 0x50]
fmul qword [0x100fa940]
fld st(0)
fcos
fstp dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
fsin
mov dword [edx + 0x18], eax
mov ecx, dword [esi + edi*4 + 0x50]
fst dword [ecx + 0x1c]
mov eax, dword [esi + edi*4 + 0x50]
cmp dword [eax + 0x48], 4
jne 0x100ce1ac
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x20], edx
mov eax, dword [esi + edi*4 + 0x50]
fst dword [eax + 0x24]
mov eax, dword [esi + edi*4 + 0x50]
mov ecx, 0x3f800000
cmp dword [eax + 0x48], 6
jne 0x100ce1e4
fld qword [0x100fa938]
fsqrt
fdivr dword [0x100f73d8]
fstp dword [eax + 0x20]
mov edx, dword [esi + edi*4 + 0x50]
mov dword [edx + 0x24], ecx
mov eax, dword [esi + edi*4 + 0x50]
mov edx, dword [ebp + 0xc]
mov dword [eax + 0x28], edx
mov eax, dword [esi + edi*4 + 0x50]
fst dword [eax + 0x2c]
mov eax, dword [esi + edi*4 + 0x50]
cmp dword [eax + 0x48], 8
jne 0x100ce22e
fld qword [0x100fa938]
fsqrt
fdivr dword [0x100f73d8]
fstp dword [eax + 0x20]
mov edx, dword [esi + edi*4 + 0x50]
mov dword [edx + 0x24], ecx
mov eax, dword [esi + edi*4 + 0x50]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x28], ecx
mov edx, dword [esi + edi*4 + 0x50]
fst dword [edx + 0x2c]
mov eax, dword [esi + edi*4 + 0x50]
mov dword [eax + 0x30], ecx
mov edx, dword [esi + edi*4 + 0x50]
pop edi
pop esi
fstp dword [edx + 0x34]
pop ebx
mov esp, ebp
pop ebp
ret 8
fstp st(0)
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100ce240
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x400
jb 0x100ce289
push str.aVoice___VOICE_COUNT
push 0x6a
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [esi + 8]
test al, al
jne 0x100ce2ba
push str.mInsideAudioThreadMutex
push 0x6b
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
mov byte [esi + 0x1cdc0], 1
mov eax, dword [esi + edi*4 + 0x50]
test eax, eax
je 0x100ce2d7
mov ecx, dword [ebp + 0xc]
push edi
mov dword [eax + 0x38], ecx
mov ecx, esi
call fcn.100ce460
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x100ce2e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
cmp edi, 0x400
jb 0x100ce329
push str.aVoice___VOICE_COUNT
push 0x76
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [esi + 8]
test al, al
jne 0x100ce35a
push str.mInsideAudioThreadMutex
push 0x77
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
mov byte [esi + 0x1cdc0], 1
mov ecx, dword [esi + edi*4 + 0x50]
test ecx, ecx
je 0x100ce39f
mov dword [esi + edi*4 + 0x50], 0
mov eax, dword [esi + 0x18]
xor edx, edx
test eax, eax
jbe 0x100ce395
mov eax, dword [esi + 0x4c]
mov edi, dword [eax + edx*4]
lea eax, [eax + edx*4]
cmp edi, ecx
jne 0x100ce38d
mov dword [eax], 0
mov eax, dword [esi + 0x18]
inc edx
cmp edx, eax
jb 0x100ce37a
test ecx, ecx
je 0x100ce39f
mov edx, dword [ecx]
push 1
call dword [edx]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100ce3b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x400
mov edi, ecx
jb 0x100ce3fc
push str.aVoice___VOICE_COUNT
push 0x8e
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [edi + 8]
test al, al
jne 0x100ce430
push str.mInsideAudioThreadMutex
push 0x8f
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
mov eax, dword [edi + esi*4 + 0x50]
lea ecx, [esi + esi*2]
lea edx, [esi + ecx*4]
fld dword [edi + edx*8 + 0x1dec]
fmul dword [eax + 0x4c]
fstp dword [eax + 0x50]
mov esi, dword [edi + esi*4 + 0x50]
pop edi
fld dword [esi + 0x50]
fmul dword [esi + 0x40]
fstp dword [esi + 0x44]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100ce460
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push esi
mov esi, dword [ebp + 8]
push edi
cmp esi, 0x400
mov edi, ecx
jb 0x100ce4ac
push str.aVoice___VOICE_COUNT
push 0x96
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea eax, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push eax
call fcn.100e0643
add esp, 0x14
lea ecx, [ebp - 0xc8]
push ecx
call ebx
int3
mov al, byte [edi + 8]
test al, al
jne 0x100ce4e0
push str.mInsideAudioThreadMutex
push 0x97
push str.C:_blitz3d_v1.110_soloud_srccore_soloud_core_voiceops.cpp
lea edx, [ebp - 0xc8]
push str._s__d_:_assert__s__failed._n
push edx
call fcn.100e0643
add esp, 0x14
lea eax, [ebp - 0xc8]
push eax
call ebx
int3
mov eax, dword [edi + esi*4 + 0x50]
lea ecx, [esi + esi*2]
lea edx, [esi + ecx*4]
fld dword [edi + edx*8 + 0x1df0]
fmul dword [eax + 0x38]
fstp dword [eax + 0x3c]
mov eax, dword [edi + esi*4 + 0x50]
test byte [eax + 0x10], 4
je 0x100ce522
mov eax, 0x15c
mov ecx, dword [edi + esi*4 + 0x50]
add eax, 4
cmp eax, 0x17c
fld dword [eax + ecx - 0x148]
fmul dword [ecx + 0x3c]
fstp dword [eax + ecx - 4]
jl 0x100ce506
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100ce5e0
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.100ddb85
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
add esp, 4
mov dword [eax], ecx
mov dword [eax + 4], edx
push 0
push 0
push eax
push 0x100ce630
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
jne 0x100ce614
pop esi
ret
push 4
call fcn.100ddb85
add esp, 4
mov dword [eax], esi
pop esi
ret
Function at 0x100e38ae
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10114a18
cmp edx, dword [eax]
je 0x100e38d0
add eax, 8
inc ecx
cmp eax, 0x10114aa8
jl 0x100e38c1
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10114a18]
jne 0x100e39fe
mov eax, dword [0x1011e984]
cmp eax, 1
je 0x100e39d8
test eax, eax
jne 0x100e3901
cmp dword [0x1011e988], 1
je 0x100e39d8
cmp edx, 0xfc
je 0x100e39fe
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100e3938
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.100e7720
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.100dcb10
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100e397b
lea eax, [ebp - 0x1a4]
push eax
call fcn.100dcb10
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x100fb644
push edi
call fcn.100eab80
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.100e7720
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.100e7730
lea eax, [ebp - 0xa0]
push 0x100fb624
push eax
call fcn.100e7730
push dword [esi + 0x10114a1c]
lea eax, [ebp - 0xa0]
push eax
call fcn.100e7730
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100ebaee
add esp, 0x2c
pop edi
jmp 0x100e39fe
lea eax, [ebp + 8]
lea esi, [esi + 0x10114a1c]
push 0
push eax
push dword [esi]
call fcn.100dcb10
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x409e8c
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409f5f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409f78
push ebx
push 0x409f84
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409f0c
mov al, 0x6a
call fcn.00409ae8
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409e60
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409f15
call fcn.00409e60
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f66
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x40a018
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a0cc
jmp 0x40a0c1
cmp dword [esi + 0x10], 0x1000
jne 0x40a0ad
test byte [esi + 0x15], 1
jne 0x40a0ad
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x40a06c
cmp eax, 2
je 0x40a06c
cmp eax, 0x10
je 0x40a06c
cmp eax, 0x20
jne 0x40a081
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x40a081
mov bl, 1
xor ebp, ebp
jmp 0x40a092
mov eax, dword [esi]
add eax, ebp
call fcn.0040a010
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x40a085
test bl, bl
je 0x40a0ad
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x40a0cc
mov eax, dword [esi + 4]
cmp eax, edi
je 0x40a044
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x42e003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0x172e19f4
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x42cd70
nop
mov ecx, 0x49ed1350
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x42e06c
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x1002b249
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1002b288
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002b288
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002b288
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x1002b288
cmp dword [ecx + 0x74], 0xe
jbe 0x1002b288
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1002de7b
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002df18
push ebx
push esi
call fcn.1002de44
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1002ddd8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002dec5
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002df17
push edi
push eax
call fcn.1002eda4
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002dee5
call fcn.1002c920
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002df16
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1002ddd8
add esp, 0x20
test eax, eax
jne 0x1002df04
push edi
call fcn.1002c920
jmp 0x1002df0c
push ebx
call fcn.1002c920
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002e185
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10036690
push 0x10036688
push str.FlsAlloc
push 0x1f
call fcn.1002e0a1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002e1b9
push dword [ebp + 8]
mov ecx, esi
call dword [0x10034174]
call esi
jmp 0x1002e1bf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1002e203
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100366a0
push 0x10036698
push str.FlsGetValue
push 0x21
call fcn.1002e0a1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002e23a
push dword [ebp + 8]
mov ecx, esi
call dword [0x10034174]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1002e242
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100366a8
push 0x100366a0
push str.FlsSetValue
push 0x22
call fcn.1002e0a1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1002e27c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10034174]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x100337d0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100337fd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100337fd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5807f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x123000]
push edi
jmp 0x58080a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x580811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580800
mov eax, 1
add ebx, ebx
jne 0x580823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x580834
jne 0x580853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580853
dec eax
add ebx, ebx
jne 0x580840
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x580818
add ebx, ebx
jne 0x58084f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5808a5
xor ecx, ecx
sub eax, 3
jb 0x58086b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5808da
sar eax, 1
mov ebp, eax
jmp 0x580876
add ebx, ebx
jne 0x580876
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580844
inc ecx
add ebx, ebx
jne 0x580884
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x580844
add ebx, ebx
jne 0x580891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x580886
jne 0x5808a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x580886
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5808c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5808b6
jmp 0x580806
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5808c4
add edi, ecx
jmp 0x580806
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5808e2
cmp byte [edi], 0x11
jne 0x5808e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5808e7
lea edi, [esi + 0x179000]
mov eax, dword [edi]
or eax, eax
je 0x58095f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21b7bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21b938]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x580914
mov ecx, edi
jns 0x580943
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 + 0x21b93c]
or eax, eax
je 0x580959
mov dword [ebx], eax
add ebx, 4
jmp 0x580931
call dword [esi + 0x21b94c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x580990
cmp al, 0xef
ja 0x580983
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x580965
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x580972
mov ebp, dword [esi + 0x21b940]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x5809c4
sub esp, 0xffffff80
jmp 0x420577