joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100150b1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
sub esp, 0x404
lea ebp, [esp - 4]
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp + 0x404], eax
push 0x20
mov eax, 0x10027daa
call fcn.100195b0
mov edi, ecx
mov eax, dword [ebp + 0x414]
mov esi, dword [ebp + 0x410]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x418]
mov dword [ebp - 0x14], eax
call dword [0x1002f7ec]
xor ebx, ebx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp], ebx
cmp esi, ebx
mov byte [ebp - 4], 1
je 0x1001516b
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
push 2
push eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10012470
add esp, 0xc
test eax, eax
jl 0x1001516b
mov edi, dword [ebp - 0x24]
cmp edi, 0x400
jg 0x10015153
push edi
call fcn.10012ffb
test al, al
pop ecx
je 0x10015153
mov eax, edi
call fcn.1001a0d0
mov dword [ebp - 0x10], esp
mov eax, esp
jmp 0x1001515c
push edi
lea ecx, [ebp - 0x20]
call fcn.1001328e
push dword [ebp - 0x1c]
push edi
push esi
push eax
call fcn.10012551
cmp eax, ebx
jne 0x100151b0
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1001517b
lea ecx, [ebp]
call fcn.10012d88
lea ecx, [ebp - 0x20]
call fcn.10012cbf
mov eax, 0x8007000e
lea esp, [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.10016eca
add ebp, 0x408
leave
ret 0x10
push 2
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x1c], edi
jne 0x100151cf
call fcn.10012662
mov esi, eax
jmp 0x10015292
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
cmp esi, ebx
jne 0x100151ec
call fcn.10012662
jmp 0x10015287
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x100151e2
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
mov dword [ebp - 0x18], esi
jae 0x10015233
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x1001521f
lea ecx, [ebp]
call fcn.10012d88
mov esi, 0x8007000e
lea ecx, [ebp - 0x20]
call fcn.10012cbf
mov eax, esi
jmp 0x10015188
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 2
call fcn.100140fc
mov dword [ebp - 4], 1
jmp 0x10015254
cmp dword [ebp], ebx
jne 0x10015260
mov esi, 0x8007000e
jmp 0x10015289
push esi
push dword [ebp - 0x14]
push esi
push dword [ebp]
call fcn.100125ea
mov eax, dword [ebp]
add esp, 0x10
push dword [ebp + 0x41c]
mov byte [eax + esi], bl
push dword [ebp]
lea ecx, [ebp - 0x2c]
call fcn.10014e9b
mov esi, eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp + 4]
cmp dword [ebp], eax
je 0x10015224
lea ecx, [ebp]
call fcn.10012d88
jmp 0x10015224
Function at 0x10015d85
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1002f810]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x94
lea eax, [ebp - 0x98]
push 0
push eax
call fcn.10016e50
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x10015dd6
cmp dword [ebp - 0x94], 6
jne 0x10015dd6
mov al, 1
jmp 0x10015dd8
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10016eca
leave
ret

Function at 0x10016eca
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1002f810]
jne 0x10016ed4
repz ret
jmp fcn.1001b80b

Function at 0x10023bb5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1001c471
xor ebx, ebx
cmp dword [0x100321fc], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10023c8a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10023bf5
xor eax, eax
jmp 0x10023d4e
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10023bee
push eax
call fcn.1001c40e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x100321fc], eax
call esi
push eax
call fcn.1001c40e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10032200], eax
call esi
push eax
call fcn.1001c40e
mov dword [0x10032204], eax
lea eax, [ebp - 8]
push eax
call fcn.100201a8
test eax, eax
pop ecx
pop ecx
je 0x10023c58
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001a896
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10023c8a
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.1001c40e
cmp eax, ebx
pop ecx
mov dword [0x1003220c], eax
je 0x10023c8a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001c40e
pop ecx
mov dword [0x10032208], eax
mov eax, dword [0x10032208]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10023d03
cmp dword [0x1003220c], esi
je 0x10023d03
push eax
call fcn.1001c47a
pop ecx
call eax
cmp eax, ebx
je 0x10023cd0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1003220c]
call fcn.1001c47a
pop ecx
call eax
test eax, eax
je 0x10023cd0
test byte [ebp - 0x18], 1
jne 0x10023d03
lea eax, [ebp - 0xc]
push eax
call fcn.100201df
test eax, eax
pop ecx
je 0x10023ceb
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1001a896
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10023cfa
or dword [ebp + 0x10], 0x200000
jmp 0x10023d34
or dword [ebp + 0x10], 0x40000
jmp 0x10023d34
mov eax, dword [0x10032200]
cmp eax, esi
je 0x10023d34
push eax
call fcn.1001c47a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10023d34
mov eax, dword [0x10032204]
cmp eax, esi
je 0x10023d34
push dword [ebp - 4]
push eax
call fcn.1001c47a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x100321fc]
call fcn.1001c47a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403ee0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
cmp dword [ecx + 0x38], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x403fc6
mov esi, dword [ebp + 0x10]
mov ebx, esi
mov edx, dword [ebp + 0xc]
mov edi, edx
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
test esi, esi
jl 0x403fb5
jg 0x403f20
test edx, edx
je 0x403fb5
nop dword [eax]
call fcn.004053b0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x403f74
jg 0x403f37
test esi, esi
je 0x403f74
cmp ebx, eax
jg 0x403f47
jl 0x403f41
cmp edi, esi
jae 0x403f47
mov esi, edi
mov dword [esp + 0x14], ebx
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
push esi
push eax
mov eax, dword [ecx + 0x20]
push dword [eax]
call fcn.00435440
mov ecx, dword [esp + 0x18]
add esp, 0xc
sub edi, esi
sbb ebx, dword [esp + 0x14]
mov eax, dword [ecx + 0x30]
sub dword [eax], esi
mov eax, dword [ecx + 0x20]
add dword [eax], esi
jmp 0x403f99
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx]
movzx eax, byte [eax]
push eax
call dword [edx + 0xc]
cmp eax, 0xffffffff
je 0x403faf
mov ecx, dword [esp + 0xc]
add edi, 0xffffffff
mov esi, 1
adc ebx, 0xffffffff
add dword [esp + 0x10], esi
test ebx, ebx
jg 0x403f20
jl 0x403faf
test edi, edi
jne 0x403f20
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
sub edx, edi
mov eax, edx
sbb esi, ebx
mov edx, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ecx + 0x20]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x18], esi
mov eax, dword [eax]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403fe8
mov eax, dword [ecx + 0x30]
mov eax, dword [eax]
jmp 0x403fea
xor eax, eax
cdq
mov ebx, eax
mov eax, edx
mov dword [esp + 0x14], eax
test edi, edi
jl 0x404068
jg 0x403ffd
test esi, esi
je 0x404068
test eax, eax
jl 0x40404c
jg 0x404007
test ebx, ebx
je 0x40404c
cmp edi, eax
jg 0x404017
jl 0x404011
cmp esi, ebx
jae 0x404017
mov ebx, esi
mov dword [esp + 0x14], edi
push ebx
push dword [ebp + 8]
push dword [esp + 0x18]
call fcn.00435440
mov ecx, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [ebp + 8]
sub esi, ebx
sbb edi, dword [esp + 0x14]
add edx, ebx
mov eax, dword [ecx + 0x30]
sub dword [eax], ebx
mov eax, dword [ecx + 0x20]
add dword [eax], ebx
test edi, edi
jl 0x404068
jg 0x40404f
test esi, esi
je 0x404068
jmp 0x40404f
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x4c]
test eax, eax
je 0x404068
push eax
push esi
push 1
push edx
call fcn.004395e0
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x404080
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0xc], edi
test eax, eax
jg 0x4040b2
jl 0x4040a5
test ecx, ecx
jne 0x4040b2
xor eax, eax
xor edx, edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebx + 0x38], 0
je 0x404172
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], eax
mov ecx, ebx
call fcn.004053d0
mov esi, eax
mov eax, edx
mov dword [esp + 0x14], eax
test eax, eax
jl 0x40411e
jg 0x4040dd
test esi, esi
je 0x40411e
mov ecx, dword [esp + 0xc]
cmp ecx, eax
jg 0x4040f5
mov eax, dword [esp + 0x10]
jl 0x4040ef
cmp eax, esi
jae 0x4040f5
mov esi, eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebx + 0x1c]
push esi
push dword [eax]
push edi
call fcn.00435440
mov eax, dword [ebx + 0x2c]
add esp, 0xc
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
sub ecx, esi
sbb edx, dword [esp + 0x14]
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
jmp 0x40413f
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x1c]
mov edx, dword [esp + 0xc]
cmp eax, 0xffffffff
je 0x40415b
mov ecx, dword [esp + 0x10]
mov esi, 1
add ecx, 0xffffffff
mov byte [edi], al
adc edx, 0xffffffff
add edi, esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
test edx, edx
jg 0x4040c4
jl 0x40415b
test ecx, ecx
jne 0x4040c4
mov eax, dword [ebp + 0xc]
sub eax, dword [esp + 0x10]
mov ecx, dword [ebp + 0x10]
sbb ecx, edx
mov edx, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x1c]
mov edi, ecx
mov edx, dword [eax]
test edx, edx
je 0x4041b1
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
test eax, eax
je 0x4041b1
mov edi, dword [esp + 0xc]
cmp eax, ecx
mov esi, ecx
cmovb esi, eax
push esi
push edx
push edi
call fcn.00435440
mov eax, dword [ebx + 0x2c]
add edi, esi
mov dword [esp + 0x18], edi
add esp, 0xc
mov edi, dword [ebp + 0xc]
sub edi, esi
sub dword [eax], esi
mov eax, dword [ebx + 0x1c]
add dword [eax], esi
cmp dword [ebx + 0x4c], 0
mov ecx, edi
je 0x404220
mov esi, dword [ebx + 0xc]
lea eax, [ebx + 0x3c]
cmp dword [esi], eax
jne 0x4041d7
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x50]
sub edx, ecx
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
mov dword [eax], ecx
mov eax, dword [ebx + 0x2c]
mov dword [eax], edx
mov esi, dword [esp + 0xc]
mov ecx, edi
cmp edi, 0xfff
jbe 0x404209
push dword [ebx + 0x4c]
push 0xfff
push 1
push esi
call fcn.00439e93
sub edi, eax
add esp, 0x10
add esi, eax
mov ecx, edi
cmp eax, 0xfff
jne 0x404234
cmp edi, eax
ja 0x4041e5
test ecx, ecx
je 0x404220
push dword [ebx + 0x4c]
push edi
push 1
push esi
call fcn.00439e93
mov ecx, edi
add esp, 0x10
sub ecx, eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, ecx
sbb edx, 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
sub eax, edi
pop edi
pop esi
sbb edx, 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4045a0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x476050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x4045d0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x40460c
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x40460c
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4046f4
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x404634
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x404667
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.00438904
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x25], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x25]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x4046c7
sub eax, 1
je 0x4046c7
sub eax, 2
jne 0x4046f4
push dword [esi + 0x4c]
movsx eax, byte [ebp - 0x25]
push eax
call fcn.00438904
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4046e4
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004395e0
add esp, 0x10
cmp edi, eax
jne 0x4046f4
lea eax, [ebp - 0x25]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x4045f7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 4
Function at 0x4050e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x476050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x40519a
cmp byte [esi + 0x3d], 0
je 0x40519a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x405188
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x405150
sub eax, 1
je 0x405154
sub eax, 2
jne 0x405188
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x405171
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.004395e0
add esp, 0x10
cmp edi, eax
jne 0x405188
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00433ba1
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00433ba1
mov esp, ebp
pop ebp
ret

Function at 0x405450
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a8f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x476050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
push 8
mov dword [eax], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00433baf
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00432a1f
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
lea edi, [eax + 0x14]
lea ecx, [eax + 0x18]
lea edx, [eax + 0x24]
mov dword [eax + 0x34], esi
lea ebx, [eax + 4]
mov dword [eax + 0xc], ebx
lea esi, [eax + 8]
mov dword [eax + 0x10], esi
mov dword [eax + 0x1c], edi
mov dword [eax + 0x20], ecx
mov dword [eax + 0x2c], edx
add eax, 0x28
mov dword [ebp - 0x14], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x14]
mov dword [esi], 0
mov dword [ecx], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [ebx], 0
mov dword [edi], 0
mov dword [edx], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410e90
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x476050]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push edi
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov edi, ecx
push eax
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi], 0x67452301
mov dword [edi + 4], 0xefcdab89
mov dword [edi + 8], 0x98badcfe
mov dword [edi + 0xc], 0x10325476
call fcn.00410de0
xor edx, edx
lea ecx, [edi + 0x12]
movzx eax, byte [ecx - 2]
lea ecx, [ecx + 4]
mov byte [ebp + edx - 0xc], al
movzx eax, byte [ecx - 5]
mov byte [ebp + edx - 0xb], al
movzx eax, byte [ecx - 4]
mov byte [ebp + edx - 0xa], al
movzx eax, byte [ecx - 3]
mov byte [ebp + edx - 9], al
add edx, 4
cmp edx, 8
jb 0x410ee5
mov edx, dword [edi + 0x10]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
push esi
cmovae eax, ecx
mov ecx, edi
push eax
push 0x476af0
call fcn.00410de0
push 8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.00410de0
lea ecx, [edi + 0x5a]
mov esi, 4
lea edx, [edi + 2]
movzx eax, byte [edx - 2]
lea edx, [edx + 4]
mov byte [ecx - 2], al
lea ecx, [ecx + 4]
movzx eax, byte [edx - 5]
mov byte [ecx - 5], al
movzx eax, byte [edx - 4]
mov byte [ecx - 4], al
movzx eax, byte [edx - 3]
mov byte [ecx - 3], al
sub esi, 1
jne 0x410f53
push 0x58
push esi
push edi
call fcn.004359d0
add esp, 0xc
nop word [eax + eax]
movzx eax, byte [edi + esi + 0x58]
push eax
push str._02x
lea eax, [edi + 0x68]
lea eax, [eax + esi*2]
push 4
push eax
call fcn.0040bb00
inc esi
add esp, 0x10
cmp esi, 0x10
jl 0x410f90
mov edx, dword [ebp + 0x1c]
pop esi
cmp edx, 0x10
jb 0x410fe3
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410fd9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410ff7
push edx
push ecx
call fcn.00433bdf
add esp, 8
mov ecx, dword [ebp - 4]
lea eax, [edi + 0x68]
xor ecx, ebp
pop edi
call fcn.00433ba1
mov esp, ebp
pop ebp
ret 0x18
call fcn.004382bd
int3
Function at 0x417fe0
Capabilities:
Encrypt data using rc4 prga
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45bf6d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
mov eax, dword [0x476050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0
mov dword [ebp - 0x3c], 0
lea ecx, [ebp - 0x3c]
push 0x46d1d3
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
call fcn.004019b0
mov dword [ebp - 4], 0
mov ecx, 0x47
xor edx, edx
nop
mov al, byte [edx + 0x46e468]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x54], al
and ecx, 0x800000ff
jns 0x41805d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x11
jl 0x418040
mov byte [ebp - 0x43], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x24], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x418090
sub ecx, edx
lea eax, [ebp - 0x54]
push ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004019b0
mov eax, dword [ebp + 0x14]
sub esp, 0x18
mov ecx, esp
mov byte [ebp - 4], 2
push 0
push ecx
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x18]
push 0
mov dword [ecx + 0x10], eax
lea eax, [ebp - 0x3c]
push 0x50000001
push eax
lea eax, [ebp - 0x24]
mov dword [ecx + 4], 3
mov dword [ecx + 0x14], 5
mov dword [ecx], vtable.gui::rectangle.1.0
mov dword [ecx + 0xc], vtable.gui::rectangle.0
mov ecx, esi
push eax
call fcn.0042a650
test al, al
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
sete bl
cmp edx, 0x10
jb 0x41812c
mov ecx, dword [ebp - 0x24]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x418122
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418204
push edx
push ecx
call fcn.00433bdf
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0xf
mov byte [ebp - 0x24], 0
cmp edx, 0x10
jb 0x418179
mov ecx, dword [ebp - 0x3c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41816f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x418204
push edx
push ecx
call fcn.00433bdf
add esp, 8
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
test bl, bl
je 0x4181a4
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
mov eax, dword [0x478c78]
push 0
push 1
push 0x410
push dword [esi + 0x30]
mov eax, dword [eax + 0xf8]
call eax
mov eax, dword [0x478c78]
push 0x64
push 0
push 0x406
push dword [esi + 0x30]
mov eax, dword [eax + 0xf8]
call eax
mov eax, dword [0x478c78]
push 0
push 0
push 0x402
push dword [esi + 0x30]
mov eax, dword [eax + 0xf8]
call eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18
call fcn.004382bd
int3