joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44b2b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov ecx, dword [ebp + 8]
push ebx
xor ebx, ebx
xor eax, eax
cmp ecx, ebx
push esi
push edi
mov dword [esp + 0x1c], eax
je 0x44b310
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + 8]
cmp edi, ebx
mov dword [esp + 0x18], edi
je 0x44b310
cmp dword [ebp + 0x10], ebx
je 0x44b317
test byte [edi + 0x40], 1
jne 0x44b317
mov al, byte [edi + 0x42]
cmp al, 1
je 0x44b2ef
cmp al, 2
jne 0x44b330
mov eax, edi
call fcn.0044ae30
mov esi, eax
cmp esi, ebx
mov dword [esp + 0x1c], esi
je 0x44b330
mov edx, dword [ebp + 8]
push ebx
push esi
push edx
call fcn.0044b2b0
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [edi + 0x30]
push edx
call fcn.00412080
mov eax, dword [ebp + 0xc]
add esp, 4
mov dword [edi + 0x30], ebx
mov byte [edi + 0x42], 4
mov dword [edi + 0x3c], eax
cmp byte [edi + 0x44], 0
mov dword [esp + 0x10], ebx
jl 0x44b413
lea ebx, [edi + 0x78]
mov dword [esp + 0x14], ebx
mov eax, dword [ebx]
test eax, eax
je 0x44b3ed
mov eax, dword [eax + 0x48]
test byte [eax + 0x18], 0x40
mov esi, dword [eax + 0x10]
je 0x44b3a3
add dword [esi + 0x78], 0xffffffff
mov ecx, dword [esi + 0x88]
mov dword [eax + 0xc], ecx
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x88], eax
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0x14]
mov eax, dword [esi + 0x98]
mov ebx, dword [edi]
push edx
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.0047ad90
push edx
mov edx, dword [ebx + 0x48]
push eax
push edi
call edx
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
add esp, 0x10
jmp 0x44b3a8
call fcn.004115d0
cmp dword [esi + 0x78], 0
jne 0x44b3ed
mov eax, dword [esi + 0xcc]
cmp dword [eax + 0xc], 0
jne 0x44b3ed
mov al, byte [esi + 0x10]
cmp al, 6
je 0x44b3e6
test al, al
je 0x44b3e6
cmp al, 2
jb 0x44b3d2
mov eax, esi
call fcn.0043cbe0
jmp 0x44b3e6
cmp byte [esi + 4], 0
jne 0x44b3e6
push 0
push 0
mov eax, esi
call fcn.00416a50
add esp, 8
mov eax, esi
call fcn.00419410
mov eax, dword [esp + 0x10]
mov dword [ebx], 0
movsx ecx, byte [edi + 0x44]
add eax, 1
add ebx, 4
cmp eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ebx
jle 0x44b345
xor ebx, ebx
mov edi, dword [edi + 8]
cmp edi, ebx
mov dword [esp + 0x18], edi
jne 0x44b2d9
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44b840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
mov al, byte [esi + 0x42]
xor ebx, ebx
cmp al, 1
push edi
je 0x44b889
cmp al, 3
jb 0x44b862
call fcn.0044b430
cmp eax, ebx
jne 0x44b872
cmp byte [esi + 0x42], bl
jne 0x44b879
mov eax, dword [ebp + 8]
mov dword [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x3c]
cmp eax, ebx
je 0x44b889
mov byte [esi + 0x42], 1
mov dword [esi + 0x3c], ebx
jl 0x44b870
movsx ecx, byte [esi + 0x44]
mov eax, dword [esi + ecx*4 + 0x78]
cmp byte [eax + 5], bl
jne 0x44b8d2
mov edx, dword [eax + 0x40]
movzx ecx, word [esi + ecx*2 + 0x50]
mov cx, word [edx + ecx*2]
mov dh, cl
mov dl, ch
movzx ecx, dx
movzx edx, word [eax + 0x14]
mov eax, dword [eax + 0x38]
and ecx, edx
mov eax, dword [ecx + eax]
bswap eax
push eax
mov eax, esi
call fcn.00443ef0
add esp, 4
cmp eax, ebx
jne 0x44b872
call fcn.00447c40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp word [esi + ecx*2 + 0x50], bx
jne 0x44b97d
lea ecx, [ecx]
mov al, byte [esi + 0x44]
cmp al, bl
je 0x44b9ba
and byte [esi + 0x40], 0xf9
movsx ecx, al
mov word [esi + 0x24], bx
mov ecx, dword [esi + ecx*4 + 0x78]
sub al, 1
mov byte [esi + 0x44], al
mov eax, dword [ecx + 0x48]
test byte [eax + 0x18], 0x40
mov edi, dword [eax + 0x10]
je 0x44b950
add dword [edi + 0x78], 0xffffffff
mov edx, dword [edi + 0x88]
mov dword [eax + 0xc], edx
mov ecx, dword [edi + 0x3c]
mov dword [edi + 0x88], eax
mov ebx, dword [ecx]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [eax + 0x14]
mov eax, dword [edi + 0x98]
cdq
push edx
push eax
sub ecx, 1
push 0
push ecx
call fcn.0047ad90
push edx
mov edx, dword [ebx + 0x48]
push eax
mov eax, dword [edi + 0x3c]
push eax
call edx
add esp, 0x10
xor ebx, ebx
jmp 0x44b955
call fcn.004115d0
cmp dword [edi + 0x78], ebx
jne 0x44b96e
mov eax, dword [edi + 0xcc]
cmp dword [eax + 0xc], ebx
jne 0x44b96e
push edi
call fcn.0043d440
add esp, 4
movsx ecx, byte [esi + 0x44]
cmp word [esi + ecx*2 + 0x50], bx
je 0x44b8e0
movsx eax, byte [esi + 0x44]
add word [esi + eax*2 + 0x50], 0xffff
movsx ecx, byte [esi + 0x44]
lea eax, [esi + eax*2 + 0x50]
mov eax, dword [esi + ecx*4 + 0x78]
cmp byte [eax + 2], bl
je 0x44b870
cmp byte [eax + 5], bl
jne 0x44b870
mov edx, dword [ebp + 8]
push edx
push esi
call fcn.0044ce40
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 8]
mov byte [esi + 0x42], bl
pop edi
pop esi
mov dword [edx], 1
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44d250
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
movzx ebp, word [ecx + 0x20]
push esi
mov esi, edx
movsx edx, byte [ecx + 0x44]
mov edx, dword [ecx + edx*4 + 0x78]
mov edx, dword [edx + 0x3c]
push edi
mov edi, dword [ecx + 0x18]
sub edx, edi
cmp ebp, edx
jae 0x44d275
mov edx, ebp
lea ebp, [eax + ebx]
cmp ebp, edx
ja 0x44d292
add edi, eax
mov dword [esi + 0x10], edi
mov word [esi + 8], 0x1010
mov dword [esi + 0xc], ebx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov edx, dword [esp + 0x1c]
push edx
push eax
push ecx
call fcn.0044ccb0
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x44d8b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x2c
push ebx
push esi
push edi
mov edi, eax
mov esi, dword [edi]
mov eax, esi
call fcn.00410460
mov ebx, dword [esi + 0x10]
mov esi, dword [esi + 0x14]
mov eax, ebx
add eax, 0xffffffff
adc esi, 0xffffffff
test esi, esi
ja 0x44d983
jb 0x44d8e4
cmp eax, 0x7ffffffe
ja 0x44d983
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov eax, dword [edi]
mov word [esp + 0x18], 0
mov dword [esp + 0x28], 0
movsx ecx, byte [eax + 0x44]
mov ecx, dword [eax + ecx*4 + 0x78]
mov edx, dword [eax + 0x18]
mov ecx, dword [ecx + 0x3c]
movzx esi, word [eax + 0x20]
sub ecx, edx
cmp esi, ecx
jae 0x44d917
mov ecx, esi
cmp ebx, ecx
ja 0x44d92c
mov dword [esp + 0x20], edx
mov word [esp + 0x18], 0x1010
mov dword [esp + 0x1c], ebx
jmp 0x44d941
push 1
push 0
push eax
lea esi, [esp + 0x1c]
call fcn.0044ccb0
add esp, 0xc
test eax, eax
jne 0x44d9ae
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push 0
push edx
push eax
push ecx
call fcn.00429690
mov edx, dword [esp + 0x54]
add esp, 0x10
test dword [esp + 0x18], 0x2460
mov dword [edx], eax
jne 0x44d971
cmp dword [esp + 0x28], 0
je 0x44d97a
lea edi, [esp + 0x10]
call fcn.0041b060
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
mov eax, dword [esp + 0x44]
push 0x485634
push 0x111ea
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
mov dword [eax], 0
call fcn.004275c0
add esp, 0xc
mov eax, 0xb
pop edi
pop esi
pop ebx
add esp, 0x2c
ret
Function at 0x44d9c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov esi, eax
call fcn.00410460
movsx edx, byte [esi + 0x44]
mov eax, dword [esp + 0x68]
mov ecx, dword [esi + 0x18]
mov ebx, dword [esi + 0x10]
xor edi, edi
mov dword [esp + 0x30], eax
mov word [esp + 0x18], di
mov dword [esp + 0x28], edi
mov eax, dword [esi + edx*4 + 0x78]
mov eax, dword [eax + 0x3c]
movzx edx, word [esi + 0x20]
sub eax, ecx
cmp edx, eax
jae 0x44d9fe
mov eax, edx
cmp ebx, eax
ja 0x44da17
mov edi, ecx
mov ebp, ebx
mov dword [esp + 0x20], edi
mov word [esp + 0x18], 0x1010
mov dword [esp + 0x1c], ebp
jmp 0x44da37
push 1
push edi
push esi
lea esi, [esp + 0x1c]
call fcn.0044ccb0
add esp, 0xc
cmp eax, edi
jne 0x44db01
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
mov al, byte [edi]
cmp al, 0x80
jae 0x44da42
movzx ebx, al
jmp 0x44da51
lea esi, [esp + 0x68]
mov ecx, edi
call fcn.00411bf0
mov ebx, dword [esp + 0x68]
cmp ebx, 3
jb 0x44dac6
cmp ebx, ebp
jg 0x44dac6
mov al, byte [ebx + edi - 1]
cmp al, 0x80
lea ecx, [ebx + edi - 1]
jae 0x44da6b
movzx edx, al
jmp 0x44da78
lea esi, [esp + 0x68]
call fcn.00411bf0
mov edx, dword [esp + 0x68]
lea ecx, [edx - 1]
cmp ecx, 8
ja 0x44dac6
cmp edx, 7
je 0x44dac6
movzx eax, byte [edx + 0x480f5c]
lea ecx, [eax + ebx]
cmp ebp, ecx
jb 0x44dac6
mov ecx, ebp
sub ecx, eax
add ecx, edi
lea eax, [esp + 0x38]
call fcn.004101e0
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [eax], edx
mov dword [eax + 4], ecx
lea eax, [esp + 0x10]
call fcn.0041cce0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
test dword [esp + 0x18], 0x2460
jne 0x44dad7
cmp dword [esp + 0x28], 0
je 0x44dae0
lea edi, [esp + 0x10]
call fcn.0041b060
push 0x485634
push 0x111ca
push str.database_corruption_at_line__d_of___.10s_
mov ecx, 0xb
call fcn.004275c0
add esp, 0xc
mov eax, 0xb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret
Function at 0x457c40
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov eax, edi
mov ebx, edi
imul eax, edi
xor edx, edx
shr ebx, 2
je 0x457c76
push ebp
push esi
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx + edx*4]
mov ecx, esi
imul ecx, edx
imul ecx, edi
mov ebp, ecx
shl ebp, 4
add esi, eax
add ecx, ebp
xor ecx, esi
add edx, 1
cmp edx, ebx
mov eax, ecx
jb 0x457c51
pop esi
pop ebp
pop ebx
ret

Function at 0x458760
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esi]
push ebx
xor ebx, ebx
test eax, eax
push edi
je 0x458775
push eax
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esi], ebx
mov eax, dword [esp + 0xc]
push 0
push 0
push 3
push 0
push 3
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x4587e9
push 0
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
push eax
mov dword [esi + 4], eax
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 4]
add esp, 4
push 0
lea edx, [esp + 0x10]
push edx
push ecx
push eax
push edi
mov dword [esi], eax
mov dword [esp + 0x20], ebx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
mov ebx, eax
test ebx, ebx
je 0x4587e2
mov eax, dword [esi]
cmp dword [eax], 0x66676572
je 0x4587d6
xor ebx, ebx
mov ecx, dword [eax + 0x14]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0xc], edx
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
pop edi
mov eax, ebx
pop ebx
ret 4

Function at 0x459ac0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ecx
cmp dword [esp + 0xc], 0
push ebx
push esi
mov ebx, eax
mov esi, ecx
je 0x459af8
mov eax, esi
lea ebx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x459ad3
sub eax, ebx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x10]
lea eax, [ecx + ecx]
lea ecx, [esp + 0x14]
push ecx
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0
push edx
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x459b36
mov ecx, dword [esp + 0x14]
cmp ecx, 2
jb 0x459b2d
shr ecx, 1
mov word [esi + ecx*2], ax
jmp 0x459b32
mov word [esi], 0
test eax, eax
je 0x459b51
mov eax, ebx
sub esi, ebx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [esi + eax], cx
add eax, 2
test cx, cx
jne 0x459b40
xor eax, eax
pop esi
pop ebx
pop ecx
ret
Function at 0x459c20
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x20000
call fcn.0047aea0
cmp dword [esp + 0x20004], 0
push ebp
mov ebp, dword [esp + 0x2000c]
je 0x459c96
test esi, esi
je 0x459c84
push 0x22
push esi
call sub.msvcrt.dll_wcschr
add esp, 8
test eax, eax
je 0x459c84
push esi
push str.__s_
lea eax, [esp + 0xc]
push 0xfffe
push eax
mov word [esp + 0x14], 0
call sub.msvcrt.dll__snwprintf
add esp, 0x10
push edi
lea ecx, [esp + 8]
push ecx
push ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
pop ebp
add esp, 0x20000
ret
push edi
push esi
push ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_WritePrivateProfileStringW]
pop ebp
add esp, 0x20000
ret
mov edx, dword [esp + 0x20014]
mov eax, dword [esp + 0x20010]
push edi
push edx
push esi
push eax
push ebx
push ebp
call dword [sym.imp.KERNEL32.DLL_GetPrivateProfileStringW]
pop ebp
add esp, 0x20000
ret
Function at 0x45c460
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x1224
call fcn.0047aea0
push ebp
xor ebp, ebp
push 0x3fe
lea eax, [esp + 0xe2e]
push ebp
push eax
mov word [esp + 0xe34], bp
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x1238]
push 0x104
push str.profiles.ini
lea eax, [esp + 0xe3c]
call fcn.00468830
add esp, 0x14
lea ecx, [esp + 0xe28]
push ecx
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x45c6aa
mov dword [esp + 4], ebp
mov dword [esp + 0xc], 0x47f930
mov word [esp + 0x14], bp
mov word [esp + 0x21e], bp
mov dword [esp + 0x10], ebp
xor eax, eax
mov edi, edi
movzx ecx, word [esp + eax + 0xe28]
mov word [esp + eax + 0x14], cx
add eax, 2
cmp cx, bp
jne 0x45c4e0
xor eax, eax
jmp 0x45c500
movzx ecx, word [eax + str.General]
mov word [esp + eax + 0x21e], cx
add eax, 2
cmp cx, bp
jne 0x45c500
push ebx
push esi
push edi
lea ebx, [ebx]
push 0x1fe
lea edx, [esp + 0x83a]
push ebp
push edx
mov word [esp + 0x840], bp
call sub.msvcrt.dll_memset
push 0x3fe
lea eax, [esp + 0x446]
push ebp
push eax
mov word [esp + 0x44c], bp
call sub.msvcrt.dll_memset
mov ecx, dword [esp + 0x28]
push ecx
push str.Profile_d
lea edx, [esp + 0x854]
push 0xff
push edx
mov dword [esp + 0x3c], ebp
call sub.msvcrt.dll__snwprintf
add esp, 0x28
xor eax, eax
jmp 0x45c580
movzx ecx, word [esp + eax + 0x834]
mov word [esp + eax + 0x22a], cx
add eax, 2
cmp cx, bp
jne 0x45c580
mov ecx, dword [esp + 0x1c]
push 0x1ff
push 0x47c518
lea eax, [esp + 0x232]
push eax
push ecx
lea edi, [esp + 0x30]
lea esi, [esp + 0x444]
mov ebx, str.Path
call fcn.00459c20
mov eax, dword [esp + 0x28]
add esp, 0x10
push ebp
lea edx, [esp + 0x18]
push edx
mov edx, dword [eax + 8]
push str.IsRelative
lea ecx, [esp + 0x24]
call edx
cmp word [esp + 0x434], bp
je 0x45c6a7
mov eax, esi
nop
cmp word [eax], 0x2f
jne 0x45c5fb
mov word [eax], 0x5c
add eax, 2
cmp word [eax], bp
jne 0x45c5f0
push 0x3fe
lea eax, [esp + 0xa3a]
push ebp
push eax
mov word [esp + 0xa40], bp
call sub.msvcrt.dll_memset
add esp, 0xc
cmp dword [esp + 0x14], ebp
lea ecx, [esp + 0x434]
je 0x45c67c
push 0x104
push ecx
mov ecx, dword [esp + 0x1240]
lea eax, [esp + 0xa3c]
call fcn.00468830
mov edi, dword [esp + 0x1244]
add esp, 8
lea edx, [esp + 0xa34]
push edx
call fcn.00466100
cmp eax, 0xffffffff
jne 0x45c69d
lea eax, [esp + 0xa34]
push eax
mov eax, edi
call fcn.004665d0
add dword [esp + 0x10], 1
jmp 0x45c520
mov edi, dword [esp + 0x1240]
push ecx
call fcn.00466100
cmp eax, 0xffffffff
jne 0x45c69d
lea edx, [esp + 0x434]
push edx
mov eax, edi
call fcn.004665d0
add dword [esp + 0x10], 1
jmp 0x45c520
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x1224
ret 0xc
Function at 0x45cfc0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x250
push ebx
mov ebx, eax
push 1
call fcn.0045ced0
push 0x208
lea eax, [esp + 0x4a]
push 0
push eax
mov word [esp + 0x50], 0
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x104
lea ecx, [esp + 0x48]
push ecx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
push 0x38
lea edx, [esp + 0x10]
push 0
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
lea ecx, [esp + 8]
lea eax, [esp + 0x44]
push ecx
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x18], str.RunAs
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], 0x40
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 5
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x45d05a
mov edx, dword [ebx + 0x208]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
pop ebx
add esp, 0x250
ret
Function at 0x45dab0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esi + 0x698]
mov dword [eax + 0x14], ecx
mov edx, dword [esi + 0x698]
cmp dword [edx + 0x14], 2
mov eax, dword [esi + 0x6ac]
push edi
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
jne 0x45dadb
push 5
push eax
call edi
push 0
jmp 0x45dae2
push 0
push eax
call edi
push 5
mov ecx, dword [esi + 0x69c]
mov edx, dword [ecx + 0x2b8]
push edx
call edi
push 0
mov eax, esi
call fcn.0045d3c0
pop edi
ret

Function at 0x45df80
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 0x698]
xor dword [eax + 0x18], 1
call fcn.0045dbd0
push 0
mov eax, esi
call fcn.0045d3c0
mov eax, dword [esi + 0x698]
mov ecx, dword [eax + 0x18]
mov edx, dword [esi + 0x6c8]
neg ecx
sbb ecx, ecx
and ecx, 5
push ecx
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
call fcn.0045cc60
mov eax, dword [esi + 0x698]
cmp dword [eax + 0x18], 0
je 0x45dfe5
mov esi, dword [esi + 0x6c8]
push 0x40b
push esi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
pop esi
ret
Function at 0x45e590
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, 0x29a0
call fcn.0047aea0
call fcn.00472000
test eax, eax
jne 0x45e5b1
mov eax, 1
add esp, 0x29a0
ret 0x10
push ebx
push ebp
push esi
push edi
push 0x8001
call dword [sym.imp.KERNEL32.DLL_SetErrorMode]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
xor esi, esi
push esi
push 0x457cf0
push esi
mov dword [0x48a1fc], 0x11223344
call ebp
push eax
call dword [sym.imp.KERNEL32.DLL_EnumResourceTypesW]
lea eax, [esp + 0x26c]
push eax
mov dword [esp + 0x28], 0x400
mov dword [esp + 0x2c], 0x100
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x3c], 0x20
mov dword [esp + 0x34], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x44], esi
call fcn.0045dd90
mov edx, dword [esp + 0x29bc]
lea ecx, [esp + 0x10]
push edx
mov eax, ecx
push eax
mov dword [esp + 0x928], ecx
call fcn.00466dc0
mov edi, dword [esp + 0x920]
mov ebx, str._savelangfile
call fcn.004668e0
test eax, eax
jl 0x45e673
mov dword [0x48cc74], 0x489a48
call fcn.00465c40
jmp 0x45e7af
push 0x208
lea ecx, [esp + 0x66]
push esi
push ecx
mov word [esp + 0x6c], si
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [esp + 0x60]
call fcn.004653f0
lea eax, [esp + 0x60]
call fcn.00464dd0
mov edi, dword [esp + 0x920]
mov ebx, str._deleteregkey
call fcn.004668e0
test eax, eax
jge 0x45e7af
mov ebx, str.riched20.dll
call fcn.00468060
lea esi, [esp + 0x26c]
call fcn.0045db80
call fcn.00477cf0
push 0
call ebp
push 0x67
push eax
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0
push 0
push 0
lea edx, [esp + 0x50]
push edx
mov dword [esp + 0x49c], eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x45e7af
mov ebx, dword [sym.imp.USER32.dll_IsDialogMessageW]
mov ebp, dword [sym.imp.USER32.dll_TranslateAcceleratorW]
lea ebx, [ebx]
mov eax, dword [0x48c8bc]
test eax, eax
mov esi, eax
je 0x45e725
call dword [sym.imp.USER32.dll_GetForegroundWindow]
cmp esi, eax
je 0x45e740
mov ecx, dword [esp + 0x48c]
mov edx, dword [esp + 0x474]
lea eax, [esp + 0x44]
push eax
push ecx
push edx
call ebp
test eax, eax
jne 0x45e796
mov ecx, dword [esp + 0x474]
mov esi, dword [0x48c8bc]
mov edi, dword [esp + 0x934]
lea eax, [esp + 0x44]
push eax
push ecx
call ebx
test eax, eax
jne 0x45e796
test esi, esi
je 0x45e770
lea edx, [esp + 0x44]
push edx
push esi
call ebx
test eax, eax
jne 0x45e796
test edi, edi
je 0x45e780
lea eax, [esp + 0x44]
push eax
push edi
call ebx
test eax, eax
jne 0x45e796
lea ecx, [esp + 0x44]
push ecx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x45e710
lea edi, [esp + 0x26c]
call fcn.0045ce50
lea esi, [esp + 0x10]
call fcn.00466960
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x29a0
ret 0x10
Function at 0x45ea50
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esi + 0x69c]
push edi
push ecx
push 0
push 5
lea edi, [esi + 0x288]
push edi
push eax
call fcn.004643a0
test eax, eax
jne 0x45ea7e
mov edx, dword [esi + 0x208]
push edx
call fcn.00468bc0
add esp, 4
pop edi
ret
mov eax, dword [esi + 0x208]
push 5
push 0x47c518
push 0x47c518
push edi
push 0x47e248
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
ret

Function at 0x45ebd0
Capabilities:
Open clipboard

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 0x698]
cmp dword [eax + 0x14], 2
push edi
jne 0x45ebf0
add esi, 0x6ac
call fcn.00457fc0
pop edi
pop esi
pop ecx
ret
mov eax, dword [esi + 0x69c]
push 1
push 2
push 2
push 0x47c518
push eax
call fcn.004643a0
test eax, eax
jne 0x45ec1e
mov ecx, dword [esi + 0x208]
push ecx
call fcn.00468bc0
add esp, 4
pop edi
pop esi
pop ecx
ret
mov edx, dword [esi + 0x69c]
mov eax, dword [edx + 0x2dc]
mov eax, dword [eax]
test eax, eax
mov edi, 0x47c518
je 0x45ec37
mov edi, eax
mov esi, dword [esi + 0x208]
push esi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45ec51
push edi
call fcn.00467c80
add esp, 4
pop edi
pop esi
pop ecx
ret
Function at 0x460760
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x2004
call fcn.0047aea0
push 0x1fff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x2018]
add esp, 0xc
push 0
push 0
push 0x1fff
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea eax, [esp + 4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4607b0
push 0
sub eax, edx
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [esp + 0x2014]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
add esp, 0x2004
ret

Function at 0x4607e0
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x8004
call fcn.0047aea0
push 0x7fff
lea eax, [esp + 9]
push 0
push eax
mov byte [esp + 0x10], 0
call sub.msvcrt.dll_memset
mov edx, dword [esp + 0x8018]
add esp, 0xc
push 0
push 0
push 0x7fff
lea ecx, [esp + 0x10]
push ecx
push 0xffffffffffffffff
push edx
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
lea eax, [esp + 4]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x460830
push 0
sub eax, edx
lea ecx, [esp + 4]
push ecx
push eax
mov eax, dword [esp + 0x8014]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.DLL_WriteFile]
add esp, 0x8004
ret
Function at 0x4622a0
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
mov esi, eax
cmp esi, 0xffffffff
jne 0x4622c8
cmp dword [ecx + 0x2b4], 1
jne 0x4622c8
mov esi, dword [ecx + 0x2dc]
push edx
or eax, eax
call fcn.00466ab0
mov eax, 1
pop esi
pop ecx
ret
cmp dword [ecx + 0x24], 0
je 0x46230c
cmp dword [ecx + 0x28], 0
je 0x4622e1
push edx
push esi
call fcn.004607e0
add esp, 8
pop esi
pop ecx
ret
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4622e7
sub eax, edi
push 0
sar eax, 1
lea ecx, [esp + 0xc]
push ecx
add eax, eax
push eax
push edx
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop edi
pop esi
pop ecx
ret
push edx
push esi
call fcn.00460760
add esp, 8
pop esi
pop ecx
ret