joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e270
Capabilities:
Access peb ldr_data
Enumerate pe sections
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x475048
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0
mov esi, ecx
push 0x2e
lea ecx, [esp + 0x1c]
call fcn.0041f7c0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x30]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x34], 0
call fcn.00422d70
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
mov dx, word [eax + 4]
mov word [esi + 8], dx
mov cx, word [eax + 6]
mov word [esi + 0xa], cx
mov dx, word [eax + 8]
mov word [esi + 0xc], dx
mov cx, word [eax + 0xa]
mov word [esi + 0xe], cx
mov dx, word [eax + 0xc]
mov word [esi + 0x10], dx
mov cx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
mov cx, word [eax + 0x20]
mov dx, word [eax + 0x22]
mov bx, word [eax + 0x1c]
mov bp, word [eax + 0x1e]
mov word [esi + 0x20], dx
mov word [esp + 0x30], cx
mov cx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x14]
mov dword [esi + 0x28], eax
call fcn.0041f600
mov edx, dword [esi + 4]
mov ecx, 0x4978f8
cmp edx, dword [ecx]
je 0x41e36c
lea ecx, [esp + 0x14]
mov dword [esp + 0x28], 0xffffffff
call fcn.0041f7f0
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
mov eax, dword [edi + 0x50]
movzx ebx, bx
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x18], eax
call fcn.0041f630
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00422d70
test bp, bp
je 0x41e3b0
movzx ebx, bp
push 0
push ebx
lea ecx, [esi + 0x2c]
call fcn.0041f630
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.00422d70
mov eax, dword [esp + 0x30]
test ax, ax
je 0x41e3d5
movzx ebx, ax
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.0041f630
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.00422d70
mov ecx, dword [esp + 0x10]
cmp dword [edi + 0x50], ecx
lea ecx, [esp + 0x14]
sete bl
mov dword [esp + 0x28], 0xffffffff
call fcn.0041f7f0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 4
Function at 0x41f8d0
Capabilities:
Read file via mapping

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
je 0x41f8fa
push str.ZipArchive_Mapping_File
push 0
push 0
push 4
push 0
call fcn.0041f420
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi], eax
jne 0x41f900
xor al, al
pop esi
ret 4
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
xor ecx, ecx
test eax, eax
mov dword [esi + 4], eax
setne cl
mov al, cl
pop esi
ret 4

Function at 0x420800
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x475188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov ebx, ecx
mov eax, dword [ebx + 0x10]
push edi
lea ebp, [eax + 0x16]
push 0
push ebp
lea ecx, [esp + 0x18]
call fcn.0041f7c0
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 0x10]
mov edx, dword [0x49792c]
mov dword [ecx], edx
mov cx, word [ebx + 0x6c]
mov edx, dword [esp + 0x14]
mov word [edx + 4], cx
mov cx, word [ebx + 0x6e]
mov edx, dword [esp + 0x14]
mov word [edx + 6], cx
mov cx, word [ebx + 0x70]
mov edx, dword [esp + 0x14]
mov word [edx + 8], cx
mov cx, word [ebx + 0x72]
mov edx, dword [esp + 0x14]
mov word [edx + 0xa], cx
mov ecx, dword [ebx + 0x74]
mov edx, dword [esp + 0x14]
mov dword [edx + 0xc], ecx
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov word [ecx + 0x14], ax
mov edi, dword [esp + 0x14]
mov esi, dword [ebx + 0xc]
movzx ecx, ax
mov edx, ecx
shr ecx, 2
add edi, 0x16
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
push 1
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 0x24]
push ebp
push eax
mov dword [esp + 0x30], 0
call fcn.004225f0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.0041f7f0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x422e40
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x422f80
Capabilities:
Delete file

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x422fa4
mov al, byte [esp + 0xc]
test al, al
je 0x422fa0
push esi
push 0x71
call fcn.0041b9e0
xor al, al
pop esi
ret
mov al, 1
pop esi
ret

Function at 0x423010
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x475558
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push eax
lea ecx, [esp + 0xc]
call fcn.0041c0f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0
call fcn.00422fe0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
mov eax, dword [esp + 4]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42307a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.00423300
mov ecx, dword [esp + 0x20]
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4230a0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x475580
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
mov eax, dword [esp + 0x40]
push ebx
push esi
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.0041c0f0
lea ecx, [esp + 0xc]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x48], ebx
call fcn.00422fe0
mov edi, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
push edi
mov byte [esp + 0x58], 1
call esi
test eax, eax
jne 0x423182
push 0x47a584
lea ecx, [esp + 0x10]
call fcn.0041cdf0
push 0x5c
lea ecx, [esp + 0x10]
call fcn.0041c780
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push edi
call esi
test eax, eax
jne 0x423182
lea eax, [edi - 0x10]
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42315d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.00423300
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret
mov esi, dword [esp + 0x14]
imul esi, dword [esp + 0x18]
imul esi, dword [esp + 0x1c]
lea eax, [edi - 0x10]
mov dword [esp + 0x10], ebx
mov byte [esp + 0x44], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4231b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x24]
mov dword [esp + 0x44], 0xffffffff
call fcn.00423300
mov ecx, dword [esp + 0x3c]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x3c
ret

Function at 0x4231e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4755a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [esp + 0x2c]
push ebx
push esi
push eax
lea ecx, [esp + 0x10]
call fcn.0041c0f0
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.00422fe0
push 0x47a584
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 1
call fcn.0041cdf0
push 0x5c
lea ecx, [esp + 0xc]
call fcn.0041c780
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 8]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelA]
test eax, eax
lea eax, [esi - 0x10]
setne bl
mov byte [esp + 0x2c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x423270
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00423300
mov ecx, dword [esp + 0x24]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x4232a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x4232b9
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.00460cda
add esp, 4
mov edi, eax
push edi
push esi
mov bl, 1
call ebp
test eax, eax
jne 0x4232e2
push edi
xor bl, bl
call fcn.00460cd5
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.00407470
push edi
call fcn.00460cd5
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
ret
Function at 0x429372
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4756ea
call fcn.0043c964
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], 0x47e598
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x3c]
push eax
mov ecx, ebx
mov dword [ebp - 4], 4
call fcn.004298f9
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0042bb88
jmp 0x4293c8
lea ecx, [ebp - 0x10]
call fcn.00429910
push dword [eax + 4]
mov ecx, esi
call fcn.00428c0e
lea ecx, [ebp - 0x10]
call fcn.00429915
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0042af0a
test al, al
jne 0x4293ae
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.004290e9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp - 0x14]
cmp eax, 0x1388
jae 0x42940c
mov ecx, ebx
call fcn.004297d6
test al, al
je 0x4293e4
mov ecx, esi
call fcn.00428d06
push 0x7d0
push esi
call fcn.0042c9d1
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.004298f9
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.0042bb88
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042af0a
pop edi
jmp 0x42947a
lea ecx, [ebp - 0x10]
call fcn.00429910
mov eax, dword [eax + 4]
test eax, eax
je 0x429466
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [ebp - 0x10]
call fcn.00429915
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042af0a
test al, al
jne 0x42944f
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.0042b916
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0042a2eb
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0042ad6d
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.0042ad72
mov ecx, esi
call fcn.00428a88
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x429380
Capabilities:
Get number of processors

Disassembly:
mov eax, 0x4756ea
call fcn.0043c964
sub esp, 0x10
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [esi], 0x47e598
lea eax, [ebp - 0x10]
lea ebx, [esi + 0x3c]
push eax
mov ecx, ebx
mov dword [ebp - 4], 4
call fcn.004298f9
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.0042bb88
jmp 0x4293c8
lea ecx, [ebp - 0x10]
call fcn.00429910
push dword [eax + 4]
mov ecx, esi
call fcn.00428c0e
lea ecx, [ebp - 0x10]
call fcn.00429915
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
call fcn.0042af0a
test al, al
jne 0x4293ae
push edi
mov edi, dword [sym.imp.WINMM.dll_timeGetTime]
call edi
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
mov ecx, esi
call fcn.004290e9
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call edi
sub eax, dword [ebp - 0x14]
cmp eax, 0x1388
jae 0x42940c
mov ecx, ebx
call fcn.004297d6
test al, al
je 0x4293e4
mov ecx, esi
call fcn.00428d06
push 0x7d0
push esi
call fcn.0042c9d1
pop ecx
pop ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, ebx
call fcn.004298f9
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
call fcn.0042bb88
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042af0a
pop edi
jmp 0x42947a
lea ecx, [ebp - 0x10]
call fcn.00429910
mov eax, dword [eax + 4]
test eax, eax
je 0x429466
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [ebp - 0x10]
call fcn.00429915
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.0042af0a
test al, al
jne 0x42944f
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 3
call fcn.0042b916
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.0042a2eb
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 1
call fcn.0042ad6d
lea ecx, [esi + 8]
mov byte [ebp - 4], 0
call fcn.0042ad72
mov ecx, esi
call fcn.00428a88
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x42b9b2
Capabilities:
Initialize winsock library

Disassembly:
mov eax, 0x4758cc
call fcn.0043c964
sub esp, 0x198
mov eax, dword [0x498f70]
push esi
mov esi, ecx
mov dword [ebp - 0x10], eax
push edi
mov dword [ebp - 0x1a4], esi
call fcn.0042add1
xor eax, eax
lea ecx, [esi + 0x3c]
mov dword [ebp - 4], eax
mov dword [esi], 0x47e99c
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], eax
call fcn.0042c5e8
push 0x40
pop ecx
xor eax, eax
lea edi, [esi + 0x48]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, esi
call fcn.0042b3bc
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
mov eax, esi
pop esi
call fcn.0043cb5e
leave
ret
Function at 0x42c630
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
xor esi, esi
test eax, eax
jle 0x42c698
movzx eax, word [esp + 0x10]
movzx ecx, byte [esp + 0x14]
push ebx
lea eax, [eax + eax*4]
shl eax, 1
add ecx, eax
push ebp
push edi
lea edi, [ecx + ecx*4]
movzx ecx, byte [esp + 0x24]
add ecx, eax
lea ebp, [ecx + ecx*4]
mov ecx, dword [esp + 0x14]
shl edi, 3
shl ebp, 3
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov bl, byte [ecx]
mov al, byte [edx + edi + 0x47ee30]
xor bl, al
mov byte [ecx], bl
mov dl, byte [edx + ebp + 0x47ee30]
mov al, bl
xor dl, al
mov eax, dword [esp + 0x18]
mov byte [ecx], dl
inc ecx
inc esi
cmp esi, eax
jl 0x42c666
pop edi
pop ebp
pop ebx
pop esi
ret 0x14

Function at 0x42c840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
xor esi, esi
test ebp, ebp
jle 0x42c89b
movzx eax, word [esp + 0x14]
movzx ecx, byte [esp + 0x18]
lea eax, [eax + eax*4]
push ebx
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x10]
push edi
lea edi, [eax + eax*4]
shl edi, 3
jmp 0x42c870
xor edx, edx
mov eax, esi
mov ebx, 0x28
div ebx
mov al, byte [ecx]
mov dl, byte [edx + edi + 0x47ee30]
xor dl, al
mov al, dl
sar al, 7
and al, 1
shl dl, 1
or al, dl
mov byte [ecx], al
inc ecx
inc esi
cmp esi, ebp
jl 0x42c870
pop edi
pop ebx
pop esi
pop ebp
ret 0x10
Function at 0x42df80
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 4]
push esi
push 0
push 0
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42dfa6
xor eax, eax
pop esi
ret
push edi
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret

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

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42e003
xor al, al
ret
shr al, 4
and al, 1
ret
Function at 0x4305a3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
je 0x4305f6
call fcn.004703ef
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebx
je 0x4305f6
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x4305ec
xor eax, eax
jmp 0x43070f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], ebx
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], 1
je 0x430626
mov eax, dword [esi]
push edi
push dword [ebp - 4]
mov ecx, esi
push ebx
call dword [eax + 0x1c]
cmp dword [ebp - 8], 0
mov dword [ebp - 0xc], eax
je 0x430626
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x43070c
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x430653
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0041b8e0
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x43070c
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x43069c
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x43069c
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x430696
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0041b8e0
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x4306fc
and dword [ebp + 0xc], 0
jmp 0x4306fc
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x4306fc
push 0xc
call fcn.00460caa
mov esi, eax
test esi, esi
pop ecx
je 0x4306de
mov eax, dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x1c]
add eax, edx
push dword [eax]
mov edi, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
and dword [esi + 4], 0
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x10]
mov dword [esi], eax
jmp 0x4306e0
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x4306f7
push dword [ebp - 8]
call fcn.004606eb
jmp 0x4306fc
call fcn.004606c2
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x430661
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x4392ed
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 4
pop eax
call fcn.004392b0
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x439388
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x48]
mov eax, dword [0x49eb38]
lea edi, [ecx - 1]
not edi
and edi, esi
sub edi, ecx
mov esi, eax
dec esi
neg esi
sbb esi, esi
and esi, 0xfffffff1
add esi, 0x11
imul esi, ecx
add esi, ebx
cmp edi, esi
mov dword [ebp - 8], ecx
jb 0x439388
cmp eax, 1
je 0x4393a9
mov dword [ebp - 4], ebx
mov ebx, 0x1000
push 0x1c
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x439388
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x439355
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x439384
xor eax, eax
inc eax
jmp 0x4393c8
cmp edi, eax
jae 0x43938c
xor eax, eax
jmp 0x4393c8
cmp eax, esi
jae 0x439393
mov dword [ebp - 4], esi
push 4
push ebx
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x49eb38]
jmp 0x4393ac
mov dword [ebp - 4], edi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 0xc]
push ecx
inc eax
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x58]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43b0af
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x43b0cc
call fcn.0043c2a0
mov dword [eax], 0x16
xor eax, eax
jmp 0x43b136
push esi
push 0x8c
push 1
call fcn.0043dcb6
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x43b121
push esi
call fcn.0043e641
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x43b0ff
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x43b01a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x43b135
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.004395ae
test ebx, ebx
pop ecx
je 0x43b133
push ebx
call fcn.0043c2b2
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43b46e
Capabilities:
Terminate process

Disassembly:
push 8
push 0x483798
call fcn.0043ccbc
push 8
call fcn.0043ed58
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x49eb78], esi
jne 0x43b4a2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x49eb74], esi
mov al, byte [ebp + 0x10]
mov byte [0x49eb70], al
cmp dword [ebp + 0xc], edi
jne 0x43b4ec
cmp dword [0x4a0570], edi
je 0x43b4dc
mov eax, dword [0x4a056c]
sub eax, 4
mov dword [0x4a056c], eax
cmp eax, dword [0x4a0570]
jb 0x43b4dc
mov eax, dword [eax]
cmp eax, edi
je 0x43b4bd
call eax
jmp 0x43b4bd
push 0x4940bc
mov eax, 0x4940b4
call fcn.0043b3ec
pop ecx
push 0x4940c8
mov eax, 0x4940c0
call fcn.0043b3ec
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x43b51d
cmp dword [ebp + 0x10], edi
jne 0x43b52b
mov dword [0x49eb78], esi
push dword [ebp + 8]
call fcn.0043b3aa
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x43b52a
push 8
call fcn.0043eca3
pop ecx
ret
call fcn.0043ccf7
ret