joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406360
Capabilities:
Check if file exists
Delete file

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push str.systemUpgraded.txt
xor esi, esi
call edi
test eax, eax
je 0x40638f
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push eax
call edi
test eax, eax
je 0x4063ee
push str.systemUpgraded.txt
call edi
jmp 0x4063ee
mov ecx, dword [esp + 0xc]
push ecx
call edi
test eax, eax
je 0x4063ee
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push 0x446aa0
push 0x446aa0
call esi
push eax
lea ecx, [esp + 0x14]
call fcn.00402330
push 0
lea ecx, [esp + 0x10]
call fcn.00404970
push eax
call fcn.0041ad60
add esp, 4
lea ecx, [esp + 0xc]
call fcn.004049f0
mov edx, dword [esp + 0xc]
push edx
call esi
mov ecx, dword [esp + 0xc]
mov dword [ecx - 8], eax
mov ecx, dword [esp + 0xc]
xor edx, edx
mov word [ecx + eax*2], dx
lea esi, [edx + 1]
mov eax, dword [esp + 0xc]
lea edx, [eax - 0xc]
cmp edx, dword [0x450020]
je 0x40641b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x40641b
mov eax, dword [esp + 0xc]
add eax, 0xfffffff4
push eax
call fcn.0041d103
add esp, 4
pop edi
mov eax, esi
pop esi
ret
Function at 0x407370
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 0x414
mov eax, dword [0x451b84]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push ebx
mov ebx, dword [esp + 0x424]
push esi
mov esi, dword [esp + 0x424]
push edi
push 2
push 0
push eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4073d5
call fcn.00402950
mov esi, eax
jmp 0x407495
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x4073ee
call fcn.00402950
jmp 0x40748c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x407406
call fcn.00402950
jmp 0x40748c
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x40743a
lea eax, [esp + 0x1c]
cmp dword [esp + 0x18], eax
je 0x40742a
lea ecx, [esp + 0x18]
call fcn.004035f0
lea ecx, [esp + 0xc]
call fcn.00403410
mov eax, 0x8007000e
jmp 0x4074b2
push eax
lea ecx, [esp + 0x1c]
call fcn.00404b30
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x407453
mov esi, 0x8007000e
jmp 0x40748e
push esi
push eax
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x40746c
call fcn.00402950
jmp 0x40748c
mov edx, dword [esp + 0x18]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0x430]
mov ecx, dword [esp + 0x18]
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00406210
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [esp + 0x1c]
cmp dword [esp + 0x18], edx
je 0x4074b0
lea ecx, [esp + 0x18]
call fcn.004035f0
jmp 0x4074b0
mov eax, esi
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0041d774
add esp, 0x414
ret 0x10
Function at 0x4149f0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x414ad2
mov edi, dword [esp + 0x18]
cmp edi, 0x110
jne 0x414a36
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
push ecx
push edx
push edi
mov ecx, esi
call fcn.004148f0
mov ecx, dword [esp + 0x24]
mov dword [ecx], eax
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
cmp edi, 0x201
jne 0x414a81
mov edx, dword [esi + 0x18]
push 0
push 0xf012
mov dword [edx + 0x20], 1
mov eax, dword [esi + 4]
push 0x112
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebx], 0
mov ecx, dword [esi + 0x18]
cmp dword [ecx + 0x20], 0
je 0x414ab3
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x18
cmp edi, 0x111
jne 0x414ab3
mov edx, 0x3ed
cmp dx, bp
jne 0x414ab3
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
pop esi
mov ecx, ebx
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0x18
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push 0
push ebx
push edx
push ebp
push edi
push eax
lea ecx, [esi + 0x20]
call fcn.004143f0
test eax, eax
jne 0x414a2a
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x18
Function at 0x4163c0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x4163ce
lea ebp, [ecx - 0x44]
jmp 0x4163d0
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x416457
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00404970
test eax, eax
je 0x41644b
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x41644b
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004049f0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x4164a6
xor esi, esi
jmp 0x416470
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x41649c
push 0xffffffffffffffff
add ebp, 0x44
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x416484
lea eax, [ebp - 0x44]
jmp 0x416486
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x4164d9
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x4164d9
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x44]
call fcn.00415dc0
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18
Function at 0x417210
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x41721e
lea ebp, [ecx - 0x44]
jmp 0x417220
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x4172a7
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00404970
test eax, eax
je 0x41729b
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x41729b
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004049f0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x4172f6
xor esi, esi
jmp 0x4172c0
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x4172ec
push 0xffffffffffffffff
add ebp, 0x44
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x4172d4
lea eax, [ebp - 0x44]
jmp 0x4172d6
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x417329
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x417329
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x44]
call fcn.00416bd0
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18
Function at 0x4183b0
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x24
push ebp
push esi
test ecx, ecx
je 0x4183be
lea ebp, [ecx - 0x44]
jmp 0x4183c0
xor ebp, ebp
cmp dword [esp + 0x3c], 0
mov ecx, dword [ebp + 4]
je 0x418447
mov eax, dword [esp + 0x30]
push ebx
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [esp + 0x3c]
mov edi, eax
push edi
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00404970
test eax, eax
je 0x41843b
mov edx, dword [esi]
mov dword [edx - 8], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
test eax, eax
je 0x41843b
lea edx, [edi + 1]
push edx
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, esi
mov dword [esp + 0x10], eax
call fcn.004049f0
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esi]
mov dword [ecx - 8], eax
mov edx, dword [esi]
xor ecx, ecx
mov word [edx + eax*2], cx
cmp dword [esp + 0x10], edi
pop edi
pop ebx
jge 0x418496
xor esi, esi
jmp 0x418460
mov edx, dword [esp + 0x34]
mov eax, dword [edx]
push eax
mov eax, dword [esp + 0x34]
push eax
push ecx
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov esi, eax
test esi, esi
jne 0x41848c
push 0xffffffffffffffff
add ebp, 0x44
call dword [sym.imp.USER32.dll_MessageBeep]
test ebp, ebp
je 0x418474
lea eax, [ebp - 0x44]
jmp 0x418476
xor eax, eax
mov edx, dword [esp + 0x30]
mov eax, dword [eax + 4]
push edx
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, esi
pop esi
pop ebp
add esp, 0x24
ret 0x18
cmp dword [esp + 0x40], 0
je 0x4184c9
mov ecx, dword [esi]
mov edx, dword [ecx - 8]
cmp edx, dword [esp + 0x44]
jle 0x4184c9
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push ecx
push edx
lea ecx, [ebp + 0x44]
call fcn.00417e10
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret 0x18
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret 0x18

Function at 0x419090
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 8
push esi
push str.GhcaMutex
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4190ce
push 0x30
push str.GHCADialer
push 0x4477d0
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
pop esi
add esp, 8
ret 0x10
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [esp + 4]
push eax
mov dword [esp + 8], 8
mov dword [esp + 0xc], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, dword [esp + 0x10]
push 0
push ecx
push 0
mov ecx, 0x452fe8
call fcn.00402090
push ecx
mov ecx, esp
push 0x4477b0
xor esi, esi
call fcn.00412360
call fcn.00406360
add esp, 4
test eax, eax
jne 0x419141
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push edx
push eax
call fcn.00418f10
add esp, 8
mov esi, eax
mov ecx, 0x452fe8
call fcn.004066b0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
pop esi
add esp, 8
ret 0x10
Function at 0x41a0c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
call fcn.00419f20
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_FindResourceW]
push 5
push edi
push esi
mov dword [esp + 0x20], 0
call ebx
mov ebp, eax
test ebp, ebp
je 0x41a19f
push 0xf0
push edi
push esi
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_LoadResource]
xor ebx, ebx
test eax, eax
je 0x41a114
push eax
push esi
call edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebp
push esi
mov dword [esp + 0x18], 0
call edi
test eax, eax
je 0x41a178
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x41a178
push ebx
push edi
call fcn.00407f50
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
add esp, 8
mov ebx, eax
mov eax, dword [esp + 0x2c]
push eax
push ecx
push edx
push ebx
push esi
call dword [sym.imp.USER32.dll_CreateDialogIndirectParamW]
mov esi, eax
test esi, esi
jne 0x41a164
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x10], eax
cmp ebx, edi
je 0x41a186
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalHandle]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
jmp 0x41a186
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x41a195
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x41ad60
Capabilities:
Create process on windows
Print debug messages

Disassembly:
sub esp, 0x58
push esi
push 0x44
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.0041e160
add esp, 0xc
xor eax, eax
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x80]
push eax
push 0
mov dword [esp + 0x40], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41ae08
mov ecx, dword [0x450024]
mov dword [esp + 4], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [esp + 8]
push str.CreateProcess_failed___d__n
push edx
call fcn.004123d0
mov esi, dword [esp + 0x10]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea eax, [esi - 0xc]
cmp eax, dword [0x450020]
je 0x41ae1c
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41ae1c
push esi
call fcn.0041d103
add esp, 4
pop esi
add esp, 0x58
ret
mov ecx, dword [esp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 0xc]
push edx
call esi
pop esi
add esp, 0x58
ret

Function at 0x41af40
Capabilities:
Encode data using xor

Disassembly:
movzx edx, word [eax]
lea ecx, [eax + 2]
mov ax, word [edx*2 + 0x451780]
xor ax, word [ecx]
mov word [edi], ax
je 0x41af81
push ebx
push esi
mov esi, edi
sub esi, ecx
lea esp, [esp]
lea eax, [edx + 1]
cdq
mov ebx, 0x1ff
idiv ebx
add ecx, 2
mov ax, word [edx*2 + 0x451780]
xor ax, word [ecx]
mov word [esi + ecx], ax
jne 0x41af60
pop esi
pop ebx
mov eax, edi
ret
Function at 0x41b020
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x7f4
mov eax, dword [0x451b84]
xor eax, esp
mov dword [esp + 0x7f0], eax
push esi
push 0x3e8
lea eax, [esp + 0x10]
push 0
push eax
mov esi, ecx
call fcn.0041e160
push 0x400
lea ecx, [esp + 0x404]
push 0
push ecx
call fcn.0041e160
push 0x447b4c
lea edx, [esp + 0x24]
push str.Record.txt
push edx
call fcn.0041ea10
mov eax, dword [esp + 0x2c]
add esp, 0x24
test eax, eax
je 0x41b150
push ebx
push edi
push eax
push 0x200
lea eax, [esp + 0x404]
push 2
push eax
call fcn.0041e918
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0041e5df
add esp, 0x14
lea edi, [esp + 0x14]
lea eax, [esp + 0x3fc]
call fcn.0041af40
mov ebx, edi
call fcn.0041af90
pop edi
pop ebx
test eax, eax
je 0x41b150
lea edx, [esp + 4]
push edx
lea eax, [esp + 0x10]
push 0x451778
push eax
mov dword [esp + 0x10], 0
call fcn.0041e47a
add esp, 0xc
test eax, eax
je 0x41b150
push eax
call fcn.0041e116
lea ecx, [esp + 8]
push ecx
push 0x451778
push 0
mov dword [esi + 4], eax
call fcn.0041e47a
add esp, 0x10
test eax, eax
je 0x41b150
push eax
call fcn.0041e116
lea edx, [esp + 8]
mov dword [esi + 0x18], eax
push edx
lea eax, [esi + 8]
push eax
call fcn.0041aff0
add esp, 0xc
test eax, eax
je 0x41b150
lea ecx, [esp + 4]
push ecx
lea edx, [esi + 0xc]
push edx
call fcn.0041aff0
add esp, 8
test eax, eax
je 0x41b150
lea eax, [esp + 4]
push eax
lea ecx, [esi + 0x10]
push ecx
call fcn.0041aff0
add esp, 8
test eax, eax
jne 0x41b168
xor eax, eax
pop esi
mov ecx, dword [esp + 0x7f0]
xor ecx, esp
call fcn.0041d774
add esp, 0x7f4
ret
lea edx, [esp + 4]
push edx
add esi, 0x14
push esi
call fcn.0041aff0
mov ecx, dword [esp + 0x7fc]
add esp, 8
pop esi
xor ecx, esp
call fcn.0041d774
add esp, 0x7f4
ret
Function at 0x41b230
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x40c
mov eax, dword [0x451b84]
xor eax, esp
mov dword [esp + 0x408], eax
mov eax, dword [0x450024]
push esi
mov esi, ecx
mov edx, dword [esi + 8]
lea ecx, [esi + 8]
push edi
mov edi, 0x64
cmp dword [edx - 8], edi
mov dword [esp + 8], eax
jle 0x41b266
call fcn.0041b190
mov eax, dword [esi + 0xc]
cmp dword [eax - 8], edi
push ebx
push ebp
lea ebp, [esi + 0xc]
jle 0x41b27a
mov ecx, ebp
call fcn.0041b190
mov ecx, dword [esi + 0x10]
cmp dword [ecx - 8], edi
lea ebx, [esi + 0x10]
jle 0x41b28c
mov ecx, ebx
call fcn.0041b190
mov edx, dword [esi + 0x14]
cmp dword [edx - 8], 0x64
lea edi, [esi + 0x14]
jle 0x41b29f
mov ecx, edi
call fcn.0041b190
push str.Record.txt
call fcn.0041e43f
mov eax, dword [edi]
mov ecx, dword [ebx]
mov edx, dword [ebp]
push eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0x18]
push edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push str._d_n_d_n:_s_n:_s_n:_s_n:_s
push eax
call fcn.004123d0
add esp, 0x24
lea ecx, [esp + 0x18]
push ecx
push 0x1f4
lea ecx, [esp + 0x18]
call fcn.00404970
call fcn.0041ae60
add esp, 4
pop ebp
pop ebx
test eax, eax
je 0x41b329
push 0x447b50
lea edx, [esp + 0x10]
push str.Record.txt
push edx
call fcn.0041ea10
mov eax, dword [esp + 0x18]
push eax
push 0x200
lea ecx, [esp + 0x24]
push 2
push ecx
call fcn.0041ebc5
mov edx, dword [esp + 0x28]
push edx
call fcn.0041e5df
add esp, 0x20
mov eax, dword [esp + 8]
lea ecx, [eax - 0xc]
cmp ecx, dword [0x450020]
je 0x41b34f
lea esi, [eax - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b34f
push esi
call fcn.0041d103
add esp, 4
mov ecx, dword [esp + 0x410]
pop edi
pop esi
xor ecx, esp
call fcn.0041d774
add esp, 0x40c
ret

Function at 0x41bcd4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x453098], 0
push esi
jne 0x41bc42
call fcn.0041bb56
test eax, eax
je 0x41bc85
mov eax, dword [0x453098]
cmp eax, 1
jne 0x41bc63
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x41bc85
pop esi
ret
push eax
call dword [0x4530a0]
test eax, eax
jne 0x41bccd
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x41bc89
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x453098]
call dword [0x4530a0]
mov edi, eax
test edi, edi
je 0x41bcae
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41bcca
mov edi, esi
add esi, 0xff0
push edi
push dword [0x453098]
call dword [0x45309c]
add edi, 0x10
cmp edi, esi
jb 0x41bcb6
mov eax, edi
pop edi
pop esi
ret
jmp 0x41bc2f

Function at 0x41d774
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x451b84]
jne 0x41d77e
repz ret
jmp fcn.0042390b
Function at 0x42fb69
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.00420066
and dword [ebp - 4], 0
cmp dword [0x453bd0], 0
mov ebx, eax
jne 0x42fc1a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42fccb
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x42fccb
push eax
call fcn.0041fff4
mov dword [esp], 0x449c18
push edi
mov dword [0x453bd0], eax
call esi
push eax
call fcn.0041fff4
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x453bd4], eax
call esi
push eax
call fcn.0041fff4
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x453bd8], eax
call esi
push eax
call fcn.0041fff4
pop ecx
mov dword [0x453be0], eax
test eax, eax
je 0x42fc1a
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0041fff4
pop ecx
mov dword [0x453bdc], eax
mov eax, dword [0x453bdc]
cmp eax, ebx
je 0x42fc72
cmp dword [0x453be0], ebx
je 0x42fc72
push eax
call fcn.0042006f
push dword [0x453be0]
mov esi, eax
call fcn.0042006f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42fc72
test edi, edi
je 0x42fc72
call esi
test eax, eax
je 0x42fc69
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42fc69
test byte [ebp - 0xc], 1
jne 0x42fc72
or dword [ebp + 0x10], 0x200000
jmp 0x42fcab
mov eax, dword [0x453bd4]
cmp eax, ebx
je 0x42fcab
push eax
call fcn.0042006f
pop ecx
test eax, eax
je 0x42fcab
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42fcab
mov eax, dword [0x453bd8]
cmp eax, ebx
je 0x42fcab
push eax
call fcn.0042006f
pop ecx
test eax, eax
je 0x42fcab
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x453bd0]
call fcn.0042006f
pop ecx
test eax, eax
je 0x42fccb
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42fccd
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret