joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419260
Capabilities:
Copy file

Disassembly:
test esi, esi
je 0x4192bb
test edi, edi
je 0x4192bb
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_CopyFileW]
push 1
push edi
push esi
call ebx
test eax, eax
je 0x419280
mov eax, 1
pop ebx
ret
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 3
jne 0x4192a4
push edi
call fcn.004190b0
add esp, 4
test eax, eax
je 0x4192b6
push 1
push edi
push esi
call ebx
pop ebp
pop ebx
ret
call ebp
push eax
push esi
push str.MyCopyFile:__s__error0x_x
call dword [0x5e1244]
add esp, 0xc
pop ebp
xor eax, eax
pop ebx
ret
xor eax, eax
ret

Function at 0x4192c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x740
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x738], eax
mov ecx, dword [esp + 0x744]
mov eax, dword [esp + 0x74c]
push ebx
mov ebx, dword [esp + 0x754]
push esi
mov esi, dword [esp + 0x750]
push edi
test ebx, ebx
je 0x4193cc
test esi, esi
je 0x4193cc
cmp dword [esi + 0x18], 1
jne 0x4193dc
lea eax, [esp + 0x538]
push eax
call fcn.00418f00
add esp, 4
test eax, eax
jne 0x419334
push str.Flush_Dirty_Macro:_TreeItem_To_FilePath_failed
call dword [0x5e1244]
add esp, 4
jmp 0x4193dc
mov edx, dword [esi + 0x10]
call fcn.0043b220
mov edi, eax
test edi, edi
je 0x4193dc
test dword [edi + 8], 0xc0000000
je 0x4193dc
lea esi, [esp + 0x538]
call fcn.004191f0
mov esi, eax
cmp esi, 0xffffffff
je 0x4193dc
and dword [edi + 8], 0x3fffffff
lea eax, [esp + 0x10]
mov ecx, edi
call fcn.004199e0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x526
lea edx, [esp + 0x1c]
push edx
push esi
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4193a6
cmp dword [esp + 0xc], 0x526
je 0x4193c3
lea eax, [esp + 0x538]
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Flush_Dirty_Macro:_WriteFile_err0x_x___s
call dword [0x5e1244]
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4193dc
push eax
push esi
push str.Flush_Dirty_Macro:_pItem0x_0x__s__error
call dword [0x5e1244]
add esp, 0xc
mov ecx, dword [esp + 0x744]
pop edi
pop esi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0053fb0e
add esp, 0x740
ret
Function at 0x4197b0
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
sub esp, 0x674
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x670], eax
push ebp
push esi
push edi
mov edi, dword [esp + 0x684]
mov dword [esp + 0x14], edi
test edi, edi
je 0x4199bb
xor eax, eax
cmp ax, word [edi]
je 0x4199bb
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x270]
push 0x104
push ecx
mov dword [esp + 0x20], 1
call fcn.00540b8d
lea eax, [esp + 0x278]
add esp, 0x10
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419810
sub eax, edx
sar eax, 1
cmp eax, 0x101
jl 0x419843
mov eax, 1
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x674
ret
mov edx, 0x5c
cmp dx, word [esp + eax*2 + 0x266]
je 0x419866
mov ecx, edx
xor edx, edx
mov word [esp + eax*2 + 0x268], cx
mov word [esp + eax*2 + 0x26a], dx
push 0x59ace8
lea eax, [esp + 0x26c]
push eax
push 0x59acec
push 0x103
lea ecx, [esp + 0x480]
push 0x104
push ecx
call fcn.005403d0
add esp, 0x18
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x474]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x41998c
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esp, [esp]
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x26c]
push edx
push 0x59acec
push 0x103
lea eax, [esp + 0x480]
push 0x104
push eax
call fcn.005403d0
add esp, 0x18
test byte [esp + 0x18], 0x10
je 0x419922
mov ax, word [esp + 0x44]
mov ecx, 0x2e
cmp cx, ax
je 0x41993f
mov edx, 0x24
cmp dx, ax
je 0x41993f
lea eax, [esp + 0x470]
push eax
call fcn.004197b0
add esp, 4
test eax, eax
je 0x419972
jmp 0x41993f
push 0x80
lea ecx, [esp + 0x474]
push ecx
call ebp
lea edx, [esp + 0x470]
push edx
call edi
test eax, eax
je 0x419955
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4198c0
jmp 0x41997a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [esp + 0x474]
push ecx
push str.DeleteFile__s__err_d
call dword [0x5e1244]
add esp, 0xc
mov dword [esp + 0x10], 0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [esp + 0x10], 0
je 0x41999f
mov edi, dword [esp + 0x14]
push 0x80
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x670]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x674
ret
mov ecx, dword [esp + 0x67c]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0053fb0e
add esp, 0x674
ret
Function at 0x419a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa5c
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0xa58], eax
push ebx
push esi
push edi
mov esi, ecx
call fcn.004191f0
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x419ad8
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.save_macro_to_file_mcb:_CreateFile_err0x_x___s
call dword [0x5e1244]
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa58]
xor ecx, esp
call fcn.0053fb0e
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 8]
mov ecx, 0x149
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
and dword [esp + 0x18], 0x3fffffff
xor eax, eax
mov cl, byte [esp + eax + 0x10]
ror cl, 2
mov byte [esp + eax + 0x538], cl
inc eax
cmp eax, 0x526
jb 0x419af2
push 0
lea edx, [esp + 0x10]
push edx
push 0x526
lea eax, [esp + 0x544]
push eax
push ebx
mov dword [esp + 0x20], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x419b57
cmp dword [esp + 0xc], 0x526
jne 0x419b57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.save_macro_to_file_mcb:_WriteFile_err0x_x
call dword [0x5e1244]
add esp, 8
mov ecx, dword [esp + 0xa64]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0053fb0e
mov esp, ebp
pop ebp
ret

Function at 0x419f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56a693
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
mov eax, dword [0x5c96a4]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, dword [esp + 0x20]
call fcn.00441f5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419fb1
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], 0
lea ebp, [esi + 4]
call fcn.00441f5f
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x419fe4
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x18], 1
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x41a004
xor eax, eax
jmp 0x41a01f
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a010
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, esi
call fcn.004060d0
mov edx, dword [esp + 0x28]
test edx, edx
jne 0x41a034
xor eax, eax
jmp 0x41a04f
mov eax, edx
lea ebx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41a040
sub eax, ebx
sar eax, 1
push eax
push edx
mov ecx, ebp
call fcn.004060d0
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0x14
Function at 0x41d4f0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x56ac6b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c96a4]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov edi, ecx
push 0xc6
xor ebp, ebp
lea ecx, [esp + 0x26]
xor eax, eax
push ebp
push ecx
mov dword [esp + 0x24], edi
mov esi, edx
mov word [esp + 0x2c], ax
call fcn.00542e50
mov edx, dword [esi]
mov eax, dword [esi + 0xc]
push edx
push 1
push eax
push edi
call fcn.005419d5
add esp, 0x1c
cmp eax, 1
mov eax, dword [esi + 0xc]
sete bl
cdq
idiv dword [esi + 0x10]
mov byte [esp + 0x16], bl
mov dword [esi + 0x14], eax
test bl, bl
je 0x41d6d4
push eax
push str.length__d
lea edx, [esp + 0x28]
call fcn.0041e000
lea ecx, [esi + 0x18]
lea eax, [esp + 0x28]
add esp, 8
mov dword [esp + 0x1c], ecx
lea ebx, [eax + 2]
lea ebx, [ebx]
mov dx, word [eax]
add eax, 2
cmp dx, bp
jne 0x41d5a0
sub eax, ebx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.004060d0
mov ecx, dword [esi + 0x10]
mov ebx, dword [esi + 0x14]
xor eax, eax
cmp ecx, 1
sete byte [esp + 0x17]
test ebx, ebx
je 0x41d671
xor edx, edx
dec ebx
cmp byte [esp + 0x17], dl
je 0x41d5df
cmp byte [edi], dl
jmp 0x41d5e3
cmp word [edi], 0
sete dl
test edx, edx
je 0x41d60d
test eax, eax
je 0x41d606
cmp edi, eax
je 0x41d606
imul ecx, ebp
mov edx, edi
sub edx, eax
push edx
push eax
sub eax, ecx
push eax
call fcn.005413d0
add esp, 0xc
mov ecx, dword [esi + 0x10]
lea eax, [ecx + edi]
inc ebp
add edi, ecx
test ebx, ebx
jne 0x41d5d2
test eax, eax
je 0x41d630
cmp edi, eax
je 0x41d630
mov ecx, dword [esi + 0x10]
imul ecx, ebp
sub edi, eax
push edi
push eax
sub eax, ecx
push eax
call fcn.005413d0
add esp, 0xc
test ebp, ebp
je 0x41d671
push ebp
push str.__d_nulls_removed_
lea edx, [esp + 0x28]
call fcn.0041e000
lea eax, [esp + 0x28]
add esp, 8
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41d650
mov ecx, dword [esp + 0x1c]
sub eax, edx
sar eax, 1
push eax
lea edx, [esp + 0x24]
push edx
call fcn.0041deb0
sub dword [esi + 0x14], ebp
cmp dword [esi + 0x10], 1
jle 0x41d6a8
test byte [esi + 4], 0x80
je 0x41d6a8
mov esi, dword [esi + 0x14]
test esi, esi
je 0x41d69a
mov ecx, dword [esp + 0x18]
movzx eax, word [ecx + esi*2 - 2]
dec esi
rol ax, 8
mov word [ecx + esi*2], ax
test esi, esi
jne 0x41d684
mov ecx, dword [esp + 0x1c]
push str.endian_swap
call fcn.0041dfc0
mov al, byte [esp + 0x16]
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.0053fb0e
add esp, 0xe4
ret
lea eax, [esp + 0x18]
push eax
call fcn.0041ac30
add esp, 4
lea ecx, [esi + 0x18]
push eax
mov dword [esp + 0xf8], ebp
call fcn.0040bbf0
mov dword [esp + 0xf4], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41d71c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, bl
jmp 0x41d6ac
Function at 0x41e420
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
add eax, eax
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41e496
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x41e465
cmp eax, 2
jne 0x41e481
mov eax, dword [esp + 0x14]
test esi, esi
je 0x41e490
test eax, eax
je 0x41e48b
test al, 1
jne 0x41e481
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x41e490
pop edi
mov eax, 0xd
pop esi
ret 0xc
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x421350
Capabilities:
Log keystrokes via input method manager

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, dword [esi + 4]
push edi
mov edi, ecx
cmp eax, 0x101
je 0x42137b
cmp eax, 0x100
je 0x42137b
cmp eax, 0x104
je 0x42137b
cmp eax, 0x105
jne 0x421477
cmp dword [edi + 0xb18], 4
jne 0x42142b
cmp dword [esi + 8], 0xe5
jne 0x42139c
mov eax, dword [esi]
push eax
call sub.IMM32.dll_ImmGetVirtualKey
mov dword [esi + 8], eax
mov eax, dword [esi + 4]
cmp eax, 0x101
je 0x4213b1
cmp eax, 0x105
je 0x4213b1
xor ecx, ecx
jmp 0x4213b6
mov ecx, 0x80
mov eax, dword [esi + 8]
cmp eax, 0x11
jne 0x4213df
test dword [esi + 0xc], 0x1000000
je 0x421418
push ecx
mov eax, 0xa3
push eax
mov ecx, edi
call fcn.00420b80
pop edi
mov eax, 1
pop esi
ret 4
cmp eax, 0x12
jne 0x421405
test dword [esi + 0xc], 0x1000000
je 0x421418
push ecx
mov eax, 0xa5
push eax
mov ecx, edi
call fcn.00420b80
pop edi
mov eax, 1
pop esi
ret 4
cmp eax, 0x10
jne 0x421418
test dword [esi + 0xc], 0x100000
je 0x421418
mov eax, 0xa1
push ecx
push eax
mov ecx, edi
call fcn.00420b80
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [esi + 8]
cmp eax, 0x1b
je 0x421421
cmp eax, 0x70
je 0x421421
cmp eax, 0xd
jne 0x421477
lea eax, [edi + 0x1e4]
test eax, eax
jne 0x42145d
mov edx, dword [edi]
push eax
push eax
mov eax, dword [edx + 0xf0]
call eax
pop edi
mov eax, 1
pop esi
ret 4
mov eax, dword [eax + 0x20]
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0xf0]
push 0
call eax
pop edi
mov eax, 1
pop esi
ret 4
push esi
call fcn.004432a9
pop edi
pop esi
ret 4
Function at 0x42a4f0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x418
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x414], eax
mov eax, dword [esp + 0x41c]
push esi
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x42a552
push 0x5a14e0
call dword [0x5e1244]
add esp, 4
xor eax, eax
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x418
ret
push 0
lea eax, [esp + 8]
push eax
push 0x208
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movsx edx, byte [esp + 0xc]
movsx ecx, byte [esp + 0x1c]
lea eax, [edx - 0x15]
cmp eax, 0x77
ja 0x42a5fc
cmp ecx, 0x64
jg 0x42a5fc
xor eax, eax
test ecx, ecx
jle 0x42a5b7
lea esi, [esp + edx + 8]
lea ebx, [ebx]
mov dl, byte [esi + eax]
ror dl, 3
movzx dx, dl
mov word [esp + eax*2 + 0x210], dx
inc eax
cmp eax, ecx
jl 0x42a5a0
xor eax, eax
mov word [esp + ecx*2 + 0x210], ax
lea ecx, [esp + 0x210]
push ecx
push 0x5996c0
push 0x103
push 0x104
push edi
call fcn.005403d0
add esp, 0x14
mov eax, 1
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x418
ret
push ecx
push edx
push str.Error:_nOffset_d__nSize_d
call dword [0x5e1244]
mov ecx, dword [esp + 0x424]
add esp, 0xc
pop esi
xor ecx, esp
xor eax, eax
call fcn.0053fb0e
add esp, 0x418
ret
Function at 0x42dfa0
Capabilities:
Write file on windows

Disassembly:
push ebx
push 3
push 0
mov ebx, eax
push 0
push esi
lea ecx, [ebx + 0x1e8c]
call fcn.0040af50
add esp, 0x10
test eax, eax
je 0x42dfe4
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42dfd8
mov ecx, dword [esi + 4]
call fcn.0042b800
pop ebx
jmp fcn.0043b9c0
mov dword [0x5e12b8], esi
pop ebx
jmp fcn.0043b9c0
pop ebx
ret

Function at 0x42dff0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x230
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x22c], eax
push ebp
xor ebp, ebp
test esi, esi
jne 0x42e023
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x230
ret
push edi
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x42e052
lea eax, [esp + 8]
push eax
push edi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x42e06b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x22c]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x230
ret
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_StrStrIW]
push esi
lea ecx, [esp + 0x34]
push ecx
call ebx
test eax, eax
jne 0x42e08f
lea edx, [esp + 0xc]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42e072
jmp 0x42e094
mov ebp, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop ebx
pop edi
mov eax, ebp
pop ebp
xor ecx, esp
call fcn.0053fb0e
add esp, 0x230
ret
Function at 0x430840
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x56987b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5c96a4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x10], esi
call fcn.00446ba5
xor edi, edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CPngBtn.0
call fcn.00441f5f
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x430895
push 0x80004005
call fcn.00403c50
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x88], eax
mov eax, vtable.CRgn.0
mov dword [esi + 0xc8], edi
mov dword [esi + 0xc4], eax
mov dword [esi + 0xd0], edi
mov dword [esi + 0xcc], eax
lea ebx, [esi + 0xd4]
push ebx
push edi
mov dword [ebx], edi
call sub.gdiplus.dll_GdipCreatePath
mov dword [ebx + 4], eax
lea ecx, [esi + 0xdc]
mov byte [esp + 0x1c], 4
call fcn.004551a3
lea ebx, [esi + 0x150]
mov dword [ebx + 4], edi
mov dword [ebx], vtable.CFont.0
push 0x598a10
push 0x20
push edi
push edi
push edi
mov byte [esp + 0x30], 6
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xe
mov dword [esi + 0x15c], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xfc], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x9c], 0xc8c8c8
mov dword [esi + 0x98], 0x646464
mov dword [esi + 0xa0], edi
mov dword [esi + 0x90], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x14c], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0x70], 5
mov dword [esi + 0x6c], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0xc0], edi
mov dword [esi + 0x94], edi
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, ebx
call fcn.0044490b
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x432400
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x404
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
mov esi, dword [eax + 0x464]
push edi
mov ebx, ecx
mov edi, edx
test esi, esi
je 0x432470
xor ecx, ecx
test esi, esi
jbe 0x432445
lea ebx, [eax + 0x468]
jmp 0x432430
mov eax, edi
sub eax, dword [ebx]
inc ecx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + ecx*4 + 0x10], eax
add ebx, 4
cmp ecx, esi
jb 0x432430
xor edi, edi
lea eax, [edi + 1]
cmp esi, eax
jle 0x43246b
xor edx, edx
mov ecx, 4
mov ebx, dword [esp + edx + 0x14]
cmp ebx, dword [esp + ecx + 0x14]
jl 0x432463
mov edi, eax
mov edx, ecx
inc eax
add ecx, 4
cmp eax, esi
jl 0x432455
lea esi, [edi + ebp]
jmp 0x4324b8
mov ecx, dword [esp + 0x41c]
sub ecx, ebp
mov eax, ecx
imul eax, edi
cdq
idiv ebx
mov esi, eax
mov eax, ebx
cdq
idiv ecx
add esi, ebp
mov ecx, esi
sub ecx, ebp
lea edx, [ecx + 1]
mov ebx, eax
imul edx, ebx
imul ecx, ebx
mov eax, edi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x4324b8
inc esi
mov eax, dword [esp + 0x41c]
cmp esi, eax
jg 0x4324cb
cmp esi, ebp
mov eax, ebp
jl 0x4324cb
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret

Function at 0x434a20
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x57c
push ebx
push ebp
mov ebp, dword [esp + 0x588]
push esi
mov esi, dword [eax + 0x5ec]
push edi
mov ebx, ecx
mov edi, edx
test esi, esi
je 0x434a90
xor ecx, ecx
test esi, esi
jbe 0x434a65
lea ebx, [eax + 0x5f0]
jmp 0x434a50
mov eax, edi
sub eax, dword [ebx]
inc ecx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + ecx*4 + 0x10], eax
add ebx, 4
cmp ecx, esi
jb 0x434a50
xor edi, edi
lea eax, [edi + 1]
cmp esi, eax
jle 0x434a8b
xor edx, edx
mov ecx, 4
mov ebx, dword [esp + edx + 0x14]
cmp ebx, dword [esp + ecx + 0x14]
jl 0x434a83
mov edi, eax
mov edx, ecx
inc eax
add ecx, 4
cmp eax, esi
jl 0x434a75
lea esi, [edi + ebp]
jmp 0x434ad8
mov ecx, dword [esp + 0x594]
sub ecx, ebp
mov eax, ecx
imul eax, edi
cdq
idiv ebx
mov esi, eax
mov eax, ebx
cdq
idiv ecx
add esi, ebp
mov ecx, esi
sub ecx, ebp
lea edx, [ecx + 1]
mov ebx, eax
imul edx, ebx
imul ecx, ebx
mov eax, edi
sub eax, edx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
mov eax, edi
sub eax, ecx
mov ecx, dword [esp + 0x10]
cdq
xor eax, edx
sub eax, edx
cmp eax, ecx
jle 0x434ad8
inc esi
mov eax, dword [esp + 0x594]
cmp esi, eax
jg 0x434aeb
cmp esi, ebp
mov eax, ebp
jl 0x434aeb
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x57c
ret
Function at 0x4367c0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push ebx
push edi
push ecx
push 0x104
lea ecx, [esp + 0x14]
push ecx
push 0x599828
push eax
push 0x5a3d4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0xc]
push 3
push edx
mov ebx, 0xa
lea edi, [esp + 0x10]
call fcn.004366f0
add esp, 8
pop edi
pop ebx
cmp eax, 3
jne 0x436845
movzx eax, byte [esp + 2]
movzx ecx, byte [esp + 1]
movzx edx, byte [esp]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x210
ret
mov ecx, dword [esp + 0x20c]
xor ecx, esp
mov eax, 0x646464
call fcn.0053fb0e
add esp, 0x210
ret

Function at 0x436860
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x78
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x7c]
test esi, esi
je 0x4368c8
push ecx
push 0x32
lea ecx, [esp + 0x18]
push ecx
push 0
push eax
push 0x5a3d4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
cmp dx, word [esp + 0x10]
je 0x4368c8
push ebx
push edi
lea eax, [esp + 0x18]
push 4
push eax
lea ebx, [edx + 0xa]
lea edi, [esp + 0x10]
call fcn.00436620
add esp, 8
pop edi
pop ebx
cmp eax, 4
je 0x4368d9
push 0
push str.Error
push 0x5a33c4
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x78
ret
mov ecx, dword [esp]
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
mov dword [esi], ecx
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi + 4], edx
mov eax, 1
call fcn.0053fb0e
add esp, 0x78
ret

Function at 0x436910
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x78
mov eax, dword [0x5c96a4]
xor eax, esp
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x80]
test esi, esi
je 0x436987
push ecx
push 0x32
lea ecx, [esp + 0x18]
push ecx
push 0
mov dword [esi], edx
mov edx, dword [esp + 0x8c]
push eax
push 0x5a3d4c
mov dword [esi + 4], edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edx, edx
cmp dx, word [esp + 0x10]
je 0x436987
push ebx
push edi
lea eax, [esp + 0x18]
push 2
push eax
lea ebx, [edx + 0xa]
lea edi, [esp + 0x10]
call fcn.00436620
add esp, 8
pop edi
pop ebx
cmp eax, 2
je 0x436998
push 0
push str.Error
push str.Wrong_POINT_num
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0053fb0e
add esp, 0x78
ret
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov dword [esi], ecx
mov ecx, dword [esp + 0x74]
xor ecx, esp
mov dword [esi + 4], edx
mov eax, 1
call fcn.0053fb0e
add esp, 0x78
ret