joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f28f
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
cmp esi, ebx
push edi
mov dword [ebp - 8], ebx
jbe 0x44f2d1
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + ebx*4]
call fcn.0044f066
test eax, eax
je 0x44f2c6
cmp dword [ebp - 8], 0
jne 0x44f2c1
mov dword [ebp - 8], eax
jmp 0x44f2c6
cmp eax, dword [ebp - 8]
jne 0x44f2fd
inc ebx
cmp ebx, esi
jb 0x44f2a7
cmp dword [ebp - 8], 0
jne 0x44f2e1
cmp byte [0x49a658], 0
je 0x44f327
mov dword [ebp - 8], 0x49a658
push 0
push dword [ebp - 8]
call fcn.0044ec9e
cmp eax, 0xffffffff
pop ecx
pop ecx
jne 0x44f379
mov eax, 0x102
jmp 0x44f374
push 0x273d
call fcn.0044b267
mov dword [esp], str.can_only_wait_on_one_socket
push str.RMLWaitForMultipleEvents
push str._s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x10
or eax, 0xffffffff
jmp 0x44f374
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x44f371
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0044b267
push esi
call fcn.00451df8
push eax
push 0x47ca00
push str...RMLEvent.cpp:450
push str._s:__s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x1c
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp + 0x18]
mov ebx, dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call ebx
mov edi, 0x102
cmp eax, edi
mov dword [ebp - 0xc], eax
jne 0x44f33d
cmp dword [ebp + 0x14], 0xffffffff
jne 0x44f3a5
mov byte [ebp - 1], 1
jmp 0x44f3b5
mov byte [ebp - 1], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
xor esi, esi
test ecx, ecx
jbe 0x44f3d1
mov esi, dword [ebp + 0xc]
lea edi, [ebp - 0x114]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
mov edi, 0x102
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x6d0]
inc dword [ebp + 8]
mov dword [ebp + esi*4 - 0x114], eax
cmp byte [ebp - 1], 0
jne 0x44f446
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x10]
jae 0x44f33d
mov ecx, dword [ebp - 0x10]
sub ecx, eax
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 8]
call fcn.0044bba2
add esp, 0xc
push dword [ebp + 0x18]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 8]
call ebx
cmp eax, esi
mov dword [ebp - 0xc], eax
jne 0x44f43c
push 0
push dword [ebp - 8]
call fcn.0044ec9e
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x44f44b
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0xc], edi
je 0x44f3e4
jmp 0x44f33d
or eax, 0xffffffff
jmp 0x44f40e
mov eax, edi
jmp 0x44f374
Function at 0x44f452
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x493bd0]
xor eax, esp
mov dword [esp + 0x190], eax
cmp dword [0x49b018], 0
push esi
jne 0x44f50b
push str.Initialising_RML_n
push 0x14
call fcn.00451d25
pop ecx
pop ecx
lea eax, [esp + 4]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov esi, eax
test esi, esi
je 0x44f4b9
push esi
call fcn.00451df8
push eax
push str.WSAStartup
push str...RMLStAll.cpp:68
push str._s:__s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x18
mov eax, esi
jmp 0x44f513
push 0
call fcn.0044b267
pop ecx
mov ecx, dword [0x47c478]
test ecx, ecx
jbe 0x44f4db
mov eax, 0x49a658
mov byte [eax], 0
add eax, 0x9c0
dec ecx
jne 0x44f4d0
mov dword [0x49a4fc], 0xfffffffe
mov byte [0x49a540], 1
call fcn.0044b277
cmp eax, 0xffffffff
jne 0x44f4fd
call fcn.0044b271
jmp 0x44f513
push str.RML_Initialised_n
push 0x14
call fcn.00451d25
pop ecx
pop ecx
inc dword [0x49b018]
xor eax, eax
mov ecx, dword [esp + 0x194]
pop esi
xor ecx, esp
call fcn.004533e4
add esp, 0x194
ret
Function at 0x44fced
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
call fcn.0044c7a5
mov esi, eax
test esi, esi
pop ecx
jne 0x44fd2e
push 0x2736
call fcn.0044b267
mov dword [esp], str.argument_is_not_an_RML_socket
push str.RML_bind
push str._s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x10
or eax, 0xffffffff
jmp 0x44fdbb
push dword [ebp + 0x10]
mov eax, dword [esi + 4]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
jne 0x44fd73
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0044b267
push esi
call fcn.00451df8
push eax
push str.gh_bind
push str...RMLStAll.cpp:918
push str._s:__s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x1c
jmp 0x44fd26
lea ecx, [ebp - 4]
push ecx
lea ecx, [esi + 0x764]
mov dword [ebp - 4], 0x10
mov eax, dword [esi + 4]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_getsockname]
cmp eax, 0xffffffff
jne 0x44fdb5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
push esi
call fcn.0044b267
push esi
call fcn.00451df8
push eax
push str.gh_getsockname
push str...RMLStAll.cpp:931
jmp 0x44fd62
mov byte [esi + 0x14], 1
xor eax, eax
pop esi
leave
ret
Function at 0x45011c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 8]
call fcn.0044c7a5
mov esi, eax
test esi, esi
pop ecx
jne 0x45015d
push 0x2736
call fcn.0044b267
mov dword [esp], str.argument_is_not_a_socket
push str.RML_recv
push str._s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x10
or eax, 0xffffffff
jmp 0x45028b
cmp dword [esi + 0x18], 1
jne 0x45016f
push esi
call fcn.0044e602
cmp eax, 0xffffffff
pop ecx
je 0x450155
mov eax, dword [ebp + 0x10]
push ebx
push edi
mov edi, dword [ebp + 0xc]
push esi
mov dword [esi + 0x6a8], edi
mov dword [esi + 0x6ac], eax
call fcn.0044c944
mov eax, dword [esi + 0x6a8]
sub eax, edi
pop ecx
jne 0x450243
cmp byte [esi + 0x74b], al
je 0x4501b2
mov eax, dword [esi + 0x618]
cmp eax, dword [esi + 0x74c]
je 0x450243
cmp byte [esi + 0x1c], 0
jne 0x4501dd
and dword [esi + 0x6a8], 0
and dword [esi + 0x700], 0xfffffffe
or dword [esi + 0x708], 1
push 0x2733
call fcn.0044b267
pop ecx
jmp 0x450278
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [ebp - 4], eax
mov eax, edi
jmp 0x45023b
cmp byte [esi + 0x74b], 0
je 0x450203
mov eax, dword [esi + 0x618]
cmp eax, dword [esi + 0x74c]
je 0x450243
xor edi, edi
call ebx
mov ecx, eax
sub ecx, dword [ebp - 4]
cmp dword [ebp + 0x18], ecx
jb 0x450219
mov edi, dword [ebp - 4]
sub edi, eax
add edi, dword [ebp + 0x18]
cmp dword [ebp + 0x18], 0xffffffff
je 0x450227
test edi, edi
jne 0x45022a
xor eax, eax
jmp 0x450289
or edi, 0xffffffff
push edi
push esi
call fcn.0044ec9e
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x450271
mov eax, dword [ebp + 0xc]
cmp dword [esi + 0x6a8], eax
je 0x4501ec
mov edi, dword [esi + 0x6a8]
mov eax, dword [esi + 0x618]
sub edi, dword [ebp + 0xc]
and dword [esi + 0x6a8], 0
or dword [esi + 0x708], 1
cmp eax, dword [esi + 0x620]
jne 0x45027d
and dword [esi + 0x700], 0xfffffffe
jmp 0x450287
and dword [esi + 0x6a8], 0
or eax, 0xffffffff
jmp 0x450289
push 1
push esi
call fcn.0044b66a
pop ecx
pop ecx
mov eax, edi
pop edi
pop ebx
pop esi
leave
ret
Function at 0x45039b
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
xor edi, edi
push edi
push ebx
call fcn.0044bd73
test eax, eax
pop ecx
pop ecx
je 0x4503b7
xor eax, eax
jmp 0x450546
push esi
push ebx
call fcn.0044c7a5
mov esi, eax
cmp esi, edi
pop ecx
jne 0x4503f2
push 0x2736
call fcn.0044b267
mov dword [esp], str.argument_is_not_an_RML_socket
push str.RML_closesocket
push str._s_failed:__s_n
push 0x32
call fcn.00451d25
add esp, 0x10
or eax, 0xffffffff
jmp 0x450545
cmp dword [esi + 0x6cc], edi
push ebp
je 0x4504df
cmp dword [esi + 0x20], 2
jne 0x45040e
push edi
push esi
call fcn.0044ba2f
pop ecx
pop ecx
cmp dword [esi + 0x18], 1
jne 0x45043a
mov eax, dword [esi + 0x774]
cmp dword [eax + 0x10], edi
jne 0x45042a
push edi
push esi
call fcn.0044c03f
pop ecx
pop ecx
jmp 0x45043a
push esi
call fcn.0044e602
cmp eax, 0xffffffff
pop ecx
je 0x4504f0
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x450463
cmp eax, 0xb
je 0x450463
cmp eax, 0xc
je 0x450463
cmp eax, 0xd
je 0x450463
push 2
push ebx
call fcn.0044fbda
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x4504f0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebx
mov dword [esi + 0x6e4], eax
mov byte [esi + 0x751], 1
call ebx
cmp dword [esi + 0x18], edi
mov ebp, eax
je 0x45052d
jmp 0x450489
xor edi, edi
mov eax, dword [esi + 0x18]
cmp eax, 0xb
je 0x45052d
cmp eax, 0xc
je 0x45052d
cmp eax, 0xd
je 0x45052d
call ebx
mov ecx, dword [esp + 0x18]
mov edx, eax
sub edx, ebp
cmp ecx, edx
jb 0x4504bb
mov edi, ebp
sub edi, eax
add edi, ecx
cmp ecx, 0xffffffff
je 0x4504c6
test edi, edi
je 0x450542
jmp 0x4504c9
or edi, 0xffffffff
push edi
push esi
call fcn.0044ec9e
cmp eax, 0xffffffff
pop ecx
pop ecx
je 0x4504f0
cmp dword [esi + 0x18], 0
jne 0x450487
jmp 0x45052d
cmp dword [esi + 0x20], 2
jne 0x4504f5
push esi
call fcn.0044e5af
test eax, eax
pop ecx
je 0x45052d
or eax, 0xffffffff
jmp 0x450544
mov eax, dword [esi + 0x18]
cmp eax, edi
je 0x45052d
cmp eax, 0xb
je 0x45052d
cmp eax, 0xc
je 0x45052d
cmp eax, 0xd
je 0x45052d
cmp eax, 2
je 0x45052d
lea eax, [esi + 0x754]
push eax
push edi
push dword [esi + 0x620]
push dword [esi + 0x658]
push esi
call fcn.0044c722
add esp, 0x14
push esi
call fcn.0044b517
push esi
call fcn.0044cff5
push esi
call fcn.0044d7f8
add esp, 0xc
xor eax, eax
pop ebp
pop esi
pop edi
pop ebx
ret

Function at 0x4507da
Capabilities:
Set socket configuration

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 0xa
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x4507f0
Capabilities:
Set socket configuration

Disassembly:
push 8
push dword [esp + 0xc]
push 0xc
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x450805
Capabilities:
Set socket configuration

Disassembly:
push 4
push dword [esp + 0xc]
push 9
push 0
push dword [esp + 0x14]
call dword [sym.imp.WS2_32.dll_setsockopt]
ret

Function at 0x45081a
Capabilities:
Set socket configuration

Disassembly:
push dword [esp + 8]
push 0x8004667e
push dword [esp + 0xc]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
ret
Function at 0x452219
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x4533e4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x493bd0]
jne 0x4533ee
repz ret
jmp fcn.0045cabc
Function at 0x456672
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 0x4566af
cmp dword [ebp + 0x14], edi
je 0x4566af
cmp ecx, edi
jne 0x4566b6
call fcn.004574ab
push edi
push edi
push edi
push edi
mov dword [eax], 0x16
push edi
call fcn.0045972d
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
mov esi, dword [ebp + 0x18]
cmp esi, edi
je 0x4566ca
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
jbe 0x4566eb
cmp ebx, 0xffffffff
je 0x4566da
push ebx
push edi
push ecx
call fcn.00452b30
add esp, 0xc
cmp esi, edi
je 0x456697
or eax, 0xffffffff
xor edx, edx
div dword [ebp + 0x10]
cmp dword [ebp + 0x14], eax
ja 0x456697
mov edi, dword [ebp + 0x10]
imul edi, dword [ebp + 0x14]
test word [esi + 0xc], 0x10c
mov dword [ebp - 0x10], edi
mov ebx, edi
je 0x456707
mov eax, dword [esi + 0x18]
mov dword [ebp - 0xc], eax
jmp 0x45670e
mov dword [ebp - 0xc], 0x1000
test edi, edi
je 0x4567ff
test word [esi + 0xc], 0x10c
je 0x456762
mov eax, dword [esi + 4]
test eax, eax
je 0x456762
jl 0x456860
cmp ebx, eax
mov edi, ebx
jb 0x456733
mov edi, eax
cmp edi, dword [ebp - 4]
ja 0x456807
push edi
push dword [esi]
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0045352e
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 0x4567f7
cmp ebx, dword [ebp - 0xc]
jb 0x4567cf
cmp dword [ebp - 0xc], 0
je 0x45678c
mov ecx, bind
xor edx, edx
cmp ebx, ecx
jbe 0x456781
mov eax, ecx
div dword [ebp - 0xc]
mov eax, ecx
jmp 0x456788
mov eax, ebx
div dword [ebp - 0xc]
mov eax, ebx
sub eax, edx
jmp 0x456797
mov eax, bind
cmp ebx, eax
ja 0x456797
mov eax, ebx
cmp eax, dword [ebp - 4]
ja 0x456833
push eax
push dword [ebp - 8]
push esi
call fcn.0045e56f
pop ecx
push eax
call fcn.0045a0f7
add esp, 0xc
test eax, eax
je 0x456872
cmp eax, 0xffffffff
je 0x456860
add dword [ebp - 8], eax
sub ebx, eax
sub dword [ebp - 4], eax
jmp 0x4567f7
push esi
call fcn.00465a39
cmp eax, 0xffffffff
pop ecx
je 0x456864
cmp dword [ebp - 4], 0
je 0x456833
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 0x456716
mov eax, dword [ebp + 0x14]
jmp 0x4566b1
xor esi, esi
cmp dword [ebp + 0xc], 0xffffffff
je 0x45681e
push dword [ebp + 0xc]
push esi
push dword [ebp + 8]
call fcn.00452b30
add esp, 0xc
call fcn.004574ab
push esi
push esi
push esi
push esi
mov dword [eax], 0x22
push esi
jmp 0x4566a7
cmp dword [ebp + 0xc], 0xffffffff
je 0x456849
push dword [ebp + 0xc]
push 0
push dword [ebp + 8]
call fcn.00452b30
add esp, 0xc
call fcn.004574ab
mov dword [eax], 0x22
xor eax, eax
push eax
push eax
push eax
push eax
push eax
jmp 0x4566a7
or dword [esi + 0xc], 0x20
mov eax, edi
sub eax, ebx
xor edx, edx
div dword [ebp + 0x10]
jmp 0x4566b1
or dword [esi + 0xc], 0x10
jmp 0x456864
Function at 0x465ba4
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 + 0x494a78]
je 0x465bbf
inc edi
cmp edi, 0x17
jb 0x465bb0
cmp edi, 0x17
jae 0x465d3f
push ebp
push 3
call fcn.004698d3
cmp eax, 1
pop ecx
je 0x465d0b
push 3
call fcn.004698d3
test eax, eax
pop ecx
jne 0x465bf3
cmp dword [0x493ec4], 1
je 0x465d0b
cmp ebx, 0xfc
je 0x465d3e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x49bfb8
push ebp
call fcn.00401dd9
add esp, 0xc
test eax, eax
je 0x465c29
push esi
push esi
push esi
push esi
push esi
call fcn.00459631
add esp, 0x14
push 0x104
mov esi, 0x49bfd1
push esi
push 0
mov byte [0x49c0d5], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x465c6d
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00401dd9
add esp, 0xc
test eax, eax
je 0x465c6d
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00459631
add esp, 0x14
push esi
call fcn.00453e90
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x465cb2
push esi
call fcn.00453e90
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x49c2cc
push 0x483d98
sub ecx, eax
push ecx
push eax
call fcn.004027ab
add esp, 0x14
test eax, eax
je 0x465cb2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00459631
add esp, 0x14
jmp 0x465cb4
xor esi, esi
push 0x47600c
push ebx
push ebp
call fcn.00401e1f
add esp, 0xc
test eax, eax
je 0x465cd4
push esi
push esi
push esi
push esi
push esi
call fcn.00459631
add esp, 0x14
push dword [edi*8 + 0x494a7c]
push ebx
push ebp
call fcn.00401e1f
add esp, 0xc
test eax, eax
je 0x465cf6
push esi
push esi
push esi
push esi
push esi
call fcn.00459631
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00469716
add esp, 0xc
jmp 0x465d3e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x465d3e
cmp ebp, 0xffffffff
je 0x465d3e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x494a7c]
push dword [esi]
call fcn.00453e90
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 0x469716
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0045c4e6
xor ebx, ebx
cmp dword [0x49c450], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4697ec
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4698cc
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x482b88
push edi
call esi
cmp eax, ebx
je 0x4698cc
push eax
call fcn.0045c478
mov dword [esp], 0x482b78
push edi
mov dword [0x49c450], eax
call esi
push eax
call fcn.0045c478
mov dword [esp], 0x482b64
push edi
mov dword [0x49c454], eax
call esi
push eax
call fcn.0045c478
mov dword [0x49c458], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004575c2
test eax, eax
pop ecx
pop ecx
je 0x4697ba
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00459631
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4697ec
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0045c478
cmp eax, ebx
pop ecx
mov dword [0x49c460], eax
je 0x4697ec
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0045c478
pop ecx
mov dword [0x49c45c], eax
mov eax, dword [0x49c45c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x469871
cmp dword [0x49c460], ecx
je 0x469871
push eax
call fcn.0045c4ef
push dword [0x49c460]
mov esi, eax
call fcn.0045c4ef
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x469871
cmp edi, ebx
je 0x469871
call esi
cmp eax, ebx
je 0x46983e
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x46983e
test byte [ebp - 0x18], 1
jne 0x469871
lea eax, [ebp - 0x10]
push eax
call fcn.004575f9
test eax, eax
pop ecx
je 0x469859
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00459631
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x469868
or dword [ebp + 0x10], 0x200000
jmp 0x4698ac
or dword [ebp + 0x10], 0x40000
jmp 0x4698ac
mov eax, dword [0x49c454]
cmp eax, dword [ebp - 8]
je 0x4698ac
push eax
call fcn.0045c4ef
cmp eax, ebx
pop ecx
je 0x4698ac
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x4698ac
mov eax, dword [0x49c458]
cmp eax, dword [ebp - 8]
je 0x4698ac
push eax
call fcn.0045c4ef
cmp eax, ebx
pop ecx
je 0x4698ac
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x49c450]
call fcn.0045c4ef
cmp eax, ebx
pop ecx
je 0x4698cc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4698ce
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46cacb
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x493bd0]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0046ca60
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.00452b30
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 0x46cb1a
cmp dword [ebp - 0x1c], 5
jb 0x46cb32
jmp 0x46cb2e
cmp dword [ebp - 0x10], 1
jne 0x46cb32
cmp dword [ebp - 0x1c], 4
ja 0x46cb2e
jne 0x46cb32
cmp dword [ebp - 0x18], 0
jbe 0x46cb32
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x482c48
call fcn.0040e09d
test eax, eax
jge 0x46cb53
mov byte [0x498160], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004533e4
add ebp, 0x78
leave
ret

Function at 0x46d9f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
push ebx
push str.computeCrc32Str
lea ecx, [esp + 8]
call fcn.00445900
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
test al, al
mov ebx, dword [esp + 0xc]
je 0x46da2c
mov edi, edi
movzx edx, bl
movzx eax, al
xor edx, eax
mov al, byte [ecx + 1]
add ecx, 1
shr ebx, 8
xor ebx, dword [edx*4 + 0x495158]
test al, al
jne 0x46da10
lea ecx, [esp + 4]
call fcn.004435ea
mov eax, ebx
pop ebx
pop ecx
ret
Function at 0x414300
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4fb40b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
lea ebp, [esi + 0x10]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [ebp], method.CCommandLineInfo.virtual_0
mov dword [ebp + 4], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 8], ebx
push 0xa
push ebx
mov ecx, ebp
mov byte [esp + 0x24], 1
mov dword [esi], method.CCommandLineInfo.virtual_0
call fcn.00490de0
mov dword [esi + 8], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0x24], ebx
push 0x640
mov dword [esp + 0x20], 2
mov dword [esi], method.CCommandLineInfo.virtual_0
mov dword [esi + 0xc], 0x64
call fcn.004dbbfa
mov edx, eax
add esp, 4
mov ecx, 0x190
xor eax, eax
mov edi, edx
push edx
rep stosd dword es:[edi], eax
push ebx
mov ecx, ebp
call fcn.00429a10
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x24]
mov dword [esi + 8], eax
mov eax, 1
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 4], 0x64
mov dword [esi + 0x28], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x3c], ecx
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4