joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4368b8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xd4]
mov dword [ebp - 8], eax
mov eax, dword [esi]
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ebx
call fcn.0043e13e
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp + 0xc], ebx
mov dword [ebp - 0x10], ebx
cmp eax, ebx
je 0x4368f3
mov dword [eax], ebx
jmp 0x4368f9
lea eax, [ebp - 0x10]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
jmp 0x4369ea
mov edi, dword [ebp - 4]
cmp dword [edi + 0x178], ebx
je 0x436928
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0043e13e
push edx
push eax
call fcn.0043e154
mov ecx, dword [edi + 0x178]
jmp 0x436968
cmp dword [edi + 0x170], ebx
je 0x436950
push dword [esi + 0xc8]
push dword [esi + 0xc4]
call fcn.0043e13e
push edx
push eax
call fcn.0043e154
mov ecx, dword [edi + 0x170]
jmp 0x436968
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.0043e13e
push edx
push eax
call fcn.0043e154
mov ecx, dword [esi + 0x304]
sub ecx, eax
add esp, 0x10
cmp ecx, ebx
jle 0x436a00
mov eax, 0x3e8
cmp ecx, eax
jge 0x436980
mov eax, ecx
cmp dword [esi + 0x2f4], ebx
je 0x43698e
cmp dword [ebp + 0xc], 2
jl 0x4369a5
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
call fcn.0043c8c6
add esp, 0xc
cmp eax, 0xffffffff
je 0x436a18
cmp eax, ebx
je 0x4369dc
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x10]
push dword [ebp - 8]
call fcn.004365a2
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, ebx
jne 0x4369f2
mov ecx, dword [ebp - 0x14]
cmp ecx, ebx
jne 0x4369d2
cmp dword [esi + 0x2f4], ebx
je 0x4369d2
inc dword [ebp + 0xc]
jmp 0x4369d5
mov dword [ebp + 0xc], ebx
mov eax, dword [ebp + 8]
add dword [eax], ecx
jmp 0x4369e7
push esi
call fcn.0043e63d
pop ecx
test eax, eax
jne 0x436a14
mov eax, dword [ebp + 0x10]
cmp dword [eax], ebx
je 0x436903
mov eax, dword [ebp - 0xc]
mov byte [esi + 0x31c], bl
pop edi
pop esi
pop ebx
leave
ret
push str.FTP_response_timeout
push dword [ebp - 4]
call fcn.00430598
pop ecx
pop ecx
push 0x1c
pop eax
jmp 0x4369fb
push 0x2a
jmp 0x436a11
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.FTP_response_aborted_due_to_select_poll_error:__d
push dword [ebp - 4]
call fcn.00430598
add esp, 0xc
push 0x38
jmp 0x436a11
Function at 0x438529
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push edi
push 0x64
cdq
pop ebx
idiv ebx
mov ecx, dword [esi]
xor edi, edi
cmp eax, 2
je 0x438552
push str.Couldnt_set_desired_mode
push ecx
call fcn.00430598
pop ecx
pop ecx
push 0x11
pop eax
jmp 0x4385a7
cmp dword [ebp + 8], 0xc8
je 0x43856c
push dword [ebp + 8]
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push ecx
call fcn.0043052e
add esp, 0xc
mov eax, dword [ebp + 0xc]
cmp eax, 0x11
jne 0x43857d
mov eax, esi
call fcn.00437d06
jmp 0x4385a3
cmp eax, 0x12
jne 0x43858a
push esi
call fcn.00437d4d
jmp 0x4385a2
cmp eax, 0x13
jne 0x438597
push esi
call fcn.00436a67
jmp 0x4385a2
cmp eax, 0x14
jne 0x4385a5
push esi
call fcn.00436a7b
pop ecx
mov edi, eax
mov eax, edi
pop edi
pop ebx
pop ebp
ret
Function at 0x43c8c6
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x498d74]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x314], edx
cmp esi, 0xffffffff
jne 0x43c909
cmp ebx, esi
jne 0x43c909
push dword [ebp + 0x10]
call fcn.0043c89e
pop ecx
jmp 0x43cac2
cmp dword [ebp + 0x10], edx
jle 0x43c924
mov edi, dword [ebp + 0x10]
call fcn.0043e13e
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x318], eax
xor edx, edx
xor eax, eax
or ecx, 0xffffffff
inc eax
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x310], edx
cmp esi, ecx
je 0x43c954
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], eax
mov ecx, esi
mov dword [ebp - 0x20c], edx
cmp ebx, 0xffffffff
je 0x43c9ab
mov dword [ebp - 0x20c], eax
xor eax, eax
mov dword [ebp - 0x208], ebx
cmp dword [ebp - 0x108], edx
jbe 0x43c987
cmp dword [ebp + eax*4 - 0x104], ebx
je 0x43c987
inc eax
cmp eax, dword [ebp - 0x108]
jb 0x43c975
cmp eax, dword [ebp - 0x108]
jne 0x43c9a5
cmp dword [ebp - 0x108], 0x40
jae 0x43c9a5
mov dword [ebp + eax*4 - 0x104], ebx
inc dword [ebp - 0x108]
cmp ebx, ecx
jbe 0x43c9ab
mov ecx, ebx
cmp dword [ebp + 0x10], edx
jge 0x43c9b4
xor ebx, ebx
jmp 0x43c9ba
lea ebx, [ebp - 0x320]
lea esi, [ecx + 1]
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x43c9dc
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x31c], edx
jmp 0x43c9e4
jne 0x43c9ea
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x320], eax
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
push esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x43ca4d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x43ca1d
cmp eax, 0x2714
jne 0x43ca51
cmp dword [ebp + 0x10], 0
jle 0x43c9bd
push dword [ebp - 0x314]
push dword [ebp - 0x318]
call fcn.0043e13e
push edx
push eax
call fcn.0043e154
mov edi, dword [ebp + 0x10]
sub edi, eax
add esp, 0x10
test edi, edi
jg 0x43c9bd
jmp 0x43ca51
test eax, eax
jns 0x43ca56
or eax, 0xffffffff
jmp 0x43cac2
jne 0x43ca5c
xor eax, eax
jmp 0x43cac2
xor esi, esi
cmp dword [ebp + 8], 0xffffffff
je 0x43ca8e
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43ca78
inc esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43ca8e
or esi, 4
cmp dword [ebp + 0xc], 0xffffffff
je 0x43cac0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43caaa
or esi, 2
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x43cac0
or esi, 4
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044249e
leave
ret
Function at 0x43ec71
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 8]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x43ec80
jmp dword [eax*4 + 0x43ecf5]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
mov al, byte [ebp + 8]
pop ebp
ret

Function at 0x441171
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x441c8c
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x49b0fc], 0
push esi
push edi
jne 0x441c02
call fcn.00441b6e
test eax, eax
je 0x441c47
mov eax, dword [0x49b0fc]
cmp eax, 1
jne 0x441c23
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x441c47
jmp 0x441c89
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x441c89
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x441c4b
xor eax, eax
jmp 0x441c89
mov eax, dword [esi]
push dword [0x49b0fc]
call edi
mov edi, eax
test edi, edi
je 0x441c6d
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x441c89
lea edi, [esi + 0xff0]
push esi
push dword [0x49b0fc]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x441c73
mov eax, esi
pop edi
pop esi
ret
jmp 0x441bee

Function at 0x44249e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x498d74]
jne 0x4424a8
repz ret
jmp fcn.0044e069

Function at 0x4511bf
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4511e6
call fcn.0044b96a
mov dword [eax], esi
call fcn.0044b957
push 0x16
pop esi
mov dword [eax], esi
call fcn.0044d541
mov eax, esi
jmp 0x45123b
test dword [ebp + 0xc], 0xfffffff9
jne 0x4511cc
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x451213
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0044b97d
pop ecx
call fcn.0044b957
mov eax, dword [eax]
jmp 0x45123b
test al, 0x10
jne 0x451239
test al, 1
je 0x451239
test byte [ebp + 0xc], 2
je 0x451239
call fcn.0044b96a
mov dword [eax], 5
call fcn.0044b957
mov dword [eax], 0xd
jmp 0x45120a
xor eax, eax
pop esi
pop ebp
ret
Function at 0x45b629
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x498d74]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0044cd6f
and dword [ebp - 0x14], 0
cmp dword [0x49bfb0], 0
mov dword [ebp - 0x18], eax
jne 0x45b6dc
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x45b784
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4888d8
push ebx
call edi
test eax, eax
je 0x45b784
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4888c8
push ebx
mov dword [0x49bfb0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49bfb4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49bfb8], eax
call edi
push eax
call esi
mov dword [0x49bfc0], eax
test eax, eax
je 0x45b6dc
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49bfbc], eax
mov eax, dword [0x49bfbc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x45b735
cmp dword [0x49bfc0], ecx
je 0x45b735
push eax
call esi
push dword [0x49bfc0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x45b735
test ebx, ebx
je 0x45b735
call edi
test eax, eax
je 0x45b72c
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x45b72c
test byte [ebp - 8], 1
jne 0x45b735
or dword [ebp + 0x10], 0x200000
jmp 0x45b768
mov eax, dword [0x49bfb4]
cmp eax, dword [ebp - 0x18]
je 0x45b768
push eax
call esi
test eax, eax
je 0x45b768
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x45b768
mov eax, dword [0x49bfb8]
cmp eax, dword [ebp - 0x18]
je 0x45b768
push eax
call esi
test eax, eax
je 0x45b768
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49bfb0]
call esi
test eax, eax
je 0x45b784
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x45b786
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044249e
leave
ret
Function at 0x76f8e8
Capabilities:
Encode data using xor

Disassembly:
scasb al, byte es:[edi]
jecxz 0x76f8fb
cmp dl, byte [esi]
cmp cl, byte [esi + 0x26]
popal
lahf
pop esp
xadd dword [ecx], esp
cwde
add ecx, dword [eax + edx*4]
std
std
ror bh, 1
mov bh, 0xc7
loop 0x76f973
sahf
mov dl, 0xc0
xchg byte [ecx], bl
xchg byte [esi + ecx*4 + 0x2b969d9c], bl
int3
sbb eax, 0xd98cf305
and al, 0x8f
sub dh, byte [ebp + 8]
dec ebx
add dl, byte [ebp + 0xed4efc0]
mov esp, 0x3ea9fd4
mov bh, 0x2d
ja 0x76f979
invalid
nop
rcr dword [ebx - 0x4fab0b3d], cl
adc edx, dword [eax - 0x62]
push esp
mov al, 0x13
push eax
sahf
push 0x80a38073
xor ebx, dword [eax]
dec ebx
jecxz 0x76f993
xchg edx, eax
not byte [eax]
loopne 0x76fa12
add eax, 0xe3cbb0da
out 0xa1, eax
and byte [edx - 0x35], 0x36
inc ecx
js 0x76fa1c
push ebx
inc ebx
push edx
cmc
out 0x64, al
and byte [ebx], ah
jae 0x76fa29
mov esi, 0xbd723c0
mul byte [edx - 0x6e250cd9]
dec ebx
dec dword [edi + 0x606742c9]
push edx
jg 0x76f9eb
sub al, byte [edi + edi*4]
mov ebp, 0x492a0162
push ebx
test al, 0x47
out 0xfb, eax
pop ecx
sbb dword [edx + esi*4 + 0x6a], 0xfffffff3
xor eax, 0x961635b7
mov bh, 0x35
push ss
xchg esi, eax
cmpsb byte [esi], byte es:[edi]
cmp byte [0xb7705dbc], 0x59
inc ebx
mov esp, 0x4a63d06c
mov byte [0x31c743ff], al
fsubr qword [eax + 0x12]
ret 0x3719
push 0xf
inc edi
sbb eax, esi
invalid
add byte [ecx + 0x19], bl
jmp 0xaf57ad03
cmp al, byte [ebp - 0x6b3c736d]
into
rcr byte [edi], 0xde
push ss
inc eax
daa
mov dl, 0xc4
sub byte [edx + esi*8 + 0x60], 5
je 0x76fa97
daa
salc
xchg ecx, eax
in eax, dx
out 0xce, al
xchg ebp, eax
mov bl, 0xa5
sal byte [ecx - 0x38db3a4c], cl
mov dword [0xf2440343], eax
push edx
add edx, dword [edi + 0x26]
shr dword [ebp + 0x7f], 1
pushal
pop esi
fstp st(1)
sub eax, dword [ebx]
call 0x46e5b65e
or eax, 0x40238c57
insd dword es:[edi], dx
pop esi
push edx
in al, dx
iretd
jnp 0x76faf0
int1
fild word [edi]
add dl, byte [edx + 0x50]
inc ebx
rcl dword [ebx - 0x20385c10], 0xd1
les edi, [eax + esi - 0x50cf7c48]
lock xor ebp, dword [ebp + 0x43]
jo 0x76faea
mov al, 0x95
mov al, byte [0xc30f5c33]
arpl word [edx], ax
mov word [esp + edx - 0x16], gs
mov ecx, 0x93e04129
and byte [ebx + 0x37cb1a4], al
lea ecx, [ebp - 0xfbb9e20]
bound ebp, qword [ebx]
cmpsb byte [esi], byte es:[edi]
xor edx, dword [edx]
daa
xor dh, byte [edx]
xor byte [eax], ah
aaa
mov bl, 0
dec dword [eax - 0x49]
xchg edi, eax
push es
les ebp, [edi + 0x4ba589c0]
cmp dword [edi - 0x6c46fc68], esi
push 0xffffffffffffffcf
inc esp
fcomp st(0)
imul edi, dword [ebx + 0x7b], 0xf69777e0
aaa
cmp esp, dword [eax - 0x37]
scasd eax, dword es:[edi]
adc edi, esi
test dword [ebx - 0xd], ebx
movsb byte es:[edi], byte [esi]
adc al, 0x13
sub eax, 0x5508e690
inc ebp
jmp 0x76fb10
call [ecx + 0x1342f350]
retf
Function at 0x401500
Capabilities:
Execute command

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x14
call dbg.__main
mov dword [esp], str.title_Haachama
call sym._system
mov dword [esp], str.mode_30_1
call sym._system
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], str.Play_hh.mp3
mov eax, dword [sym.imp.WINMM.DLL_mciSendStringA]
call eax
sub esp, 0x10
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0xfa0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0xbb8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0xbb8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0xbb8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x3e8
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x7d0
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_erroplay.exe
call sym._system
mov dword [esp], 0x1388
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
mov dword [esp], str.start_author.exe
call sym._system
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x401b60
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov eax, dword [sym.imp.msvcrt.dll__iob]
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
lea ebx, [esp + 0x24]
mov dword [esp], str.Mingw_w64_runtime_failure:_n
add eax, 0x40
mov dword [esp + 0xc], eax
call sym._fwrite
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
mov dword [esp], eax
call sym._vfprintf
call sym._abort
jmp dbg.mark_section_writable
Function at 0x401bc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
sub esp, 0x30
mov esi, dword [0x405050]
test esi, esi
jle 0x401cad
mov edi, dword [0x405054]
xor ebx, ebx
lea edx, [edi + 4]
nop
mov ecx, dword [edx]
cmp ecx, eax
ja 0x401bf4
mov edi, dword [edx + 4]
add ecx, dword [edi + 8]
cmp eax, ecx
jb 0x401ca6
add ebx, 1
add edx, 0xc
cmp ebx, esi
jne 0x401be0
mov dword [esp], eax
mov ebx, eax
call dbg.__mingw_GetSectionForAddress
test eax, eax
mov edi, eax
je 0x401cea
lea ebx, [esi + esi*2]
mov esi, dword [0x405054]
shl ebx, 2
add esi, ebx
mov dword [esi + 8], eax
mov dword [esi], 0
call dbg._GetPEImageBase
add eax, dword [edi + 0xc]
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov eax, dword [0x405054]
mov eax, dword [eax + ebx + 4]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401cca
mov eax, dword [esp + 0x28]
lea edx, [eax - 4]
and edx, 0xfffffffb
je 0x401c9f
sub eax, 0x40
and eax, 0xffffffbf
je 0x401c9f
mov eax, dword [esp + 0x20]
add ebx, dword [0x405054]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc], ebx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
je 0x401cb4
add dword [0x405050], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
xor esi, esi
jmp 0x401bfe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
mov eax, dword [0x405054]
mov eax, dword [eax + ebx + 4]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]

Function at 0x4021b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x405400]
sub esp, 4
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
je 0x402205
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x4021fe
test esi, esi
je 0x4021fe
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x4021e0
mov dword [esp], 0x405408
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x402420
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402458
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x40244e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40245a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402440
xor eax, eax
pop ebx
pop esi
ret
Function at 0x4894c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x84000]
push edi
jmp 0x4894da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4894e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4894d0
mov eax, 1
add ebx, ebx
jne 0x4894f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4894e8
jne 0x489504
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4894e8
xor ecx, ecx
sub eax, 3
jb 0x489518
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48958a
mov ebp, eax
add ebx, ebx
jne 0x489523
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x489530
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x489554
inc ecx
add ebx, ebx
jne 0x489540
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x489535
jne 0x489551
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x489535
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x489574
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x489565
jmp 0x4894d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x489574
add edi, ecx
jmp 0x4894d6
pop esi
mov edi, esi
mov ecx, 0x254
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x489592
cmp byte [edi], 2
jne 0x489592
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 0x489597
lea edi, [esi + 0x87000]
mov eax, dword [edi]
or eax, eax
je 0x48960f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe2208]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe22bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4895c4
mov ecx, edi
jns 0x4895f3
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 + 0xe22c0]
or eax, eax
je 0x489609
mov dword [ebx], eax
add ebx, 4
jmp 0x4895e1
call dword [esi + 0xe22d0]
mov ebp, dword [esi + 0xe22c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1e7]
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 0x489643
sub esp, 0xffffff80
jmp 0x403291
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40de38
mov ecx, 0xfcf71df
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43304e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x5a8418b7
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219