joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ee89
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fe80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2a4
mov dword [ebp - 0x2b0], ecx
mov ecx, dword [ebp - 0x2b0]
add ecx, 0xc0
call fcn.00402270
push eax
push 0x104
lea eax, [ebp - 0x2a8]
push eax
push 0
push 0x47489c
push 0x4748a4
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jne 0x41ef07
push 0x4748ac
mov ecx, dword [ebp - 0x2b0]
add ecx, 0xe0
call fcn.004552a9
jmp 0x41f09b
lea ecx, [ebp - 0x1a0]
call fcn.00402210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2a8]
push ecx
push 0x4748b4
lea edx, [ebp - 0x1a0]
push edx
call fcn.0044fdfe
add esp, 0xc
lea ecx, [ebp - 0x1a0]
call fcn.00402270
push eax
push 0x104
lea eax, [ebp - 0x2a8]
push eax
push 0
push 0x4748c0
push 0x4748d0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jne 0x41ef9a
push 0x4748dc
mov ecx, dword [ebp - 0x2b0]
add ecx, 0xe0
call fcn.004552a9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00455120
jmp 0x41f09b
lea ecx, [ebp - 0x1a0]
call fcn.00402270
push eax
push 0xc8
lea ecx, [ebp - 0x19c]
push ecx
push 0x479964
push 0x4748e4
lea edx, [ebp - 0x2a8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x2ac], eax
lea ecx, [ebp - 0x1a0]
call fcn.00402270
push eax
push 0xc8
lea eax, [ebp - 0xd4]
push eax
push 0x479968
push 0x4748ec
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1a4], eax
cmp dword [ebp - 0x1a4], 0
jne 0x41f037
push 0x4748f4
mov ecx, dword [ebp - 0x2b0]
add ecx, 0xe0
call fcn.004552a9
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00455120
jmp 0x41f09b
cmp dword [ebp - 0x2ac], 0
jne 0x41f062
lea edx, [ebp - 0xd4]
push edx
push 0x4748fc
mov eax, dword [ebp - 0x2b0]
add eax, 0xe0
push eax
call fcn.0044fdfe
add esp, 0xc
jmp 0x41f089
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x19c]
push edx
push 0x474908
mov eax, dword [ebp - 0x2b0]
add eax, 0xe0
push eax
call fcn.0044fdfe
add esp, 0x10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1a0]
call fcn.00455120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41f3d4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fee9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push edi
mov dword [ebp - 0x1e8], ecx
mov al, byte [0x479970]
mov byte [ebp - 0x1e0], al
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1df]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, dword [ebp - 0x1e8]
add ecx, 0xc0
call fcn.00402270
push eax
push 0x104
lea ecx, [ebp - 0x1e0]
push ecx
push 0
push 0x474920
push 0x474928
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x41f45a
jmp 0x41f5c2
lea ecx, [ebp - 0xd8]
call fcn.00402210
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1e0]
push edx
push 0x474930
lea eax, [ebp - 0xd8]
push eax
call fcn.0044fdfe
add esp, 0xc
lea ecx, [ebp - 0xd8]
call fcn.00402270
push eax
push 0x104
lea ecx, [ebp - 0x1e0]
push ecx
push 0
push 0x47493c
push 0x47494c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x41f4d7
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00455120
jmp 0x41f5c2
lea ecx, [ebp - 0xd8]
call fcn.00402270
push eax
push 0xc8
lea edx, [ebp - 0xd4]
push edx
push 0x474958
push 0x474960
lea eax, [ebp - 0x1e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0
jne 0x41f52c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00455120
jmp 0x41f5c2
lea ecx, [ebp - 0xd4]
push ecx
push 0x47496c
mov edx, dword [ebp - 0x1e8]
add edx, 0xdc
push edx
call fcn.0044fdfe
add esp, 0xc
call fcn.004025a0
mov dword [ebp - 0x1e4], eax
push 0x474970
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, 0x479934
call fcn.0041bde3
push str.StringTable
push 0x474984
mov ecx, dword [ebp - 0x1e8]
add ecx, 0xc4
call fcn.00402270
push eax
mov ecx, 0x479934
call fcn.0041be84
mov ecx, dword [ebp - 0x1e8]
add ecx, 0xdc
call fcn.00402270
push eax
mov ecx, 0x479934
call fcn.0041becf
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00455120
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f8a8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45ff5a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1e8
mov dword [ebp - 0x1ec], ecx
mov ecx, dword [ebp - 0x1ec]
add ecx, 0xc0
call fcn.00402270
push eax
push 0x104
lea eax, [ebp - 0x1e0]
push eax
push 0
push 0x4749a0
push 0x4749a8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xd8]
call fcn.00402210
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1e0]
push ecx
lea ecx, [ebp - 0xd8]
call fcn.004552a9
push str.Mtwm.ini
lea ecx, [ebp - 0xd8]
call fcn.00455488
mov edx, 1
test edx, edx
je 0x41f94b
mov dword [ebp - 0x1f0], 0
jmp 0x41f965
mov eax, dword [ebp - 0xd8]
push eax
push str._nm_csMtwmini:__s
call fcn.004021d0
add esp, 8
mov dword [ebp - 0x1f0], eax
lea ecx, [ebp - 0xd8]
call fcn.00402270
push eax
push 0xc8
lea ecx, [ebp - 0xd4]
push ecx
push str.Spicall.DLL
push str.DevDll
push str.Scanner
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x1e4], eax
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x1e0]
push eax
push 0x4749ec
mov ecx, dword [ebp - 0x1ec]
add ecx, 0x108
push ecx
call fcn.0044fdfe
add esp, 0x10
mov edx, 1
test edx, edx
je 0x41f9d5
mov dword [ebp - 0x1f4], 0
jmp 0x41f9f5
mov eax, dword [ebp - 0x1ec]
mov ecx, dword [eax + 0x108]
push ecx
push str._nstrSpicall:__s
call fcn.004021d0
add esp, 8
mov dword [ebp - 0x1f4], eax
mov dword [ebp - 0x1e8], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd8]
call fcn.00455120
mov eax, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x420100
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4600da
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
push 0x66
mov ecx, dword [ebp - 0x14]
call fcn.004561e9
mov dword [ebp - 4], 0
push 1
mov ecx, dword [ebp - 0x14]
add ecx, 0x6c
call fcn.00401000
mov byte [ebp - 4], 1
push 2
mov ecx, dword [ebp - 0x14]
add ecx, 0x148
call fcn.00401000
mov byte [ebp - 4], 2
push 3
mov ecx, dword [ebp - 0x14]
add ecx, 0x220
call fcn.00401000
mov byte [ebp - 4], 3
push 5
mov ecx, dword [ebp - 0x14]
add ecx, 0x2f8
call fcn.00401000
mov byte [ebp - 4], 4
push 4
mov ecx, dword [ebp - 0x14]
add ecx, 0x3d0
call fcn.00401000
mov byte [ebp - 4], 5
push 9
mov ecx, dword [ebp - 0x14]
add ecx, 0x4a8
call fcn.00401000
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x14]
add ecx, 0x588
call fcn.00402500
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x14]
add ecx, 0x590
call fcn.00457d38
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x14]
add ecx, 0x5a4
call fcn.0041b640
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x14]
add ecx, 0x5ac
call fcn.0041b640
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
add ecx, 0x5b4
call fcn.00402210
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x14]
add ecx, 0x5c4
call fcn.004510cc
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x14]
mov dword [ecx], method.CDialog.virtual_0
push 0x80
call fcn.00423620
mov ecx, eax
call fcn.00423760
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x5d8], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x68], 1
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push 0x474b38
push 0x474b44
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x5b8], edx
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x5bc], 1
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42243b
Capabilities:
Check os version
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4603bf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
mov dword [ebp - 0x1d4], ecx
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push 0x474ed8
push 0x474ee8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x422573
lea ecx, [ebp - 0xb4]
call fcn.004076a0
lea ecx, [ebp - 0xc4]
call fcn.004076a0
push 0x1f4
push 0x1ea
push 0x4c
push 0
lea ecx, [ebp - 0xb4]
call fcn.0041b530
lea eax, [ebp - 0xb4]
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.00458273
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x1d4]
call fcn.004236f0
mov dword [ebp - 0xa4], 0x94
lea edx, [ebp - 0xa4]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa0], 5
jb 0x42253d
cmp dword [ebp - 0x9c], 1
jb 0x42253d
push 1
lea ecx, [ebp - 0xb4]
call fcn.004076d0
add eax, 0x6c
push eax
lea ecx, [ebp - 0xb4]
call fcn.004076b0
push eax
mov eax, dword [ebp - 0xc0]
push eax
mov ecx, dword [ebp - 0xc4]
push ecx
mov ecx, dword [ebp - 0x1d4]
call fcn.00454819
jmp 0x422573
push 1
lea ecx, [ebp - 0xb4]
call fcn.004076d0
add eax, 0x64
push eax
lea ecx, [ebp - 0xb4]
call fcn.004076b0
push eax
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.00454819
push 0
mov ecx, dword [ebp - 0x1d4]
mov ecx, dword [ecx + 0x64]
call fcn.004548a9
push 5
mov edx, dword [ebp - 0x1d4]
mov ecx, dword [edx + 0x60]
call fcn.004548a9
mov ecx, dword [ebp - 0x1d4]
call fcn.00402920
mov eax, dword [ebp - 0x1d4]
cmp dword [eax + 0x5c0], 0
je 0x42267f
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push 0x474ef8
push 0x474f04
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 1
jne 0x42267f
mov ecx, dword [ebp - 0x1d4]
cmp dword [ecx + 0x5bc], 0
jne 0x42267f
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x104
lea edx, [ebp - 0x1d0]
push edx
push 0x4799d0
push str.Set_Panel
push 0x474f18
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xcc]
call fcn.00402210
mov dword [ebp - 4], 0
lea eax, [ebp - 0x1d0]
push eax
mov ecx, dword [0x479914]
push ecx
push 0x474f20
lea edx, [ebp - 0xcc]
push edx
call fcn.0044fdfe
add esp, 0x10
push 0x20000
push 0
lea ecx, [ebp - 0xcc]
call fcn.00402270
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00455120
mov eax, dword [ebp - 0x1d4]
mov dword [eax + 0x5bc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x42269d
Capabilities:
Check os version
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4603d5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
mov dword [ebp - 0x1d4], ecx
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push 0x474f28
push 0x474f38
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4227c3
lea ecx, [ebp - 0xb4]
call fcn.004076a0
lea ecx, [ebp - 0xc4]
call fcn.004076a0
push 0x1f4
push 0x1ea
push 0x4c
push 0
lea ecx, [ebp - 0xb4]
call fcn.0041b530
lea eax, [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.004236f0
mov dword [ebp - 0xa4], 0x94
lea ecx, [ebp - 0xa4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0xa0], 5
jb 0x42278d
cmp dword [ebp - 0x9c], 1
jb 0x42278d
push 1
lea ecx, [ebp - 0xb4]
call fcn.004076d0
add eax, 0x16
push eax
lea ecx, [ebp - 0xb4]
call fcn.004076b0
push eax
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xc4]
push eax
mov ecx, dword [ebp - 0x1d4]
call fcn.00454819
jmp 0x4227c3
push 1
lea ecx, [ebp - 0xb4]
call fcn.004076d0
add eax, 0xe
push eax
lea ecx, [ebp - 0xb4]
call fcn.004076b0
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0x1d4]
call fcn.00454819
push 0
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [eax + 0x60]
call fcn.004548a9
push 5
mov ecx, dword [ebp - 0x1d4]
mov ecx, dword [ecx + 0x64]
call fcn.004548a9
mov ecx, dword [ebp - 0x1d4]
call fcn.00402920
mov edx, dword [ebp - 0x1d4]
cmp dword [edx + 0x5c0], 0
je 0x4228ce
mov ecx, 0x479910
call fcn.00402270
push eax
push 0
push 0x474f48
push 0x474f54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 1
jne 0x4228ce
mov eax, dword [ebp - 0x1d4]
cmp dword [eax + 0x5bc], 0
jne 0x4228ce
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x104
lea ecx, [ebp - 0x1d0]
push ecx
push 0x4799d4
push str.Set_Scanner
push 0x474f68
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xcc]
call fcn.00402210
mov dword [ebp - 4], 0
lea edx, [ebp - 0x1d0]
push edx
mov eax, dword [0x479914]
push eax
push 0x474f70
lea ecx, [ebp - 0xcc]
push ecx
call fcn.0044fdfe
add esp, 0x10
push 0x20000
push 0
lea ecx, [ebp - 0xcc]
call fcn.00402270
push eax
call dword [sym.imp.WINMM.dll_PlaySoundA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcc]
call fcn.00455120
mov edx, dword [ebp - 0x1d4]
mov dword [edx + 0x5bc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x431fe0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461768
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x278
mov dword [ebp - 0x27c], ecx
mov dword [ebp - 0x278], 0
lea ecx, [ebp - 0x14]
call fcn.00402210
mov dword [ebp - 4], 1
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea eax, [ebp - 0x78]
push eax
push 0x479a94
push str.From
push 0x476e4c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x14]
call fcn.004552a9
lea ecx, [ebp - 0x10]
call fcn.00402210
mov byte [ebp - 4], 2
mov ecx, 0x479910
call fcn.00402270
push eax
push 0x64
lea edx, [ebp - 0x78]
push edx
push 0x479a98
push str.Ini_File
push 0x476e64
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x10]
call fcn.004552a9
lea ecx, [ebp - 0x10]
push ecx
push 0x479914
lea edx, [ebp - 0x274]
push edx
call fcn.0045534f
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x280]
mov dword [ebp - 0x284], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00455259
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x274]
call fcn.00455120
lea ecx, [ebp - 0x10]
call fcn.00402270
push eax
push 0x1f4
lea edx, [ebp - 0x26c]
push edx
push 0x479a9c
push str.SignUpPage
lea ecx, [ebp - 0x14]
call fcn.00402270
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x270]
call fcn.00402210
mov byte [ebp - 4], 4
lea eax, [ebp - 0x26c]
push eax
lea ecx, [ebp - 0x270]
call fcn.004552a9
lea ecx, [ebp - 0x270]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00454e95
mov edx, dword [ebp - 0x278]
or edx, 1
mov dword [ebp - 0x278], edx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x270]
call fcn.00455120
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call fcn.00455120
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.00455120
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x447b31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x478bc0
cmp edx, dword [eax]
je 0x447b53
add eax, 8
inc ecx
cmp eax, 0x478c50
jl 0x447b44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x478bc0]
jne 0x447c81
mov eax, dword [0x47bbf0]
cmp eax, 1
je 0x447c5b
test eax, eax
jne 0x447b84
cmp dword [0x4784a4], 1
je 0x447c5b
cmp edx, 0xfc
je 0x447c81
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x447bbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00448bc0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004431c0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x447bfe
lea eax, [ebp - 0x1a4]
push eax
call fcn.004431c0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4671dc
push edi
call fcn.00449af0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00448bc0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00448bd0
lea eax, [ebp - 0xa0]
push 0x4671bc
push eax
call fcn.00448bd0
push dword [esi + 0x478bc4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00448bd0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00449a67
add esp, 0x2c
pop edi
jmp 0x447c81
lea eax, [ebp + 8]
lea esi, [esi + 0x478bc4]
push 0
push eax
push dword [esi]
call fcn.004431c0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x44f050
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00443240
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x44f11b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x44f11b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x44f0ce
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x44f0d9
or bh, 8
and edi, 0x8000000
je 0x44f0f4
mov eax, dword [0x47d35c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x44f11b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f4f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 8]
sub esp, 4
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
push ebp
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x44f51b
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x44f53f
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
push ebx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebp, eax
test ebp, ebp
jne 0x44f55a
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
mov edi, ebp
mov ecx, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov cl, ah
mov edx, eax
mov dword [esp + 0x10], 0
shl ecx, 8
shr edx, 0x10
mov byte [esp + 0x10], dl
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x28]
or ecx, edx
mov edx, eax
shr edx, 0x10
mov dword [ebp + 0x28], ecx
mov dword [esp + 0x10], 0
xor ecx, ecx
mov byte [esp + 0x10], dl
mov cl, ah
xor edx, edx
shl ecx, 8
mov dl, al
shl edx, 0x10
or ecx, dword [esp + 0x10]
or ecx, edx
mov eax, dword [esp + 0x24]
mov edx, eax
mov dword [ebp + 0x44], ecx
shr edx, 0x10
xor ecx, ecx
mov dword [esp + 0x10], 0
mov cl, ah
mov byte [esp + 0x10], dl
shl ecx, 8
xor edx, edx
or ecx, dword [esp + 0x10]
mov dl, al
shl edx, 0x10
mov eax, dword [esp + 0x2c]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x48], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x30]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x64], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
mov eax, dword [esp + 0x34]
or ecx, edx
xor edx, edx
mov dl, al
mov dword [ebp + 0x54], ecx
shl edx, 0x10
xor ecx, ecx
mov cl, ah
shl ecx, 8
push 0
shr eax, 0x10
or ecx, edx
xor edx, edx
mov dl, al
or ecx, edx
mov dword [ebp + 0x50], ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edi, eax
push 0
push ebp
lea ecx, [ebp + 0x68]
push ecx
push 4
push ebp
push edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov esi, eax
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret 0x20
Function at 0x453fee
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x454030
call fcn.0045a89b
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x454030
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x454027
xor eax, eax
jmp 0x454038
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0045403e
pop edi
pop esi
pop ebx
ret 4

Function at 0x45b3c7
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45b3f5
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45b413
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045b32d
jmp 0x45b413
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45b413
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045b32d
test edi, edi
mov eax, edi
jne 0x45b3fd
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8

Function at 0x427b60
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x21000]
push edi
or ebp, 0xffffffff
jmp 0x427b82
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x427b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x427b78
mov eax, 1
add ebx, ebx
jne 0x427b9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x427b90
jne 0x427bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427b90
xor ecx, ecx
sub eax, 3
jb 0x427bc0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x427c32
mov ebp, eax
add ebx, ebx
jne 0x427bcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x427bd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x427bfc
inc ecx
add ebx, ebx
jne 0x427be8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x427bdd
jne 0x427bf9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x427bdd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x427c1c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x427c0d
jmp 0x427b7e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x427c1c
add edi, ecx
jmp 0x427b7e
pop esi
mov edi, esi
mov ecx, 0x43b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x427c3a
cmp byte [edi], 0
jne 0x427c3a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x427c3f
lea edi, [esi + 0x25000]