joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404e19
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x42c249
call fcn.004163ec
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xb8], ebx
jne 0x404e98
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
push 0x93
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00404798
mov ecx, dword [ebp + 0xc]
push dword [ecx]
mov ecx, dword [ebp + 8]
push dword [ecx]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00401462
mov ecx, dword [ebp - 0x14]
add esp, 0x10
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401038
mov esi, dword [ebp - 0x10]
push ebx
push 0x10
push esi
call fcn.00403e9f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00401038
cmp dword [edi + 0xb0], ebx
je 0x404eb0
push str.OS_requirement:_Unsupported_OS_detected.
lea ecx, [edi + 0xa4]
call fcn.00401998
mov ecx, edi
call fcn.004044df
call fcn.0041648b
ret 8

Function at 0x404ebf
Capabilities:
Identify system language via api

Disassembly:
push 8
mov eax, 0x42c249
call fcn.004163ec
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0xb8], ebx
jne 0x404f39
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
push 0x92
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
call fcn.00404798
mov ecx, dword [ebp + 8]
push dword [ecx]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 1
call fcn.00401462
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], bl
call fcn.00401038
mov esi, dword [ebp - 0x10]
push ebx
push 0x10
push esi
call fcn.00403e9f
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [esi - 0x10]
call fcn.00401038
cmp dword [edi + 0xb0], ebx
je 0x404f51
push str.OS_requirement:_Unsupported_Internet_Explorer_detected.
lea ecx, [edi + 0xa4]
call fcn.00401998
mov ecx, edi
call fcn.004044df
call fcn.0041648b
ret 4
Function at 0x4054d6
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x38
mov eax, 0x42c374
call fcn.004163ec
mov esi, ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x44], ebx
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x34], ebx
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push str.RequireIE
lea ecx, [ebp - 0x24]
stosd dword es:[edi], eax
mov dword [ebp - 0x18], 0x104
call fcn.00401a21
push str.Startup
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], ebx
call fcn.00401a21
lea eax, [esi + 0xa8]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00404137
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401038
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
mov byte [ebp - 4], 4
call fcn.00401038
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], ebx
jne 0x405576
xor ebx, ebx
inc ebx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00401038
mov eax, ebx
call fcn.0041648b
ret
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x34]
push ecx
mov edi, str._d._d._d._d
push edi
push eax
call fcn.00416a04
add esp, 0x18
call fcn.00405f3b
push eax
lea ecx, [ebp - 0x10]
call fcn.004011f9
lea eax, [ebp - 0x14]
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftInternet_Explorer
push 0x80000002
mov byte [ebp - 4], 5
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x4055d2
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401038
jmp 0x405563
push dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
call fcn.0040132f
lea ecx, [ebp - 0x18]
push ecx
push eax
push ebx
push ebx
push str.Version
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
push dword [ebp - 0x14]
je 0x405601
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4055c5
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.004011d4
cmp dword [ebp - 0x18], ebx
jbe 0x4055c5
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x44]
push eax
push edi
mov edi, dword [ebp - 0x10]
push edi
call fcn.00416a04
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp + eax - 0x34]
mov edx, dword [ebp + eax - 0x44]
cmp ecx, edx
jb 0x40564b
ja 0x405658
add eax, 4
cmp eax, 0x10
jl 0x405635
lea ecx, [edi - 0x10]
call fcn.00401038
jmp 0x405560
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.00404ebf
lea ecx, [edi - 0x10]
jmp 0x4055cb
Function at 0x406c80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x24
mov eax, 0x42c4e3
call fcn.0041641f
mov esi, ecx
mov dword [ebp - 0x20], esi
mov eax, dword [esi + 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x5c]
mov dword [ebp - 0x18], eax
call fcn.004113e7
mov edi, dword [eax + 0xc]
xor ebx, ebx
cmp dword [esi + 0x58], ebx
je 0x406ccb
call fcn.004113e7
mov edi, dword [eax + 0xc]
push 5
push dword [esi + 0x58]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], ebx
je 0x406cdc
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], ebx
jne 0x406ce9
or eax, 0xffffffff
jmp 0x406e45
mov ecx, esi
call fcn.004067d2
mov dword [ebp - 0x14], eax
call fcn.00409568
and dword [ebp - 0x28], ebx
cmp dword [ebp - 0x14], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x24], ebx
je 0x406d67
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x14], eax
je 0x406d67
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x406d67
push 0
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [ebp - 0x2c], 1
call fcn.00406683
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x24], ebx
je 0x406d67
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x120]
test eax, eax
je 0x406d67
mov ecx, ebx
call fcn.00406416
test eax, eax
je 0x406d67
push 0
mov ecx, ebx
call fcn.00406431
mov dword [ebp - 0x28], 1
and dword [ebp - 4], 0
push esi
call fcn.0040aed0
push dword [ebp - 0x14]
call fcn.004094c0
push edi
push eax
push dword [ebp - 0x1c]
mov ecx, esi
call fcn.00406a88
xor edi, edi
cmp eax, edi
je 0x406dc4
test byte [esi + 0x3c], 0x10
je 0x406dae
push 4
pop edi
mov ecx, esi
call fcn.00406380
test ax, 0x100
je 0x406da4
push 5
pop edi
push edi
mov ecx, esi
call fcn.00409056
xor edi, edi
cmp dword [esi + 0x20], edi
je 0x406dc4
push 0x97
push edi
push edi
push edi
push edi
push edi
mov ecx, esi
call fcn.00406498
or dword [ebp - 4], 0xffffffff
jmp 0x406def
cmp dword [ebp - 0x28], edi
je 0x406dfd
push 1
mov ecx, ebx
call fcn.00406431
cmp dword [ebp - 0x2c], edi
je 0x406e0d
push 1
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebp - 0x14], edi
je 0x406e26
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x20]
jne 0x406e26
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, esi
call fcn.0040680c
cmp dword [esi + 0x58], edi
je 0x406e42
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esi + 0x44]
call fcn.0041648b
ret
Function at 0x40bfea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40c02d
call fcn.004113e7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c02d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40c048
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040bba4
test ebx, ebx
mov esi, eax
je 0x40c046
test edi, edi
je 0x40c046
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x40dd56
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x43aee0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x40dd93
push 0x431b98
push 4
push eax
call fcn.00416bc3
push eax
call fcn.0040165b
add esp, 0x10
jmp 0x40dda5
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x40de10
push edi
call fcn.00416db8
mov edi, dword [eax]
call fcn.00416db8
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.00416d5e
add esp, 0x18
mov ebx, eax
call fcn.00416db8
cmp dword [eax], 0
je 0x40ddf0
call fcn.00416db8
push dword [eax]
call fcn.00405cc2
pop ecx
jmp 0x40ddf7
call fcn.00416db8
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x40de10
cmp ebx, esi
jae 0x40de10
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x40de12
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041635f
leave
ret
Function at 0x40ea56
Capabilities:
Read file on windows

Disassembly:
cmp dword [esp + 8], 0
push esi
mov esi, ecx
jne 0x40ea5f
xor eax, eax
jmp 0x40eac8
cmp dword [esp + 8], 0
jne 0x40ea6b
call fcn.00405e32
push edi
push dword [esi + 0x10]
push dword [esp + 0x14]
push 1
push dword [esp + 0x18]
call fcn.004199c3
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40eaa6
push dword [esi + 0x10]
call fcn.004196c9
test eax, eax
pop ecx
jne 0x40eaa6
mov esi, dword [esi + 0xc]
call fcn.00416dcb
push esi
push dword [eax]
push 1
call fcn.0040f6b0
push dword [esi + 0x10]
call fcn.004196f8
test eax, eax
pop ecx
je 0x40eac5
push dword [esi + 0x10]
call fcn.0041961d
push eax
call fcn.0040165b
pop ecx
pop ecx
jmp 0x40ea94
mov eax, edi
pop edi
pop esi
ret 8

Function at 0x40ead1
Capabilities:
Write file on windows

Disassembly:
cmp dword [esp + 4], 0
push esi
mov esi, ecx
jne 0x40eadb
call fcn.00405e32
push dword [esi + 0x10]
push dword [esp + 0x10]
push 1
push dword [esp + 0x14]
call fcn.00419b3d
add esp, 0x10
cmp eax, dword [esp + 0xc]
je 0x40eb08
mov esi, dword [esi + 0xc]
call fcn.00416dcb
push esi
push dword [eax]
push 1
call fcn.0040f6b0
pop esi
ret 8

Function at 0x41635f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43aee0]
jne 0x416369
repz ret
jmp fcn.0041eebc
Function at 0x419727
Capabilities:
Read file on windows

Disassembly:
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
cmp dword [ebp + 0x10], edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
je 0x419764
cmp dword [ebp + 0x14], edi
je 0x419764
cmp ecx, edi
jne 0x41976b
call fcn.00416db8
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0041cf97
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x41977f
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4197a0
cmp ebx, 0xffffffff
je 0x41978f
push ebx
push edi
push ecx
call fcn.004165b0
add esp, 0xc
cmp esi, edi
je 0x41974c
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x41974c
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x4197bc
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x4197c3
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4198b4
test word [esi + 0xc], 0x10c
je 0x419817
mov eax, dword [esi + 4]
test eax, eax
je 0x419817
jl 0x419915
cmp ebx, eax
mov edi, ebx
jb 0x4197e8
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x4198bc
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00415d50
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 0x4198ac
cmp ebx, dword [ebp - 0xc]
jb 0x419884
cmp dword [ebp - 0xc], 0
je 0x419841
mov ecx, 0x7fffffff
xor edx, edx
cmp ebx, ecx
jbe 0x419836
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x41983d
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x41984c
mov eax, 0x7fffffff
cmp ebx, eax
ja 0x41984c
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x4198e8
push eax
push dword [ebp - 8]
push esi
call fcn.0041937c
pop ecx
push eax
call fcn.004238ba
add esp, 0xc
test eax, eax
je 0x419927
cmp eax, 0xffffffff
je 0x419915
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4198ac
push esi
call fcn.004231d9
cmp eax, 0xffffffff
pop ecx
je 0x419919
cmp dword [ebp - 4], 0
je 0x4198e8
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 0x4197cb
mov eax, dword [ebp + 0x14]
jmp 0x419766
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x4198d3
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.004165b0
add esp, 0xc
call fcn.00416db8
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x41975c
cmp dword [ebp + 0xc], 0xffffffff
je 0x4198fe
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.004165b0
add esp, 0xc
call fcn.00416db8
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x41975c
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x419766
or dword [esi + 0xc], 0x10
jmp 0x419919
Function at 0x41b010
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x43b060]
je 0x41b02b
inc edi
cmp edi, 0x17
jb 0x41b01c
cmp edi, 0x17
jae 0x41b1ab
push ebp
push 3
call fcn.00425690
cmp eax, 1
pop ecx
je 0x41b177
push 3
call fcn.00425690
test eax, eax
pop ecx
jne 0x41b05f
cmp dword [0x43aeb0], 1
je 0x41b177
cmp ebx, 0xfc
je 0x41b1aa
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x43e2f0
push ebp
call fcn.0042562b
add esp, 0xc
test eax, eax
je 0x41b095
push esi
push esi
push esi
push esi
push esi
call fcn.0041ce9b
add esp, 0x14
push 0x104
mov esi, 0x43e309
push esi
push 0
mov byte [0x43e40d], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41b0d9
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0042562b
add esp, 0xc
test eax, eax
je 0x41b0d9
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0041ce9b
add esp, 0x14
push esi
call fcn.004255a0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41b11e
push esi
call fcn.004255a0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x43e604
push 0x432aa4
sub ecx, eax
push ecx
push eax
call fcn.004254e8
add esp, 0x14
test eax, eax
je 0x41b11e
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0041ce9b
add esp, 0x14
jmp 0x41b120
xor esi, esi
push 0x432aa0
push ebx
push ebp
call fcn.00425477
add esp, 0xc
test eax, eax
je 0x41b140
push esi
push esi
push esi
push esi
push esi
call fcn.0041ce9b
add esp, 0x14
push dword [edi*8 + 0x43b064]
push ebx
push ebp
call fcn.00425477
add esp, 0xc
test eax, eax
je 0x41b162
push esi
push esi
push esi
push esi
push esi
call fcn.0041ce9b
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004252ba
add esp, 0xc
jmp 0x41b1aa
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41b1aa
cmp ebp, 0xffffffff
je 0x41b1aa
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x43b064]
push dword [esi]
call fcn.004255a0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4252ba
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041bbc0
xor ebx, ebx
cmp dword [0x43edf8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x425390
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x425470
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x425470
push eax
call fcn.0041bb52
mov dword [esp], 0x432cf4
push edi
mov dword [0x43edf8], eax
call esi
push eax
call fcn.0041bb52
mov dword [esp], 0x432ce0
push edi
mov dword [0x43edfc], eax
call esi
push eax
call fcn.0041bb52
mov dword [0x43ee00], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00418b57
test eax, eax
pop ecx
pop ecx
je 0x42535e
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041ce9b
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x425390
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0041bb52
cmp eax, ebx
pop ecx
mov dword [0x43ee08], eax
je 0x425390
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041bb52
pop ecx
mov dword [0x43ee04], eax
mov eax, dword [0x43ee04]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x425415
cmp dword [0x43ee08], ecx
je 0x425415
push eax
call fcn.0041bbc9
push dword [0x43ee08]
mov esi, eax
call fcn.0041bbc9
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x425415
cmp edi, ebx
je 0x425415
call esi
cmp eax, ebx
je 0x4253e2
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4253e2
test byte [ebp - 0x18], 1
jne 0x425415
lea eax, [ebp - 0x10]
push eax
call fcn.00418b8e
test eax, eax
pop ecx
je 0x4253fd
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041ce9b
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x42540c
or dword [ebp + 0x10], 0x200000
jmp 0x425450
or dword [ebp + 0x10], 0x40000
jmp 0x425450
mov eax, dword [0x43edfc]
cmp eax, dword [ebp - 8]
je 0x425450
push eax
call fcn.0041bbc9
cmp eax, ebx
pop ecx
je 0x425450
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x425450
mov eax, dword [0x43ee00]
cmp eax, dword [ebp - 8]
je 0x425450
push eax
call fcn.0041bbc9
cmp eax, ebx
pop ecx
je 0x425450
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43edf8]
call fcn.0041bbc9
cmp eax, ebx
pop ecx
je 0x425470
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x425472
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b6f4
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x43aee0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042b689
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004165b0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x42b743
cmp dword [ebp - 0x1c], 5
jb 0x42b75b
jmp 0x42b757
cmp dword [ebp - 0x10], 1
jne 0x42b75b
cmp dword [ebp - 0x1c], 4
ja 0x42b757
jne 0x42b75b
cmp dword [ebp - 0x18], 0
jbe 0x42b75b
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x433edc
call fcn.0042b55d
test eax, eax
jge 0x42b77c
mov byte [0x43c3ac], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0041635f
add ebp, 0x78
leave
ret
Function at 0x401750
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
inc ebp
or byte [ebx + 0x40c0c80d], cl
add byte [edi], bh
add ecx, 0x40
push 0x40d274
push ecx
call dword [0x40c002]
mov eax, dword [0x4102ac]
add esp, 0xc
test eax, eax
je 0x401787
push eax
push 0x46d2cf
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
jnp 0x40178a
call dword [sym.imp.MSVCRT.dll_exit]
adc eax, sym.imp.MSVCRT.dll_exit
nop

Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
in al, 0xec
sub esp, 0x3b
push esi
mov esi, dword [ebp + 0xc]
push esi
cmp al, byte [ebp - 0x78]
js 0x401ea1
and ebp, eax
mov dword [eax - 0x6d], ebp
add byte [ebx + 0x158b080c], cl
enter 0x4047, 0
push eax
push ecx
or dword [edx - 0x2b5397c0], 5
add byte [edx - 1], dl
call dword [sym.imp.MSVCRT.dll_fprintf]
mov eax, dword [0x4102ac]
add esp, 0xffffffcb
test eax, eax
je 0x401e8c
loopne 0x401ee7
push esp
rol byte [eax], cl
call dword [0x2fc1e8]
cmp dword [ecx + 8], 0x56
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
dec esp
nop
nop
nop
nop
nop
invalid
mov ebp, esp
sub esp, 0x14
push ebx
push esi
and dword [ebp + 0x18], esi
push edi
mov eax, dword [esi - 0x47]
mov dword [ebp + 8], eax
call 0xa96a00
mov dword [0xca6f206], eax
mov dword [0x410ba4], edx
mov ebx, eax
mov eax, dword [esi + 0x14]
test eax, eax
mov edi, edx
jne 0x401f0d
push cs
insd dword es:[edi], dx
add al, 0x6a
invalid
inc esi
sbb bl, bl
add byte [eax], al
inc ebp
mov esi, dword [esp + ebp*8]
pop ss
adc eax, dword [eax]
mov dword [esi + 0x14], edx
jnp 0x401f58
add al, byte [ecx]
test eax, eax
fdivr qword [ebx]
mov eax, dword [0x10410270]
mov ebx, dword [ebp + 0x4e1cc803]
adc al, 0x65
sub eax, 0x8388e8b
add byte [eax], al
mov ecx, dword [esi + 0x838]
fldcw word [eax]
rol byte [eax], 1
mov edx, dword [0xf240d02c]
add ecx, eax
mov eax, dword [esi + 0x4a3c]
adc eax, edx
cmp edi, eax
cvtps2pd xmm4, xmm5
add byte [eax], al
add byte [eax + ecx + 0x3b], bh
fstp dword [esi + 0x40]
cmp ebx, ecx
pop esi
inc eax
fild dword [eax]
fdivp st(4)
mov ebp, dword [edi + 0x1c]
mov ebp, dword [edi + 0x30]
rol byte [eax], 1
mov eax, dword [esi + 4]
lea esi, [edi + 0x51d303c7]
push edx
push eax
loop 0x401fbd
imul edx, dword [0x74c085fb], 0x33
and esp, 0x6b
in al, 0x6b
je 0x401f8a
cmp eax, 0xafd68
je 0x401f8a
cmp eax, 0xafcd9
mov dword [eax], esp
cmp eax, 0xa5657
je 0x401f8a
jg 0x401f32
std
xor dword [eax], eax
je 0x401f8a
cmp eax, 0xafca1
je 0x401f90
cmp eax, 0x4a23b3
sub al, byte [ebp + 0xc2ed]
mov eax, dword [ebp + 0x19]
lea edi, [edi + 0x4102a0]
add al, byte [ecx]
mov ebp, dword [ecx + 0x4102a4]
add ebx, eax
sub dword [edx - 0xd], 3
sbb eax, 0x544102a0
mov dword [0x4102a4], edi
mov edx, dword [esi + 0x18]
ret
cmp edi, 0x846c7ff
xchg edi, eax
jo 0x402037
daa
call int.00406a00
mov dword [0x410ba0], eax
mov dword [esi - 0x4cbef45c], esp
invalid
daa
aam 0x40
add byte [ebx - 0x77], al
sbb eax, 0x202bc
call dword [0x4a9c0c64]
push esi
inc edx
sbb al, byte [eax + 0x8c48300]
invalid