joyce8/EMBER2024-capa huggingface dataset:
Function at 0x485fa0
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10c
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x108], eax
mov eax, dword [0x76a4dc]
inc eax
mov dword [0x76a4dc], eax
push esi
cmp eax, 1
jg 0x486065
xor esi, esi
push esi
push esi
push esi
call fcn.005934a0
push esi
push esi
push 0x200002
call fcn.005934a0
push esi
push esi
push 2
call fcn.004c5b30
push esi
push esi
push 0xc
call fcn.004c5b30
push esi
push esi
push 4
call fcn.004c5b30
push esi
push esi
push 8
call fcn.004c5b30
add esp, 0x48
push 0x800
push esi
push str.ADVAPI32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov esi, eax
test esi, esi
je 0x486065
push str.SystemFunction036
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48605e
push 0x40
lea ecx, [esp + 0xc]
push ecx
call eax
test al, al
je 0x48605e
movsd xmm0, qword [0x6c8480]
lea eax, [esp + 8]
push ecx
push ecx
movsd qword [esp], xmm0
push 0x40
push eax
call fcn.004c7620
add esp, 0x10
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.005c0db0
mov esp, ebp
pop ebp
ret
Function at 0x4870df
Capabilities:
Terminate process

Disassembly:
mov eax, 0x2614
call fcn.005c1510
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x2610], eax
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 2
push 2
mov dword [esp + 0x24], ebx
mov edi, esi
mov dword [ebx], esi
call dword [sym.imp.WS2_32.dll_socket]
mov ebp, eax
mov dword [esp + 0x1c], ebp
cmp ebp, 0xffffffff
jne 0x487124
xor eax, eax
jmp 0x4871f6
push esi
push esi
lea eax, [esp + 0x18]
push eax
push 0x2600
lea eax, [esp + 0x30]
push eax
push esi
push esi
push 0x4004747f
push ebp
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov ecx, dword [esp + 0x10]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x4871ed
mov eax, ecx
push 0x4c
pop ecx
div ecx
mov ecx, eax
mov dword [esp + 0x10], ecx
test ecx, ecx
je 0x487180
lea eax, [esp + 0x28]
cmp dword [eax], 0x100007f
je 0x487178
inc edi
add eax, 0x4c
sub ecx, 1
jne 0x48716f
push 0x1ce
push 0x756910
push 1
shl edi, 4
push edi
call fcn.005f5ba0
add esp, 0x10
mov dword [ebx], eax
test eax, eax
je 0x48720f
mov eax, dword [esp + 0x10]
mov edi, esi
test eax, eax
je 0x4871ed
mov ebp, dword [esp + 0x18]
lea ebx, [esp + 0x24]
mov edx, esi
mov dword [esp + 0x14], edx
cmp dword [ebx + 4], 0x100007f
je 0x4871e1
mov ecx, dword [ebp]
push 0x10
push ebx
add ecx, edx
push 0x10
pop edx
call section..text
mov edx, dword [esp + 0x1c]
inc edi
mov eax, dword [esp + 0x18]
add edx, 0x10
pop ecx
pop ecx
mov dword [esp + 0x14], edx
inc esi
add ebx, 0x4c
cmp esi, eax
jb 0x4871b6
mov ebp, dword [esp + 0x1c]
push ebp
call dword [sym.imp.WS2_32.dll_closesocket]
mov eax, edi
mov ecx, dword [esp + 0x2620]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.005c0db0
add esp, 0x2614
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1ce
push esi
push edi
mov edx, 0x75692c
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x756948
push 0x756964
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x487248
Capabilities:
Get local ipv4 addresses
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov ebx, 0x272
mov eax, 0x178
push ebx
push 0x756988
push 1
push eax
mov ebp, ecx
mov dword [esp + 0x20], eax
xor edi, edi
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4873b2
mov ebx, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersAddresses]
lea eax, [esp + 0x10]
push eax
push esi
push edi
push 0x2a
push 0x17
call ebx
cmp eax, 0x6f
jne 0x4872ea
push 1
push esi
call fcn.005f5a60
push 0x276
push 0x756a00
push 1
push dword [esp + 0x24]
call fcn.005f5ba0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4872ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x276
push esi
push edi
mov edx, 0x756a1c
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x756a38
push 0x756a54
jmp 0x4873da
lea eax, [esp + 0x10]
push eax
push esi
push 0
push 0x2a
push 0x17
call ebx
test eax, eax
je 0x48730b
push 1
push esi
call fcn.005f5a60
xor eax, eax
jmp 0x4873aa
mov eax, esi
test esi, esi
je 0x48732b
cmp dword [eax + 0x34], 0
je 0x487324
test byte [eax + 0x38], 0x18
jne 0x487324
cmp dword [eax + 0x44], 1
jne 0x487324
inc edi
mov eax, dword [eax + 8]
test eax, eax
jne 0x487311
mov ebx, 0x28e
mov eax, edi
push ebx
push 0x756a78
shl eax, 2
push 1
push eax
call fcn.005f5ba0
mov edx, eax
add esp, 0x10
mov dword [ebp], edx
test edx, edx
jne 0x487379
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x756a94
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebx
push 0x756ab0
push 0x756acc
jmp 0x4873da
mov ecx, esi
test esi, esi
je 0x4873a0
cmp dword [ecx + 0x34], 0
je 0x487399
test byte [ecx + 0x38], 0x18
jne 0x487399
cmp dword [ecx + 0x44], 1
jne 0x487399
mov eax, dword [ecx + 4]
mov dword [edx], eax
add edx, 4
mov ecx, dword [ecx + 8]
test ecx, ecx
jne 0x48737f
push 1
push esi
call fcn.005f5a60
mov eax, edi
pop ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7569a4
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebx
push 0x7569c0
push 0x7569dc
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3
Function at 0x487464
Capabilities:
Terminate process

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, edx
mov esi, ecx
push edi
mov dword [esp + 0x10], ebp
call fcn.00487815
test eax, eax
je 0x487557
mov edi, dword [esi - 0xc]
xor eax, eax
mov ecx, dword [esi - 0x10]
cmp eax, edi
push 0xfffffffffffffff0
sbb eax, eax
mov dword [esp + 0x20], ecx
and eax, 0x10
xor edx, edx
add eax, 0x10
add eax, ecx
add eax, edi
cmp edx, edi
mov dword [esp + 0x1c], eax
sbb ebx, ebx
and ebx, 0x10
add ebx, 0x10
add ebx, edi
add ebx, ebp
pop ebp
cmp ebx, eax
jae 0x4874f1
test edi, edi
je 0x4874f1
mov eax, ecx
sub eax, dword [esp + 0x10]
test edi, edi
je 0x4874cc
lea edx, [ecx + esi]
mov dword [esp + 0x14], edx
jmp 0x4874d0
mov dword [esp + 0x14], ebp
test edi, edi
je 0x4874db
add ecx, 0x10
add ecx, esi
jmp 0x4874dd
xor ecx, ecx
lea edx, [edi + 0x10]
sub ecx, eax
push edx
push dword [esp + 0x18]
sub ecx, 0x10
call fcn.00469703
pop ecx
pop ecx
push 0x41a
push 0x756be4
push 1
lea eax, [esi - 0x10]
push ebx
push eax
call fcn.005f5d50
add esp, 0x14
test eax, eax
je 0x487561
lea esi, [eax + 0x10]
cmp ebx, dword [esp + 0x18]
jbe 0x48754c
test edi, edi
je 0x48754c
mov ecx, dword [esp + 0x10]
sub ecx, dword [esp + 0x1c]
mov eax, dword [esi - 0xc]
test eax, eax
je 0x48753d
mov ebp, dword [esi - 0x10]
add ebp, esi
test eax, eax
je 0x48753d
mov eax, dword [esi - 0x10]
add eax, ecx
lea ecx, [esi + 0x10]
add ecx, eax
lea edx, [edi + 0x10]
add ecx, 0xfffffff0
push edx
push ebp
call fcn.00469703
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
mov dword [esi - 0x10], eax
mov eax, esi
jmp 0x487559
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x41a
push esi
push edi
mov edx, 0x756c00
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x756c1c
push 0x756c38
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3

Function at 0x487604
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
test esi, esi
je 0x487676
mov edi, dword [esp + 0x10]
xor eax, eax
cmp eax, edi
sbb eax, eax
and eax, 0x10
add eax, 0x10
add eax, ebx
add eax, edi
push eax
push 0
push esi
call fcn.005c37d0
mov dword [esi], ebx
lea edx, [esi + 0x10]
mov dword [esi + 4], edi
add esp, 0xc
mov eax, dword [0x756cb8]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0xc], eax
test edi, edi
je 0x487670
cmp dword [edx - 0xc], 0
jbe 0x487657
mov eax, dword [edx - 0x10]
add eax, edx
jmp 0x48765a
push 0xfffffffffffffff0
pop eax
and dword [eax + 4], 0
mov dword [eax], edi
mov ecx, dword [0x756cc0]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], 2
pop edi
pop esi
mov eax, edx
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov edi, 0xfe
mov esi, 0x449
push edi
push esi
mov edx, 0x756c5c
xor ecx, ecx
call fcn.0048f95e
push esi
push 0x756c78
push 0x756c94
call fcn.00401109
add esp, 0x18
push edi
call fcn.005d0820
int3
Function at 0x4878dc
Capabilities:
Terminate process

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
mov ebx, ecx
mov eax, edi
not eax
cmp ebx, eax
jae 0x48795f
lea eax, [ebx + edi]
cmp eax, 0xfffffffb
jae 0x48795f
xor eax, eax
cmp eax, edi
push 0x4ec
sbb eax, eax
and eax, 4
push 0x756d64
push 1
lea ebp, [ebx + eax]
add ebp, edi
push ebp
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48798e
push ebp
push 0
push esi
call fcn.005c37d0
add esp, 0xc
test edi, edi
je 0x487942
mov ecx, dword [esp + 0x1c]
mov dword [esi + ebx], edi
test ecx, ecx
je 0x48794d
lea eax, [ebx + 4]
add eax, esi
mov dword [ecx], eax
jmp 0x48794d
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x48794d
and dword [eax], 0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x487957
mov dword [eax], esi
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4ea
push esi
push edi
mov edx, 0x756d08
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x756d24
push 0x756d40
jmp 0x4879bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x4ed
push esi
push edi
mov edx, 0x756d80
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x756d9c
push 0x756db8
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3

Function at 0x487e0f
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x788
mov esi, edx
push ebx
push 0x756f78
push 1
push 8
mov edi, ecx
call fcn.005f5ba0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x487e6a
xor ecx, ecx
mov dword [edx], edi
push ecx
push 0x78d
push 0x756ff8
mov dword [edx + 4], esi
mov eax, dword [0x756ff0]
push 0x487db7
push 0x487dc5
mov dword [esi + 0x1c], eax
push ecx
mov ecx, dword [edi + 0x500]
call fcn.0048d655
add esp, 0x18
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x756f94
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
push ebx
push 0x756fb0
push 0x756fcc
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x487f36
Capabilities:
Initialize winsock library
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x39c
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x398], eax
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
xor edi, edi
inc ebx
cmp dword [0x76a508], edi
jne 0x487fb8
push edi
push 0x40
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreA]
mov dword [0x76a510], eax
cmp dword [0x76a4e4], edi
je 0x487fb8
push 0x7c1
push 0x757030
push 0x76a510
push 0x75704c
lea eax, [esp + 0x1b0]
push 0x200
push eax
call fcn.0040117f
push ebx
push dword [0x76a514]
lea eax, [esp + 0x1c0]
push eax
call dword [0x76a4e4]
add esp, 0x24
inc dword [0x76a508]
lea eax, [esp + 0x10]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x488046
push edi
push edi
mov edx, esi
mov ecx, 0x540
call fcn.004878dc
pop ecx
pop ecx
push 8
pop ecx
mov esi, eax
call fcn.0048dec7
xor ecx, ecx
mov dword [esi + 0x50c], eax
call fcn.0048dec7
mov dword [esi + 0x510], eax
mov dword [esi], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push edi
push eax
mov dword [esi + 0x18], eax
call dword [sym.imp.dbghelp.dll_SymInitialize]
test eax, eax
jne 0x488017
mov dword [esi + 0x18], edi
mov ecx, esi
mov dword [esi], edi
call fcn.0048dce4
mov dword [esi + 0x500], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ecx, dword [esp + 0x3a4]
mov dword [esi + 0x14], eax
mov eax, esi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c0db0
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
mov esi, 0x7ca
mov edx, 0x757058
push esi
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push esi
push 0x757074
push 0x757090
call fcn.00401109
add esp, 0xc
push ebx
call fcn.005d0820
int3
Function at 0x489768
Capabilities:
Get socket status

Disassembly:
sub esp, 0x420
mov eax, dword [0x6d9d44]
xor eax, esp
mov dword [esp + 0x41c], eax
mov ecx, dword [ecx + 0x50c]
push ebp
push esi
push edi
call fcn.0048dfc9
xor ebp, ebp
mov dword [esp + 0xc], 0x5265c00
mov esi, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], ebp
mov edi, ebp
mov dword [esp + 0x14], ebp
test esi, esi
je 0x4898b9
push ebx
mov ecx, esi
call fcn.0048e018
mov ebx, eax
test ebx, ebx
je 0x4898b8
cmp dword [ebx], ebp
je 0x4898a7
lea eax, [esp + 0x10]
mov dword [esp + 0x328], ebp
push eax
lea eax, [esp + 0x124]
mov dword [esp + 0x124], ebp
push eax
lea eax, [esp + 0x22c]
mov dword [esp + 0x22c], ebp
push eax
lea eax, [esp + 0x334]
push eax
push ebx
call dword [ebx]
add esp, 0x14
lea edx, [esp + 0x328]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x48985d
inc ecx
cmp ecx, 0x41
jne 0x489807
lea edx, [esp + 0x224]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x48985d
inc ecx
cmp ecx, 0x41
jne 0x489826
lea edx, [esp + 0x120]
mov ecx, ebp
mov eax, dword [edx + ecx*4]
lea ebp, [esp + 0x1c]
cmp eax, dword [ebp + ecx*4]
push 0
pop ebp
jne 0x48985d
inc ecx
cmp ecx, 0x41
jne 0x489845
jmp 0x4898a7
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x22c]
push eax
lea eax, [esp + 0x334]
push eax
push 0x40
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4898a7
push dword [ebx + 0x18]
mov eax, 0x1000
sub eax, edi
push 0x7572a4
push eax
lea eax, [edi + 0x76f260]
push eax
call fcn.0040117f
add esp, 0x10
add edi, eax
mov ecx, esi
call fcn.0048dff3
mov esi, eax
test esi, esi
jne 0x4897ad
pop ebx
xor eax, eax
mov ecx, 0x76f260
test edi, edi
pop edi
cmovle ecx, eax
mov eax, 0x7572a8
test ecx, ecx
pop esi
cmovne eax, ecx
mov ecx, dword [esp + 0x420]
pop ebp
xor ecx, esp
call fcn.005c0db0
add esp, 0x420
ret
Function at 0x48a25b
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x18]
mov ebx, edx
push esi
push edi
mov edi, dword [esp + 0x18]
xor esi, esi
push edi
push esi
push ebp
push dword [esp + 0x28]
mov dword [esp + 0x20], ecx
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x48a2fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x48a2f7
push esi
push esi
push 0xe64
push 0x757504
push 1
push 0x30
call fcn.005f5ba0
add esp, 0x10
mov ecx, eax
push 0x20
pop edx
call fcn.00487604
mov ecx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x24]
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [esp + 0x34]
push eax
mov dword [esi], ecx
mov ecx, dword [esp + 0x34]
push esi
mov dword [esi + 0x18], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 8], ebp
mov dword [esi + 0x14], edi
mov dword [esi + 0x10], ebx
mov dword [esi + 0x1c], eax
mov edx, dword [edi + 0x10]
push fcn.0048a0ba
push 0xffffffffffffffff
call fcn.0048a8ba
add esp, 0x18
xor eax, eax
jmp 0x48a2ff
push 0xfffffffffffffffc
pop eax
jmp 0x48a2ff
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x48a3a7
Capabilities:
Read file on windows
Terminate process

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [esp + 0x18]
lea eax, [esp + 8]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
push ebp
push eax
push dword [esp + 0x30]
mov edi, edx
mov dword [esp + 0x1c], ecx
push ebx
xor esi, esi
push edi
mov dword [esp + 0x28], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x48a50d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x48a570
push esi
push esi
push 0xe9c
push 0x7575d0
push 1
push 0x28
call fcn.005f5ba0
add esp, 0x10
mov ecx, eax
push 0x18
pop edx
call fcn.00487604
pop ecx
pop ecx
mov ecx, dword [esp + 0x2c]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x34]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [eax], ebx
mov ebx, 0x400
mov dword [esp + 0x18], eax
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ecx
test edi, edi
jne 0x48a43c
mov eax, esi
jmp 0x48a445
push ebx
push edi
call fcn.005f8590
pop ecx
pop ecx
add eax, 0xa
cmp eax, 0xffffffff
jae 0x48a4ab
test edi, edi
jne 0x48a455
mov eax, esi
jmp 0x48a45e
push ebx
push edi
call fcn.005f8590
pop ecx
pop ecx
push 0xfffffffffffffff5
pop ecx
sub ecx, eax
je 0x48a4ab
test edi, edi
jne 0x48a46d
mov eax, esi
jmp 0x48a476
push ebx
push edi
call fcn.005f8590
pop ecx
pop ecx
add eax, 0xa
cmp eax, 0xffffffef
jae 0x48a4ab
test edi, edi
jne 0x48a486
mov eax, esi
jmp 0x48a48f
push ebx
push edi
call fcn.005f8590
pop ecx
pop ecx
push 0xea2
push 0x7575ec
add eax, 0x1a
push 1
push eax
call fcn.005f5ba0
add esp, 0x10
mov ebx, eax
jmp 0x48a4ad
mov ebx, esi
test edi, edi
jne 0x48a4b5
mov eax, esi
jmp 0x48a4c2
push 0x400
push edi
call fcn.005f8590
pop ecx
pop ecx
push esi
push esi
lea edx, [eax + 0xa]
mov ecx, ebx
call fcn.00487604
test edi, edi
mov ecx, 0x76a4d7
mov esi, eax
cmovne ecx, edi
push ecx
push 0x757608
push dword [esi - 0x10]
push esi
call fcn.0040117f
mov edx, dword [ebp + 0x10]
mov ecx, dword [esp + 0x28]
push esi
push dword [esp + 0x34]
push 0x48a189
push 0xffffffffffffffff
call fcn.0048a8ba
add esp, 0x28
mov ecx, esi
call fcn.004876b9
jmp 0x48a58a
cmp dword [esp + 0x14], esi
jbe 0x48a570
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x48a58a
push 0xeb3
push 0x757614
push 1
push 0x18
call fcn.005f5ba0
mov ecx, eax
add esp, 0x10
test ecx, ecx
je 0x48a592
mov eax, dword [esp + 0x30]
mov dword [ecx + 0x10], eax
mov dword [ecx], ebx
mov dword [ecx + 4], ebp
mov dword [ecx + 8], edi
mov eax, dword [esp + 0x14]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x48a558
mov esi, dword [eax + 0x10]
push ecx
mov dword [ecx + 0x14], esi
mov edx, 0x48a305
mov ecx, dword [esp + 0x14]
push 1
call fcn.00487d40
pop ecx
pop ecx
jmp 0x48a58a
cmp dword [esp + 0x2c], esi
je 0x48a58a
push dword [esp + 0x30]
push esi
push ebx
push 5
push edi
push dword [esp + 0x24]
call dword [esp + 0x44]
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0xeb3
push esi
push edi
mov edx, 0x757630
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x75764c
push 0x757668
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3
Function at 0x48a69e
Capabilities:
Read file on windows

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebx, ebx
mov dword [esp + 8], edx
push esi
push edi
cmp dword [esp + 0x30], ebx
jne 0x48a6b8
mov eax, ebx
mov dword [esp + 0x14], ebx
jmp 0x48a6cc
push 0x400
push dword [esp + 0x34]
call fcn.005f8590
pop ecx
pop ecx
mov dword [esp + 0x14], eax
lea esi, [eax + 0x1c]
cmp esi, 0xffffffff
jae 0x48a6fa
push 0xffffffffffffffe3
pop ecx
sub ecx, eax
je 0x48a6fa
cmp esi, 0xffffffef
jae 0x48a6fa
push 0xee8
push 0x7576a8
add eax, 0x2c
push 1
push eax
call fcn.005f5ba0
add esp, 0x10
jmp 0x48a6fc
mov eax, ebx
push ebx
push ebx
mov edx, esi
mov ecx, eax
call fcn.00487604
pop ecx
pop ecx
push ebx
push ebx
push 0xee9
push 0x7576c4
push 1
push 0x28
mov ebp, eax
call fcn.005f5ba0
add esp, 0x10
mov ecx, eax
push 0x18
pop edx
call fcn.00487604
mov edi, dword [esp + 0x24]
mov ebx, eax
mov esi, dword [esp + 0x28]
pop ecx
pop ecx
push edi
push 0
push dword [esp + 0x2c]
push esi
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReadFile]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x30], 0
mov dword [ebx + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x10], eax
mov dword [ebx], esi
mov dword [ebx + 0xc], edi
mov dword [ebx + 4], fcn.0046b1af
mov eax, dword [edi + 0x10]
mov dword [ebp], eax
mov eax, 0x76a4f4
cmovne eax, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x18]
add eax, 8
mov dword [ebp + 8], ebx
push str._s__READ_
push eax
lea eax, [ebp + 0x14]
mov dword [ebp + 4], 0x48a189
push eax
call fcn.0040117f
add esp, 0x10
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x48b165
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
mov ebx, 0x14a7
mov edi, edx
push ebx
push 0x757a48
push 1
push 8
mov esi, ecx
call fcn.005f5ba0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x48b196
mov eax, dword [esi]
mov dword [edx], edi
pop edi
mov dword [esi], edx
pop esi
mov dword [edx + 4], eax
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x757a64
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
push ebx
push 0x757a80
push 0x757a9c
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3

Function at 0x48b232
Capabilities:
Terminate process

Disassembly:
push esi
push edi
mov edi, 0x1516
mov esi, ecx
push edi
push 0x757ac0
push 1
push 4
call fcn.005f5ba0
mov edx, eax
add esp, 0x10
test edx, edx
je 0x48b25c
mov eax, dword [esi]
pop edi
mov dword [edx], eax
mov eax, edx
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x757adc
push esi
push edi
xor ecx, ecx
call fcn.0048f95e
push edi
push 0x757af8
push 0x757b14
call fcn.00401109
add esp, 0x18
push esi
call fcn.005d0820
int3

Function at 0x48b30b
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, ecx
push esi
push edi
test ebx, ebx
je 0x48b35c
cmp dword [ebx - 0x10], 0x2c
jbe 0x48b355
push 0x10
pop edx
call fcn.004878c7
push 0x1c
pop edx
mov esi, eax
call fcn.004878c7
mov edx, eax
test esi, esi
je 0x48b40b
test edx, edx
je 0x48b40b
xor eax, eax
mov edi, edx
push 7
pop ecx
rep stosd dword es:[edi], eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi + 8], ebx
jmp 0x48b3fc
xor eax, eax
jmp 0x48b407
mov edi, 0x1583
push edi
push 0x757b94
push 1
push 0x10
call fcn.005f5ba0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x48b3a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x757bb0
push esi
push edi
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x757bcc
push 0x757be8
jmp 0x48b438
mov edi, 0x1584
push edi
push 0x757c0c
push 1
push 0x1c
call fcn.005f5ba0
mov edx, eax
add esp, 0x10
test edx, edx
jne 0x48b3ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x757c28
push esi
push edi
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x757c44
push 0x757c60
jmp 0x48b438
xor eax, eax
mov edi, edx
push 7
pop ecx
rep stosd dword es:[edi], eax
mov edi, esi
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [esi], edx
test ebx, ebx
jne 0x48b405
mov dword [esi + 0xc], ebx
mov eax, esi
pop edi
pop esi
pop ebx
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edi, 0x1577
push esi
push edi
mov edx, 0x757b38
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push edi
push 0x757b54
push 0x757b70
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d0820
int3