joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405b20
Capabilities:
Get common file path

Disassembly:
sub esp, 0x25c
lea eax, [esp + 0x14]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [esp + 0x14]
push ecx
call fcn.004477f9
add esp, 4
cmp word [esp + eax*2 + 0x12], 0x5c
je 0x405b5d
lea edx, [esp + 0x14]
push 0x488c5c
push edx
call fcn.00450f44
add esp, 8
push esi
push edi
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, dword [esp + 0x16]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x12]
and ecx, 0xffff
mov edi, dword [esp + 0x26c]
push ecx
mov ecx, dword [esp + 0x14]
and edx, 0xffff
and eax, 0xffff
push edx
mov edx, dword [esp + 0x16]
and ecx, 0xffff
push eax
mov eax, dword [esp + 0x16]
push ecx
mov ecx, dword [esp + 0x18]
and edx, 0xffff
and eax, 0xffff
push edx
and ecx, 0xffff
push eax
lea edx, [esp + 0x34]
push ecx
lea esi, [edi + 0x10]
push edx
push str._siv__04d_02d_02d_02d_02d_02d_03d.tmp
push esi
call fcn.0043b274
push 0x488c08
push esi
call fcn.0043b317
add esp, 0x30
mov dword [edi + 0xc], eax
test eax, eax
jne 0x405c16
mov esi, dword [esp + 0x268]
push 0x50
push str.temp_filename
mov eax, dword [esi]
mov dword [eax + 0x14], 0x38
mov ecx, dword [esi]
add ecx, 0x18
push ecx
call fcn.00450e20
mov edx, dword [esi]
push esi
call dword [edx]
add esp, 0x10
mov dword [edi], 0x405c40
mov dword [edi + 4], 0x405cb0
mov dword [edi + 8], 0x405d20
pop edi
pop esi
add esp, 0x25c
ret
Function at 0x423e40
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 8], 0
je 0x423fce
cmp dword [0x488e68], 0
jne 0x423fce
push edi
push str.RtlGetNtVersionNumbers
push 0x452434
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
test eax, eax
je 0x423fcd
push esi
push 0x488e74
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp + 8]
push ecx
call eax
and dword [0x488e74], 0xfffffff
push 0x800
push 0
push str.uxtheme.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x423fcc
cmp dword [ebp + 8], 0xa
jb 0x423f36
push 0x31
push esi
call edi
push 0x68
push esi
mov dword [0x488e40], eax
call edi
push 0x6a
push esi
mov dword [0x488e34], eax
call edi
push 0x84
push esi
mov dword [0x488e3c], eax
call edi
push 0x85
push esi
mov dword [0x488e24], eax
call edi
push 0x87
push esi
mov dword [0x488e28], eax
call edi
cmp dword [0x488e74], 0x47ba
jae 0x423f0c
mov dword [0x488e2c], eax
jmp 0x423f11
mov dword [0x488e48], eax
push 0x89
push esi
call edi
push str.SetWindowCompositionAttribute
push str.user32.dll
mov dword [0x488e38], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call edi
mov dword [0x488e20], eax
push esi
call fcn.00423c00
add esp, 4
cmp dword [0x488e40], 0
je 0x423fcc
cmp dword [0x488e34], 0
je 0x423fcc
cmp dword [0x488e24], 0
je 0x423fcc
cmp dword [0x488e28], 0
je 0x423fcc
mov ecx, dword [0x488e2c]
mov eax, dword [0x488e48]
test ecx, ecx
jne 0x423f7a
test eax, eax
je 0x423fcc
cmp dword [0x488e38], 0
je 0x423fcc
mov dword [0x488e68], 1
test ecx, ecx
je 0x423f97
push 1
call ecx
jmp 0x423f9f
test eax, eax
je 0x423f9f
push 2
call eax
call dword [0x488e34]
call dword [0x488e24]
test eax, eax
je 0x423fc2
call fcn.00423bc0
mov dword [0x488e6c], 1
test al, al
je 0x423fcc
mov dword [0x488e6c], 0
pop esi
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x427b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 0
push esi
mov dword [ebp - 0x18], 0
call fcn.0043adf3
push esi
call fcn.0043aaa7
add esp, 0x10
test eax, eax
jne 0x427c09
mov edi, dword [ebp + 0xc]
lea ebx, [ebx]
push esi
push 2
lea eax, [ebp - 0x14]
push 1
push eax
call fcn.0043acb8
add esp, 0x10
cmp eax, 2
jne 0x427c09
cmp byte [ebp - 0x14], 0xff
jne 0x427b76
cmp byte [ebp - 0x13], 0xd8
je 0x427bd5
push esi
push 2
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0043acb8
add esp, 0x10
cmp eax, 2
jne 0x427c09
mov ax, word [ebp - 0x18]
rol ax, 8
cmp byte [ebp - 0x14], 0xff
movzx ecx, ax
mov dword [ebp - 0x18], ecx
jne 0x427ba8
movzx eax, byte [ebp - 0x13]
cmp eax, edi
je 0x427bf8
push 1
lea eax, [ecx - 2]
push eax
push esi
call fcn.0043adf3
add esp, 0xc
test eax, eax
jne 0x427c09
push esi
call fcn.0043aaa7
add esp, 4
test eax, eax
jne 0x427c09
push esi
call fcn.0043aacd
add esp, 4
test eax, eax
jne 0x427c09
push esi
call fcn.0043aaa7
add esp, 4
test eax, eax
je 0x427b50
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
push esi
call fcn.0043b208
sub eax, 2
add esp, 4
cmp eax, 2
ja 0x427c0b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
Function at 0x42a340
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
jne 0x42a355
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
cmp word [esi + 0xe], 8
je 0x42a375
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov ebx, dword [esi + 4]
mov eax, dword [esi + 8]
cdq
push edi
mov edi, eax
mov dword [ebp - 8], ebx
xor edi, edx
lea eax, [ebx*8 + 0x1f]
sub edi, edx
lea ecx, [ebx + ebx*2]
cdq
and edx, 0x1f
mov dword [ebp - 0x10], edi
add eax, edx
sar eax, 5
shl eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ecx*8 + 0x1f]
push dword [ebp - 0xc]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov ecx, eax
mov dword [ebp - 0x14], eax
imul ecx, edi
push edi
push ebx
push eax
mov dword [ebp - 4], ecx
call fcn.00429630
add esp, 0x10
test eax, eax
je 0x42a3e8
mov eax, dword [ebp - 4]
add eax, 0x28
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x42a3fb
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [ecx + 0x14], eax
mov dword [ecx + 4], ebx
mov dword [ecx], 0x28
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], 0x180001
mov dword [ecx + 0x10], 0
mov eax, dword [esi + 0x18]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [ecx + 0x1c], eax
mov dword [ecx + 0x20], 0
mov dword [ecx + 0x24], 0
mov eax, dword [esi + 0x20]
add eax, 0xa
lea ebx, [esi + eax*4]
lea eax, [ecx + 0x28]
mov dword [ebp - 4], eax
test edi, edi
je 0x42a4a4
mov ecx, dword [ebp - 8]
mov edx, ebx
test ecx, ecx
je 0x42a492
mov edi, ecx
lea esp, [esp]
movzx ecx, byte [edx]
lea eax, [eax + 3]
lea edx, [edx + 1]
movzx ecx, byte [esi + ecx*4 + 0x28]
mov byte [eax - 3], cl
movzx ecx, byte [edx - 1]
movzx ecx, byte [esi + ecx*4 + 0x29]
mov byte [eax - 2], cl
movzx ecx, byte [edx - 1]
movzx ecx, byte [esi + ecx*4 + 0x2a]
mov byte [eax - 1], cl
dec edi
jne 0x42a460
mov edi, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
add ebx, dword [ebp - 0xc]
dec edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], edi
jne 0x42a454
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push eax
call esi
mov edi, dword [ebp - 0x18]
push edi
call esi
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42f750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x73d
push dword [0x488ea0]
mov dword [ebp - 0x210], eax
call ebx
test eax, eax
je 0x42f947
cmp dword [ebp + 0x10], 1
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
jne 0x42f842
mov eax, dword [0x488ea8]
test eax, eax
je 0x42f7bb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x488ea8], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [0x488ea0]
call ebx
mov eax, dword [0x488eac]
test eax, eax
jne 0x42f7fa
push eax
push 0x42c930
push dword [0x488ea0]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0x6f
push dword [0x48942c]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x488eac], eax
test esi, esi
jg 0x42f817
push dword [ebp - 0x210]
push 0
push 0x737
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x488eac]
push 5
push 0x405
push eax
call edi
push eax
call ebx
test esi, esi
jle 0x42f83a
push 0
push 0x405
push dword [0x488eac]
call edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x42f88c
mov eax, dword [0x488eac]
test eax, eax
je 0x42f85c
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x488eac], 0
cmp dword [0x488ea8], 0
jne 0x42f88c
push 0
push 0x4323a0
push dword [0x488ea0]
call dword [sym.imp.USER32.dll_GetParent]
push eax
push 0x6e
push dword [0x48942c]
call dword [sym.imp.USER32.dll_CreateDialogParamW]
mov dword [0x488ea8], eax
push dword [0x488eac]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42f945
push 0
push 0
push 0x18b
push dword [0x488eb0]
call ebx
push eax
mov eax, dword [0x488eb4]
inc eax
push eax
lea eax, [ebp - 0x20c]
push str.__.2d__.2d
push eax
call fcn.004320f0
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
push 0x407
push dword [0x488eac]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push 0
push 0
push 0x18b
push dword [0x488eb0]
call ebx
cmp eax, 1
jg 0x42f91b
test esi, esi
jg 0x42f91b
push 0
push 0x3ee
push dword [0x488eac]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 0
jmp 0x42f935
push 1
push 0x3ee
push dword [0x488eac]
call edi
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push eax
call esi
push 1
push 0x3ed
push dword [0x488eac]
call edi
push eax
call esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
Function at 0x42f9c0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x488eac]
push esi
mov esi, dword [0x488ea8]
test eax, eax
jne 0x42f9d7
test esi, esi
je 0x42f9fd
push dword [ebp + 8]
cmp dword [0x488ec0], 0
push 0x67
push 0x72b
cmovne esi, eax
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [0x488eac]
mov esi, dword [0x488ea8]
test byte [0x488ec8], 4
jne 0x42fa4c
test eax, eax
jne 0x42fa0e
test esi, esi
je 0x42fa4c
cmp dword [0x488ec0], 0
push edi
push str.IDI_PLAY
push dword [0x48942c]
cmovne esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
je 0x42fa4b
push edi
push 1
push 0xf7
push 0xc9f
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
push 0x20d
push dword [0x488ea0]
push 0x4c8
push dword [0x488ea4]
call dword [sym.imp.USER32.dll_PostMessageW]
test byte [0x488ec8], 4
pop esi
je 0x42fa78
pop ebp
jmp fcn.00430630
cmp dword [0x488ec0], 0
je 0x42fa96
push 0
push 0
push 0x739
push dword [0x488ea0]
call dword [sym.imp.USER32.dll_SendMessageW]
pop ebp
ret
Function at 0x430700
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x488eac]
push esi
mov esi, dword [0x488ea8]
test eax, eax
jne 0x430717
test esi, esi
je 0x430762
cmp dword [ebp + 8], 0
push edi
je 0x430725
push str.IDI_PAUSE
jmp 0x43072a
push str.IDI_PLAY
cmp dword [0x488ec0], 0
push dword [0x48942c]
cmovne esi, eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov edi, eax
test edi, edi
je 0x430761
push edi
push 1
push 0xf7
push 0xc9f
push esi
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
push edi
call dword [sym.imp.USER32.dll_DestroyIcon]
pop edi
pop esi
pop ebp
ret
Function at 0x433400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa38
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
push ebx
push 0x453274
push 0x48bb40
call fcn.0043b274
push 0x4525f0
push 0x48bb40
call fcn.0043b317
mov edi, eax
mov dword [ebp - 0xa30], 0xfeff
push edi
push 1
lea eax, [ebp - 0xa30]
mov dword [ebp - 0xa38], edi
push 2
push eax
call fcn.0043d5ac
add esp, 0x24
mov dword [ebp - 0xa34], 0
cmp dword [0x48a8c0], 0
jle 0x433666
push esi
xor esi, esi
mov dword [ebp - 0xa30], esi
lea ecx, [ecx]
add esi, dword [0x48a8a4]
cmp dword [esi + 0x14], 0
ja 0x433496
cmp dword [esi + 0x10], 0
jbe 0x43363a
lea edx, [ebp - 0x20c]
mov ecx, ebx
sub edx, ebx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4334a0
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
lea eax, [ebp - 0xa2c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.0043d214
lea edx, [ebp - 0x61c]
add esp, 0x14
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4334e0
lea edi, [ebp - 0x20c]
sub edx, esi
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4334f6
mov ecx, edx
mov eax, dword [0x48a8a4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0xa30]
mov eax, dword [ecx + eax]
cmp eax, 0x1a
je 0x43355a
cmp eax, 0x22
je 0x43355a
cmp eax, 0x78
je 0x43355a
cmp eax, 0x33
je 0x43355a
cmp eax, 0xa
je 0x43355a
cmp eax, 0x32
je 0x43355a
cmp eax, 0x59
je 0x43355a
cmp eax, 0x1f
je 0x43355a
lea eax, [ebp - 0x414]
push str..jpg
push eax
call fcn.0043b274
add esp, 8
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x61c]
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_s
push eax
call fcn.0043b274
add esp, 0x14
cmp word [ebp - 0x20c], 0
je 0x433606
lea eax, [ebp - 0x20c]
push 0x4525bc
push eax
call fcn.0043b317
add esp, 8
test eax, eax
je 0x433606
push eax
call fcn.0043aa30
add esp, 4
mov esi, 1
lea eax, [ebp - 0x414]
push eax
push esi
lea eax, [ebp - 0x61c]
push eax
push ebx
lea eax, [ebp - 0x20c]
push str._s_s_d_s
push eax
call fcn.0043b274
add esp, 0x18
cmp word [ebp - 0x20c], 0
je 0x433606
lea eax, [ebp - 0x20c]
push 0x4525bc
push eax
call fcn.0043b317
add esp, 8
test eax, eax
je 0x433606
push eax
call fcn.0043aa30
inc esi
add esp, 4
cmp esi, 0x64
jl 0x4335b1
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0xa34]
call fcn.00433690
mov edi, dword [ebp - 0xa38]
add esp, 8
test edi, edi
je 0x43363a
lea eax, [ebp - 0x20c]
push eax
push 0x4532d0
push edi
call fcn.0043d62e
add esp, 0xc
mov eax, dword [ebp - 0xa34]
mov esi, dword [ebp - 0xa30]
inc eax
add esi, 0x2238
mov dword [ebp - 0xa34], eax
mov dword [ebp - 0xa30], esi
cmp eax, dword [0x48a8c0]
jl 0x433480
pop esi
test edi, edi
je 0x433673
push edi
call fcn.0043aa30
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop ebx
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
Function at 0x433690
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x48a8a4]
sub esp, 0xc
push esi
imul esi, dword [ebp + 8], 0x2238
cmp dword [esi + eax + 0x14], 0
ja 0x4336b8
cmp dword [esi + eax + 0x10], 0
ja 0x4336b8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push 0x48b700
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x4336e5
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x48a8a4]
push 0
mov ecx, dword [esi + eax + 8]
mov eax, dword [esi + eax + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push ecx
push ebx
mov dword [ebp - 0xc], ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
jne 0x433714
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [0x48a8a4]
push edi
mov eax, dword [esi + eax + 0x10]
push eax
mov dword [ebp + 8], eax
call fcn.0043a2a6
mov edi, eax
add esp, 4
test edi, edi
jne 0x433740
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop ebx
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jbe 0x4337a1
push 0x4525f0
push dword [ebp + 0xc]
call fcn.0043b317
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x433786
push edi
call fcn.0043a26e
add esp, 4
xor eax, eax
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x48a8a4]
push ebx
push 1
push dword [esi + eax + 0x10]
push edi
call fcn.0043d5ac
push ebx
call fcn.0043aa30
add esp, 0x14
push edi
call fcn.0043a26e
add esp, 4
mov eax, 1
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4339e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, str.Unknown
push edi
mov edi, dword [ebp + 0xc]
mov edx, edi
sub edx, ecx
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x433a04
push 0x4525bc
push esi
call fcn.0043b317
mov esi, eax
add esp, 8
test esi, esi
jne 0x433a37
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
push esi
push 1
lea eax, [ebp - 0x94]
push 0x80
push eax
call fcn.0043acb8
push esi
call fcn.0043aa30
add esp, 0x14
xor eax, eax
jmp 0x433a60
mov cl, byte [ebp + eax - 0x94]
cmp cl, 0x76
jne 0x433a8a
cmp byte [ebp + eax - 0x93], 0x69
jne 0x433a8a
cmp byte [ebp + eax - 0x92], 0x64
jne 0x433a8a
cmp byte [ebp + eax - 0x91], 0x73
je 0x433ab7
cmp cl, 0x56
jne 0x433aad
cmp byte [ebp + eax - 0x93], 0x49
jne 0x433aad
cmp byte [ebp + eax - 0x92], 0x44
jne 0x433aad
cmp byte [ebp + eax - 0x91], 0x53
je 0x433ab7
inc eax
cmp eax, 0x80
jl 0x433a60
jmp 0x433af6
movsx ecx, byte [ebp + eax - 0x90]
mov word [edi], cx
movsx ecx, byte [ebp + eax - 0x8f]
mov word [edi + 2], cx
movsx ecx, byte [ebp + eax - 0x8e]
movsx ax, byte [ebp + eax - 0x8d]
push edi
mov word [edi + 4], cx
mov word [edi + 6], ax
xor eax, eax
mov word [edi + 8], ax
call fcn.0043d147
add esp, 4
mov ecx, dword [ebp - 4]
mov eax, 1
pop edi
xor ecx, ebp
pop esi
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
Function at 0x433dc0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x489478], 0
je 0x433df5
xor eax, eax
cmp dword [0x48946c], eax
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
push esi
push edi
push 0x90
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00439bf0
add esp, 0xc
mov dword [ebp - 0x98], 0x94
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
xor eax, eax
cmp dword [ebp - 0x88], 2
push str.USER32
sete al
mov dword [0x48947c], eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x433ede
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x452dcc
push esi
call edi
mov dword [0x48945c], eax
test eax, eax
je 0x433ede
push str.MonitorFromWindow
push esi
call edi
mov dword [0x489460], eax
test eax, eax
je 0x433ede
push str.MonitorFromRect
push esi
call edi
mov dword [0x489464], eax
test eax, eax
je 0x433ede
push str.MonitorFromPoint
push esi
call edi
mov dword [0x489468], eax
test eax, eax
je 0x433ede
push str.EnumDisplayMonitors
push esi
call edi
mov dword [0x489470], eax
test eax, eax
je 0x433ede
push str.EnumDisplayDevicesW
push esi
call edi
mov dword [0x489474], eax
test eax, eax
je 0x433ede
cmp dword [0x48947c], 0
je 0x433ec6
push str.GetMonitorInfoW
jmp 0x433ecb
push str.GetMonitorInfoA
push esi
call edi
mov dword [0x48946c], eax
test eax, eax
je 0x433ede
mov eax, 1
jmp 0x433f26
mov dword [0x48945c], 0
xor eax, eax
mov dword [0x489460], 0
mov dword [0x489464], 0
mov dword [0x489468], 0
mov dword [0x48946c], 0
mov dword [0x489470], 0
mov dword [0x489474], 0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [0x489478], 1
pop esi
call fcn.00439bd8
mov esp, ebp
pop ebp
ret

Function at 0x433f40
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0x736
push ebx
call edi
push 0
push 0
push 0x735
push ebx
call edi
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433fd0
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0x10], 0
je 0x433fbb
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x433fbb
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 8]
push dword [ebp + 0xc]
sub eax, dword [ebp - 0x10]
movzx eax, ax
push eax
push 0x72d
push ebx
call edi
mov eax, dword [ebp + 0x14]
neg eax
push 0
sbb eax, eax
and eax, 0x65
push eax
push 0x72c
push esi
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
Function at 0x434480
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x830
mov eax, dword [0x487010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
imul esi, ecx, 0x2238
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [ebp - 0x82c], eax
mov eax, dword [0x48a8a4]
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x828], esi
cmp dword [esi + eax + 0x14], 0
ja 0x4344e8
cmp dword [esi + eax + 0x10], 0
ja 0x4344e8
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ecx, ebx
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434500
sub ecx, edx
sar ecx, 1
push edi
cmp word [ebx + ecx*2 - 2], 0x5c
je 0x434533
lea edi, [ebx - 2]
jmp 0x434520
mov ax, word [edi + 2]
lea edi, [edi + 2]
test ax, ax
jne 0x434520
mov eax, dword [0x453270]
mov dword [edi], eax
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x824]
push eax
lea eax, [ebp - 0x61c]
push eax
mov eax, dword [0x48a8a4]
add eax, 0x1c
add eax, esi
push eax
call fcn.0043d214
lea edx, [ebp - 0x20c]
add esp, 0x14
mov esi, edx
lea ebx, [ebx]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x434570
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x434580
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp - 0x414]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, edx
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4345a2
sub edx, esi
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x4345b2
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [0x48a8a4]
mov esi, dword [ebp - 0x828]
pop edi
mov eax, dword [edx + esi]
cmp eax, 0x1a
je 0x434646
cmp eax, 0x22
je 0x434646
cmp eax, 0x78
je 0x434646
cmp eax, 0x33
je 0x434646
cmp eax, 0xa
je 0x434646
cmp eax, 0x32
je 0x434646
cmp eax, 0x59
je 0x434646
cmp eax, 0x1f
je 0x434646
mov ecx, dword [ebp - 0x82c]
mov eax, dword [edx + esi + 8]
mov dword [ecx], eax
mov eax, dword [edx + esi + 0xc]
mov dword [ecx + 4], eax
mov eax, dword [0x48a8a4]
mov edx, dword [esi + eax + 0x10]
add edx, dword [ecx]
mov eax, dword [esi + eax + 0x14]
adc eax, dword [ecx + 4]
test eax, eax
ja 0x434637
jb 0x43466a
cmp edx, 0x7fffffff
jb 0x43466a
mov dword [ecx], 0
mov dword [ecx + 4], 0
jmp 0x43469d
push dword [0x489438]
mov esi, dword [sym.imp.USER32.dll_IsWindow]
call esi
test eax, eax
je 0x43467f
push 0x48aaa0
push ebx
call fcn.0043a089
add esp, 8
test eax, eax
jne 0x43467f
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00439bd8
mov esp, ebp
pop ebp
ret
push dword [0x489434]
call esi
test eax, eax
je 0x43469d
push 0x48aec0
push ebx
call fcn.0043a089
add esp, 8
test eax, eax
je 0x43466a
push ebx
call fcn.0043d147
push ebx
push dword [ebp - 0x830]
call fcn.00433690
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
pop esi
pop ebx
call fcn.00439bd8
mov esp, ebp
pop ebp
ret