joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1b1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
push ebx
push esi
xor ebx, ebx
push edi
push ebx
push 2
mov byte [ebp - 0xc], 0x4f
mov byte [ebp - 0xa], 0x4c
mov byte [ebp - 8], 0x44
mov byte [ebp - 6], 0x47
mov byte [ebp - 4], 0x45
mov byte [ebp - 2], 0x45
mov byte [ebp - 0xb], 0x4c
mov byte [ebp - 9], 0x59
mov byte [ebp - 7], 0x42
mov byte [ebp - 5], 0x2e
mov byte [ebp - 3], 0x58
mov byte [ebp - 1], bl
mov byte [ebp - 0x18], 0x44
mov byte [ebp - 0x16], 0x50
mov byte [ebp - 0x14], 0x4e
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x10], 0x45
mov byte [ebp - 0xe], 0x45
mov byte [ebp - 0x17], 0x45
mov byte [ebp - 0x15], 0x45
mov byte [ebp - 0x13], 0x44
mov byte [ebp - 0x11], 0x2e
mov byte [ebp - 0xf], 0x58
mov byte [ebp - 0xd], bl
mov byte [ebp - 0x24], 0x57
mov byte [ebp - 0x22], 0x32
mov byte [ebp - 0x20], 0x41
mov byte [ebp - 0x1e], 0x4d
mov byte [ebp - 0x1c], 0x45
mov byte [ebp - 0x1a], 0x45
mov byte [ebp - 0x23], 0x33
mov byte [ebp - 0x21], 0x44
mov byte [ebp - 0x1f], 0x53
mov byte [ebp - 0x1d], 0x2e
mov byte [ebp - 0x1b], 0x58
mov byte [ebp - 0x19], bl
call fcn.0040e4b0
mov esi, eax
pop ecx
cmp esi, 0xffffffff
pop ecx
mov dword [ebp - 0x28], esi
je 0x40e367
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0x128
push eax
push esi
call fcn.0040e560
pop ecx
test eax, eax
pop ecx
je 0x40e36e
call fcn.0040e412
cmp dword [ebp - 0x14c], eax
jne 0x40e29b
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0040e5e8
pop ecx
test eax, eax
pop ecx
jne 0x40e285
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0040e560
pop ecx
test eax, eax
pop ecx
je 0x40e36e
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x14c], eax
jne 0x40e34f
lea eax, [ebp - 0x130]
push eax
call fcn.0040e3da
lea eax, [ebp - 0x130]
push eax
call fcn.0040e3b7
lea eax, [ebp - 0xc]
push eax
call fcn.0040e3da
lea eax, [ebp - 0x18]
push eax
call fcn.0040e3da
lea eax, [ebp - 0x24]
push eax
call fcn.0040e3da
lea eax, [ebp - 0xc]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0040e37c
mov esi, eax
lea eax, [ebp - 0x18]
push 0xc
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0040e37c
mov edi, eax
lea eax, [ebp - 0x24]
push 0xd
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.0040e37c
add esp, 0x38
cmp esi, ebx
je 0x40e367
cmp edi, ebx
je 0x40e367
cmp eax, ebx
je 0x40e367
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x154]
push eax
push esi
call fcn.0040e5e8
pop ecx
test eax, eax
pop ecx
je 0x40e36b
jmp 0x40e2c5
xor eax, eax
jmp 0x40e377
push 1
pop ebx
push esi
call fcn.00402234
pop ecx
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40e412
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00401fcb
and byte [ebp - 1], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0x11], 0x43
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x72
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x6e
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 0x50
mov byte [ebp - 9], 0x72
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x63
mov byte [ebp - 6], 0x65
mov byte [ebp - 5], 0x73
mov byte [ebp - 4], 0x73
mov byte [ebp - 3], 0x49
mov byte [ebp - 2], 0x64
call fcn.00401ffa
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.00401fcb
mov eax, fcn.0040e412
add esp, 0xc
test eax, eax
je 0x40e4a8
call esi
jmp 0x40e4ad
call fcn.0040bf82
pop esi
leave
ret

Function at 0x40e4b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00401fcb
and byte [ebp - 4], 0
add esp, 0xc
mov byte [ebp - 0x1c], 0x43
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x12], 0x68
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x1b], 0x72
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0xc], 0x53
mov byte [ebp - 7], 0x68
mov byte [ebp - 0x1a], 0x65
mov byte [ebp - 0x15], 0x6f
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xb], 0x6e
mov byte [ebp - 6], 0x6f
mov byte [ebp - 0x19], 0x61
mov byte [ebp - 0x14], 0x6f
mov byte [ebp - 0xf], 0x70
mov byte [ebp - 0xa], 0x61
mov byte [ebp - 5], 0x74
mov byte [ebp - 0x18], 0x74
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 9], 0x70
call fcn.00401ffa
lea ecx, [ebp - 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e540
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x19
lea eax, [ebp - 0x1c]
push 0
push eax
call fcn.00401fcb
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x40e560
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00401fcb
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x69
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x72
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x73
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 3], 0x74
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x46
call fcn.00401ffa
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e5c8
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00401fcb
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x40e5e8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00401fcb
and byte [ebp - 3], 0
and byte [ebp - 2], 0
add esp, 0xc
mov byte [ebp - 0x10], 0x50
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 6], 0x65
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x73
mov byte [ebp - 5], 0x78
mov byte [ebp - 0xe], 0x6f
mov byte [ebp - 9], 0x33
mov byte [ebp - 4], 0x74
mov byte [ebp - 0xd], 0x63
mov byte [ebp - 8], 0x32
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 7], 0x4e
call fcn.00401ffa
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e650
leave
ret
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0xf
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00401fcb
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x40fbb0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40fbc9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40fbdd
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40fbfe
cmp esi, eax
jae 0x40fbd7
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x40fbf0
cmp esi, eax
jae 0x40fbd7
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x413430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ed08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax - 0x10]
mov edx, dword [ecx]
push edi
xor edi, edi
mov dword [esp + 8], edi
call dword [edx + 0x10]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
mov ecx, dword [esi]
mov esi, dword [ecx - 0xc]
push edx
push eax
push esi
push ecx
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x28], edi
call fcn.00412e60
mov esi, dword [esp + 0x34]
add esi, 0xfffffff0
push esi
call fcn.0040ec40
mov edi, dword [esp + 0x34]
add eax, 0x10
mov dword [edi], eax
add esp, 0x18
mov dword [esp + 0x14], 0xffffffff
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x4134c2
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x413880
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x43ed56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x218
mov eax, dword [0x4517d8]
push ebp
push esi
push edi
mov dword [esp + 0x220], eax
call fcn.00431a75
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea ebp, [eax + 0x10]
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x234]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
mov dword [esp + 0x22c], 0
mov dword [esp + 0xc], ecx
jl 0x413a3e
push 0x44066c
push eax
call fcn.004222d5
add esp, 8
test eax, eax
je 0x413a3e
sub eax, dword [edi]
sar eax, 1
mov esi, eax
test esi, esi
jl 0x413a3e
cmp dword [esp + 0xc], 3
jl 0x413a3e
push edi
call fcn.00411db0
add esp, 4
test eax, eax
je 0x413940
lea eax, [ebp - 0x10]
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x413a2d
test esi, esi
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
jl 0x4139f0
cmp esi, ecx
jg 0x4139f0
lea eax, [eax + esi*2]
push 0x440640
push eax
call fcn.004222d5
add esp, 8
test eax, eax
je 0x4139f0
sub eax, dword [edi]
sar eax, 1
mov esi, eax
test esi, esi
jl 0x4139f0
push esi
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, edi
call fcn.00412de0
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x230], 1
call fcn.0040f240
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x22c], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4139bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ebp, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x1c]
push 0x441138
push eax
call fcn.004235e0
add esp, 0xc
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0xc]
inc esi
cmp esi, eax
jl 0x413940
mov edx, dword [edi]
push edx
lea eax, [esp + 0x1c]
push 0x441138
push eax
call fcn.004235e0
add esp, 0xc
push 0
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x10]
mov dword [esp + 0x22c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x413a37
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, 1
jmp 0x413a65
lea eax, [ebp - 0x10]
mov dword [esp + 0x22c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x413a63
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
xor eax, eax
mov ecx, dword [esp + 0x224]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x218]
pop ebp
call fcn.00422295
add esp, 0x224
ret
Function at 0x414860
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43eea8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
call fcn.00431a75
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
xor esi, esi
push 0x440b88
mov dword [esp + 0x20], esi
call fcn.00422ed7
mov ebx, dword [esp + 0x30]
add esp, 4
push eax
push 0x440b88
mov ecx, ebx
call fcn.0040eed0
mov ebp, dword [esp + 0x28]
cmp ebp, esi
jle 0x4148f0
lea esp, [esp]
mov eax, dword [esp + 0x24]
movzx ecx, byte [esi + eax]
push ecx
lea edx, [esp + 0x14]
push str.x_02X
push edx
call fcn.0040f2b0
mov edi, dword [esp + 0x1c]
mov eax, dword [edi - 0xc]
add esp, 0xc
push eax
push edi
mov ecx, ebx
call fcn.00412f00
inc esi
cmp esi, ebp
jl 0x4148c0
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x414916
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 4]
mov eax, 1
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x415ba0
Capabilities:
Inspect load icon resource

Disassembly:
push 0xffffffffffffffff
push 0x43ef6c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x4517d8]
push ebx
push esi
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x54]
push edi
push eax
mov esi, ecx
push 0x66
mov dword [esp + 0x28], esi
call fcn.00431cad
xor ebx, ebx
mov dword [esp + 0x50], ebx
mov dword [esi], method.CDialog.virtual_0
call fcn.00431a75
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x988], eax
mov byte [esp + 0x50], 1
call fcn.00431a75
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x990], eax
push 0x440b88
lea ecx, [esi + 0x998]
mov byte [esp + 0x54], 2
call fcn.00410d70
lea edi, [esi + 0x99c]
mov ecx, edi
mov byte [esp + 0x50], 3
mov dword [esp + 0x1c], edi
call fcn.004330bc
mov byte [esp + 0x50], 4
mov dword [edi], method.CProgressCtrl.virtual_0
call fcn.00431a75
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [edi + 0x50], eax
push 0x440b88
lea ecx, [esi + 0x9f4]
mov byte [esp + 0x54], 5
call fcn.00410d70
lea edi, [esi + 0x9f8]
mov ecx, edi
mov byte [esp + 0x50], 6
call fcn.004330bc
mov dword [edi], vtable.CEdit.0
mov byte [esp + 0x50], 7
call fcn.0043c1d1
call fcn.0043c1d1
mov eax, dword [eax + 0xc]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
push ebx
push ebx
push ebx
push ebx
push esi
push 0x4150c0
mov dword [esi + 0x994], eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x74], ebx
call fcn.004371c3
lea ecx, [esp + 0xc]
call fcn.00437537
mov eax, dword [0x4529b4]
push ebx
push ebx
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x5c], 8
call fcn.004377d3
test eax, eax
je 0x415d4b
xor ecx, ecx
mov dword [esp + 0x25], ecx
mov dword [esp + 0x29], ecx
mov dword [esp + 0x2d], ecx
mov dword [esp + 0x31], ecx
mov dword [esp + 0x35], ecx
mov dword [esp + 0x39], ecx
mov dword [esp + 0x3d], ecx
mov word [esp + 0x41], cx
mov byte [esp + 0x43], cl
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], bl
call fcn.0043742f
cmp eax, 0x20
jbe 0x415d20
mov eax, 0x20
push eax
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x14]
call fcn.0043724a
lea ecx, [esp + 0xc]
call fcn.004374d5
lea eax, [esp + 0x24]
push eax
call fcn.00423735
add esp, 4
mov dword [esi + 0x98c], eax
mov ecx, esi
call fcn.00414930
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 7
call fcn.00437576
mov ecx, dword [esp + 0x48]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
pop ebx
call fcn.00422295
add esp, 0x48
ret 4
Function at 0x419d37
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 0x419d8a
call fcn.0043c1d1
mov edi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
cmp eax, ebx
je 0x419d8a
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x419d80
xor eax, eax
jmp 0x419ea3
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 0x419dba
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 0x419dba
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [ebx + 0x48]
test eax, eax
je 0x419ea0
mov ecx, dword [eax + 0x40]
and dword [ebp + 0xc], 0
test ecx, ecx
mov dword [ebp + 8], ecx
mov dword [ebp - 8], ecx
je 0x419de7
lea ecx, [eax + 0x3c]
lea eax, [ebp + 8]
push eax
call fcn.0041a9ed
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
xor eax, eax
cmp dword [edi + 8], eax
mov dword [ebp - 4], eax
jbe 0x419ea0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x419e30
mov ecx, dword [ecx + 4]
mov edx, dword [edi + 0xc]
mov ecx, dword [ecx + 0x28]
cmp ecx, dword [edx + eax*8]
jne 0x419e30
mov eax, dword [ebp + 8]
test eax, eax
mov dword [ebp - 8], eax
je 0x419e2a
mov ecx, dword [ebx + 0x48]
lea eax, [ebp + 8]
add ecx, 0x3c
push eax
call fcn.0041a9ed
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
jmp 0x419e90
and dword [ebp + 0xc], 0
jmp 0x419e90
mov ecx, dword [edi + 0xc]
shl eax, 3
cmp dword [eax + ecx], 0
mov dword [ebp - 0x10], eax
je 0x419e90
push 0xc
call fcn.00431b91
mov esi, eax
test esi, esi
pop ecx
je 0x419e72
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 0x419e74
xor esi, esi
mov ecx, dword [ebx + 0x48]
add ecx, 0x3c
cmp dword [ebp - 8], 0
push esi
je 0x419e8b
push dword [ebp - 8]
call fcn.004314f5
jmp 0x419e90
call fcn.004314cc
mov eax, dword [ebp - 4]
inc eax
cmp eax, dword [edi + 8]
mov dword [ebp - 4], eax
jb 0x419df5
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x422090
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x444dc0
call fcn.00424070
mov edi, 0x94
mov eax, edi
call fcn.00423670
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x454c0c], ecx
mov eax, dword [esi + 4]
mov dword [0x454c18], eax
mov edx, dword [esi + 8]
mov dword [0x454c1c], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x454c10], esi
cmp ecx, 2
je 0x4220f0
or esi, 0x8000
mov dword [0x454c10], esi
shl eax, 8
add eax, edx
mov dword [0x454c14], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x42212b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42212b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x422143
cmp eax, 0x20b
je 0x422130
mov dword [ebp - 0x1c], esi
jmp 0x422157
cmp dword [ecx + 0x84], 0xe
jbe 0x42212b
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x422151
cmp dword [ecx + 0x74], 0xe
jbe 0x42212b
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00425ce5
pop ecx
test eax, eax
jne 0x42216b
push 0x1c
call fcn.0042206c
pop ecx
call fcn.00425bdc
test eax, eax
jne 0x42217c
push 0x10
call fcn.0042206c
pop ecx
call fcn.00425934
mov dword [ebp - 4], esi
call fcn.00425736
test eax, eax
jge 0x422195
push 0x1b
call fcn.00422047
pop ecx
call fcn.00425697
mov dword [0x4565d0], eax
call fcn.0042552d
mov dword [0x454bfc], eax
call fcn.00425497
test eax, eax
jge 0x4221ba
push 8
call fcn.00422047
pop ecx
call fcn.00425264
test eax, eax
jge 0x4221cb
push 9
call fcn.00422047
pop ecx
push 1
call fcn.00424372
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x4221e1
push eax
call fcn.00422047
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
call fcn.0042521e
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x422202
movzx eax, word [ebp - 0x40]
jmp 0x422205
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.00430308
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x422223
push edi
call fcn.0042449f
call fcn.004244c1
jmp 0x422255
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.004240ab
ret
Function at 0x4241c5
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.00423670
mov esi, esp
push 0x1c
lea eax, [ebp - 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x424260
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 [0x454c0c]
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 0x424260
cmp eax, 1
je 0x424281
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 0x424260
mov eax, dword [ebp - 0x1c]
add dword [ebp - 4], eax
test dword [ebp - 0x18], ebx
je 0x42422d
test byte [ebp - 0x13], 1
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
je 0x42425c
xor eax, eax
inc eax
jmp 0x4242a0
cmp edi, eax
jae 0x424264
xor eax, eax
jmp 0x4242a0
cmp eax, esi
jae 0x42426b
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 [0x454c0c]
jmp 0x424284
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 0x4243dc
Capabilities:
Terminate process

Disassembly:
push 8
push 0x444ec0
call fcn.00424070
push 8
call fcn.00428a8b
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x454c4c], esi
jne 0x424410
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x454c48], esi
mov al, byte [ebp + 0x10]
mov byte [0x454c44], al
cmp dword [ebp + 0xc], edi
jne 0x42445a
cmp dword [0x4565c8], edi
je 0x42444a
mov eax, dword [0x4565c4]
sub eax, 4
mov dword [0x4565c4], eax
cmp eax, dword [0x4565c8]
jb 0x42444a
mov eax, dword [eax]
cmp eax, edi
je 0x42442b
call eax
jmp 0x42442b
push 0x44d09c
mov eax, 0x44d094
call fcn.0042435a
pop ecx
push 0x44d0a8
mov eax, 0x44d0a0
call fcn.0042435a
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x42448b
cmp dword [ebp + 0x10], edi
jne 0x424499
mov dword [0x454c4c], esi
push dword [ebp + 8]
call fcn.00424318
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x424498
push 8
call fcn.004289d6
pop ecx
ret
call fcn.004240ab
ret