joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41f521
Capabilities:
Resolve dns
Set socket configuration

Disassembly:
push 0x48
mov eax, 0x6e2484
call fcn.005770f8
xor edi, edi
xorps xmm0, xmm0
mov dword [ebp - 4], edi
mov esi, edi
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x48], edi
cmp dword [edx + 0x10], edi
je 0x41f566
cmp dword [edx + 0x14], 0x10
mov esi, edx
jb 0x41f55a
mov esi, dword [edx]
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x54], 4
jmp 0x41f57e
cmp dword [ecx + 0x10], edi
je 0x41f575
cmp dword [ecx + 0x14], 0x10
mov esi, ecx
jb 0x41f575
mov esi, dword [ecx]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], edi
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x28]
call fcn.00404489
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x54]
push ecx
push eax
push esi
call dword [sym.imp.WS2_32.dll_getaddrinfo]
test eax, eax
jne 0x41f665
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x41f65e
push 0x81
push edi
push edi
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41f5ee
push dword [esi + 0xc]
push dword [esi + 8]
push dword [esi + 4]
call dword [sym.imp.WS2_32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x41f64d
cmp byte [ebp + 0x14], 0
je 0x41f60a
push 4
xor ecx, ecx
lea eax, [ebp - 0x30]
push eax
inc ecx
push ecx
push 6
push edi
mov dword [ebp - 0x30], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x41f61d
mov dword [ebp - 0x30], edi
lea edx, [ebp - 0x30]
mov eax, dword [ecx]
push edx
call dword [eax + 8]
cmp dword [esi + 4], 0x17
jne 0x41f638
and dword [ebp - 0x34], 0
lea eax, [ebp - 0x34]
push 4
push eax
push 0x1b
push 0x29
push edi
call dword [sym.imp.WS2_32.dll_setsockopt]
push esi
push edi
lea ecx, [ebp + 0x40]
call fcn.004137b8
test al, al
jne 0x41f697
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
mov esi, dword [esi + 0x1c]
push 0
pop edi
test esi, esi
jne 0x41f5bb
mov esi, dword [ebp - 0x2c]
push esi
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
or edi, 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402575
mov dword [ebp - 4], 4
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x41f68f
mov esi, dword [ecx]
lea eax, [ebp + 0x18]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov eax, edi
call fcn.005770a2
ret
push dword [ebp - 0x2c]
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x41f668
Function at 0x420725
Capabilities:
Set socket configuration

Disassembly:
push 0
mov eax, 0x6e17b4
call fcn.005770c4
mov esi, edx
mov ebx, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.004129c9
push esi
call fcn.00587290
mov esi, eax
and dword [ebp - 4], 0
push edi
call fcn.004129e8
or dword [ebp - 4], 0xffffffff
add esp, 0xc
test esi, esi
je 0x4207e8
lea eax, [ebp + 8]
mov dword [ebp + 8], 1
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
push 0
push ebx
call fcn.005bd6c0
push 0
push 1
push 0x66
push eax
mov dword [ebp + 8], eax
call fcn.005c0700
mov eax, dword [ebp + 8]
push eax
push eax
push esi
call fcn.00587970
mov eax, dword [ebp + 0x18]
add esp, 0x24
add eax, 8
cmp dword [eax + 0x14], 0x10
jb 0x4207a9
mov eax, dword [eax]
push eax
push 0
push 0x37
push esi
call fcn.00586750
add esp, 0x10
lea ecx, [ebp + 0xc]
push esi
call fcn.0041a2b3
cmp al, 1
jne 0x4207f0
xor edi, edi
push edi
push edi
push 0x66
push dword [ebp + 8]
call fcn.005c0700
add esp, 0x10
mov dword [ebp + 8], edi
lea eax, [ebp + 8]
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
mov eax, esi
call fcn.0057708d
ret
push esi
call fcn.00587c20
push edi
call fcn.004129c9
push esi
call fcn.00586b70
push edi
mov dword [ebp - 4], 1
call fcn.004129e8
and dword [ebp + 8], 0
lea eax, [ebp + 8]
add esp, 0x10
push eax
push 0x8004667e
push ebx
call dword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
jmp 0x4207ea
Function at 0x426500
Capabilities:
Create process on windows

Disassembly:
push 0x54
mov eax, 0x6e30aa
call fcn.005770c4
push 0x79579c
mov ecx, str.Utils::StartPrcess
xor ebx, ebx
push ecx
push str.INFO:
push 0xd2
mov dword [ebp - 4], ebx
mov eax, 0x7df264
cmp dword [0x7df278], 0x10
push ecx
cmovae eax, dword [0x7df264]
push str.e:hongzhenqian03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004254b1
push 0x44
lea eax, [ebp - 0x60]
push ebx
push eax
call fcn.0069f590
xor eax, eax
mov dword [ebp - 0x60], 0x44
lea edi, [ebp - 0x1c]
add esp, 0x30
stosd dword es:[edi], eax
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
cmovae ecx, dword [ebp + 8]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x60]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea ecx, [ebp + 8]
call fcn.00402575
mov al, 1
call fcn.0057708d
ret
Function at 0x42659c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6e30d0
mov eax, dword fs:[0]
push eax
mov eax, 0x8074
call fcn.00577290
mov eax, dword [0x7cbe5c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, edx
mov esi, ecx
cmp dword [0x7df278], 0x10
mov ecx, str.Utils::ExecutExeAtNewProcess
push 0x79579c
push ecx
push str.INFO:
push 0x134
push ecx
mov eax, 0x7df264
cmovae eax, dword [0x7df264]
push str.e:hongzhenqian03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004254b1
or dword [ebp - 0x802c], 0xffffffff
lea eax, [ebp - 0x8080]
push 0x44
pop edi
push edi
push 0
push eax
call fcn.0069f590
mov dword [ebp - 0x8080], edi
xor eax, eax
lea edi, [ebp - 0x803c]
stosd dword es:[edi], eax
push 0x7fff
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x8010]
xor edi, edi
push edi
push eax
call fcn.0069f590
add esp, 0x3c
mov eax, ebx
cmp dword [ebx + 0x14], 0x10
jb 0x426659
mov eax, dword [ebx]
push eax
lea eax, [ebp - 0x8010]
push 0x79a668
push eax
call fcn.00429ce2
xor ecx, ecx
lea eax, [ebp - 0x8010]
add esp, 0xc
cmp dword [ebx + 0x10], edi
cmove eax, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x426686
mov ecx, dword [esi]
lea edx, [ebp - 0x803c]
push edx
lea edx, [ebp - 0x8080]
push edx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x426735
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea ecx, [ebp - 0x8028]
call fcn.0040234b
push 0x10
pop ecx
mov dword [ebp - 4], edi
cmp dword [eax + 0x14], ecx
jb 0x4266ca
mov eax, dword [eax]
cmp dword [ebx + 0x14], ecx
jb 0x4266d1
mov ebx, dword [ebx]
cmp dword [esi + 0x14], ecx
jb 0x4266d8
mov esi, dword [esi]
cmp dword [0x7df278], ecx
mov ecx, 0x7df264
push 0x79579c
cmovae ecx, dword [0x7df264]
push eax
push 0x79808c
push ebx
push str._strArgv:
push esi
push str.CreateProcessA_failed__strExe:
push str.ERROR:
push 0x14e
push str.Utils::ExecutExeAtNewProcess
push str.e:hongzhenqian03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push ecx
push str.MYSD_ErrMsg_JiSu
push 2
call fcn.004254b1
add esp, 0x38
lea ecx, [ebp - 0x8028]
call fcn.00402575
or eax, 0xffffffff
jmp 0x426772
push 0xffffffffffffffff
push dword [ebp - 0x803c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 0x802c]
push eax
push dword [ebp - 0x803c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x803c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x8038]
call esi
mov eax, dword [ebp - 0x802c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005765d0
leave
ret
Function at 0x42678c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
cmp dword [0x7df278], 0x10
mov eax, 0x7df264
push ebx
cmovae eax, dword [0x7df264]
push esi
push edi
push 0x79579c
mov dword [ebp - 8], ecx
mov esi, edx
mov ecx, str.Utils::QueryValue
push ecx
push str.INFO:
push 0x161
push ecx
push str.e:hongzhenqian03_jisubrowser_yindao_codeqinghouinstallerutils_system_system.cpp
push eax
push str.MYSD_ErrMsg_JiSu
push 1
call fcn.004254b1
mov eax, dword [ebp - 8]
xor ebx, ebx
add esp, 0x24
mov dword [ebp - 4], ebx
mov edi, ebx
cmp dword [eax + 0x10], ebx
je 0x4268df
cmp dword [esi + 0x10], ebx
je 0x4268df
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4267fe
mov eax, dword [esi]
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeA]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x4268df
push 0x71e3d0
push eax
call fcn.00576e39
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x4268e6
cmp dword [esi + 0x14], 0x10
jb 0x426833
mov esi, dword [esi]
push ebx
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoA]
test eax, eax
je 0x4268ca
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push str.VarFileInfoTranslation
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4268ca
mov eax, dword [ebp - 0x14]
push 0x71e3d0
push 0x80
movzx esi, word [eax]
movzx eax, word [eax + 2]
shl esi, 0x10
or esi, eax
call fcn.00576e39
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4268ca
mov eax, dword [ebp - 8]
cmp dword [eax + 0x14], 0x10
jb 0x426892
mov eax, dword [eax]
push eax
push esi
push str.StringFileInfo_08lx_s
push 0x80
push edi
call fcn.0041293d
add esp, 0x14
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
push ebx
call dword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
je 0x4268c6
push dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
call fcn.0040259b
mov byte [ebp - 4], 1
push ebx
call fcn.00431cb2
pop ecx
test edi, edi
je 0x4268dc
push edi
call fcn.00431cb2
pop ecx
mov ebx, dword [ebp - 4]
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
xor ebx, ebx
jmp 0x4268df
Function at 0x426a7a
Capabilities:
Create directory

Disassembly:
push 0x64
mov eax, 0x6e1e72
call fcn.005770f8
push 0xf
xor ebx, ebx
pop eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x28], bl
mov dword [ebp - 4], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x40], bl
push ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.0040bb1f
push ecx
push 2
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x58]
call fcn.0041e124
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040bb47
lea ecx, [ebp - 0x58]
call fcn.00402575
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push 3
push eax
lea ecx, [ebp - 0x58]
call fcn.0041e124
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bb47
lea ecx, [ebp - 0x58]
call fcn.00402575
push ebx
push 0x5c
lea ecx, [ebp - 0x28]
call fcn.0041d4b6
push ecx
mov esi, eax
lea ecx, [ebp - 0x70]
push esi
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.0041e124
push 0x5c
push 1
push ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 2
call fcn.0041f087
push eax
lea ecx, [ebp - 0x58]
call fcn.00402434
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x40]
call fcn.00402413
lea ecx, [ebp - 0x58]
call fcn.00402575
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call fcn.00402575
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
push ebx
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.006a8e06
pop ecx
pop ecx
cmp eax, 0xffffffff
jne 0x426b7c
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.006a8e73
pop ecx
push ecx
push dword [ebp - 0x18]
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e124
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040bb47
lea ecx, [ebp - 0x70]
call fcn.00402575
test esi, esi
jns 0x426af7
lea ecx, [ebp - 0x40]
call fcn.00402575
lea ecx, [ebp - 0x28]
call fcn.00402575
call fcn.005770a2
ret

Function at 0x426c30
Capabilities:
Delete file
Move file

Disassembly:
cmp dword [ecx + 0x10], 0x104
jb 0x426c3c
xor al, al
ret
cmp dword [ecx + 0x14], 0x10
jb 0x426c44
mov ecx, dword [ecx]
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
test eax, eax
setne al
ret
Function at 0x4286d5
Capabilities:
Get user security identifier

Disassembly:
push 0x30
mov eax, 0x6e336a
call fcn.005770f8
mov esi, edx
mov dword [ebp - 0x3c], esi
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x18], 7
push ebx
xor eax, eax
mov dword [ebp - 0x1c], ebx
push 0x80
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
call fcn.00425b71
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x38]
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
push ecx
cmovae eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x30]
push ecx
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], 0x80
push eax
push esi
push edi
push ebx
mov dword [ebp - 0x34], 0x44
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
jne 0x42879c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x42879a
cmp dword [ebp - 0x34], 0x44
ja 0x42879f
mov eax, dword [ebp - 0x30]
cmp eax, 0x80
jbe 0x428775
lea ecx, [ebp - 0x2c]
cmp eax, dword [ebp - 0x1c]
ja 0x42876b
push eax
call fcn.0040d345
jmp 0x428775
sub eax, dword [ebp - 0x1c]
push ebx
push eax
call fcn.0040d362
cmp dword [ebp - 0x18], 8
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x3c]
push edi
push ebx
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
mov esi, eax
test esi, esi
setne bl
lea ecx, [ebp - 0x2c]
call fcn.004024f9
mov al, bl
call fcn.005770a2
ret

Function at 0x428808
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
mov eax, dword [0x7cbe5c]
xor eax, esp
mov dword [esp + 0x8c], eax
push esi
push edi
push 8
mov esi, ecx
mov dword [esp + 0x10], 0x10
pop ecx
xor eax, eax
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
test eax, eax
jne 0x428852
push 0x14
pop eax
jmp 0x428889
push ecx
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x2c]
call fcn.004286d5
pop ecx
test al, al
jne 0x428869
push 0x15
jmp 0x42884f
lea edx, [esp + 0x48]
lea ecx, [esp + 0x10]
call fcn.004287af
push eax
mov ecx, esi
call fcn.0040bb47
lea ecx, [esp + 0x10]
call fcn.00402575
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
xor ecx, esp
call fcn.005765d0
mov esp, ebp
pop ebp
ret
Function at 0x42aea3
Capabilities:
Parse credit card information

Disassembly:
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x42b040
mov edx, 0x10000000
cmp eax, 0x7c
je 0x42b040
cmp eax, 0x29
jne 0x42aee0
cmp dword [esi + 0x10], 0
jne 0x42b040
cmp eax, eax
jne 0x42aee0
test dword [esi + 0x50], edx
je 0x42b046
cmp eax, 0x2e
jne 0x42aefb
push 5
lea ecx, [esi + 0x24]
call fcn.00410edd
mov ecx, esi
call fcn.0042ae7a
jmp 0x42b02a
cmp eax, 0x5c
jne 0x42af50
mov ecx, esi
call fcn.0042ae7a
test byte [esi + 0x50], 0x80
je 0x42af44
movzx eax, word [esi + 0x48]
cmp eax, 0x62
jne 0x42af2c
push 4
lea ecx, [esi + 0x24]
call fcn.00410edd
mov ecx, esi
call fcn.0042ae7a
jmp 0x42b031
cmp eax, 0x42
jne 0x42af44
push 4
lea ecx, [esi + 0x24]
call fcn.00410edd
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x42af20
mov ecx, esi
call fcn.0042b60a
jmp 0x42b02a
cmp eax, 0x5b
jne 0x42afb3
mov ecx, esi
call fcn.0042ae7a
lea ecx, [esi + 0x24]
call fcn.0042c7e5
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x42af7d
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.0042ae7a
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x42af9b
cmp eax, 0x5d
jne 0x42af9b
push eax
lea ecx, [esi + 0x24]
call fcn.0042c837
mov ecx, esi
call fcn.0042ae7a
mov ecx, esi
call fcn.0042c5ff
cmp dword [esi + 0x4c], 0x5d
je 0x42aeef
push 4
jmp 0x42b048
cmp eax, 0x28
jne 0x42afd0
mov ecx, esi
call fcn.0042ae7a
mov ecx, esi
call fcn.0042b6f7
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x42b046
jmp 0x42b01f
cmp eax, 0x5e
jne 0x42afdc
push 2
jmp 0x42af18
cmp eax, 0x24
jne 0x42afe8
push 3
jmp 0x42af18
cmp eax, 0x2a
je 0x42b03c
cmp eax, 0x2b
je 0x42b03c
cmp eax, 0x3f
je 0x42b03c
cmp eax, 0x7b
je 0x42b03c
cmp eax, 0x7d
jne 0x42b006
test dword [esi + 0x50], edx
je 0x42b038
cmp eax, 0x5d
jne 0x42b010
test dword [esi + 0x50], edx
je 0x42afac
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.0042b8d6
mov bl, 1
mov ecx, esi
call fcn.0042ae7a
test bl, bl
je 0x42b031
mov ecx, esi
call fcn.0042b7fc
mov cl, 1
jmp 0x42aeaa
push 6
jmp 0x42b048
push 0xa
jmp 0x42b048
pop edi
pop esi
mov al, cl
pop ebx
ret
push 5
call fcn.0040fed0
int3
Function at 0x42eaa0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
call fcn.00453d93
push 0x79b678
mov edi, dword [eax + 0xc]
movzx eax, si
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x42eb5a
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x42eb5a
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.0069f010
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [ebp - 4]
push 0x10
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x42eb3e
lea ecx, [esi + 4]
mov dword [esi], vtable.Gdiplus::Image.0
and dword [ecx], 0
push ecx
push ebx
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x42eb40
xor esi, esi
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
inc eax
jmp 0x42eb5c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x440f70
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
push edi
cmp dword [ecx + 0x58], esi
je 0x440fc3
push esi
push dword [ebp + 8]
call fcn.00441156
mov edi, eax
test edi, edi
je 0x440fbe
lea eax, [ebp - 4]
mov dword [ebp - 4], 4
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
push dword [ebp + 0xc]
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x440fbe
mov eax, dword [ebp - 8]
jmp 0x440fd5
mov eax, dword [ebp + 0x10]
jmp 0x440fd5
push dword [ecx + 0x6c]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop edi
pop esi
leave
ret 0xc

Function at 0x444057
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x44409c
call fcn.00453d93
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x44409c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x4440b8
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004520e1
mov ebx, eax
test edi, edi
je 0x4440b6
test esi, esi
je 0x4440b6
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x444ad4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x444b92
cmp dword [esi + 0x20], 0
je 0x444b92
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x444b92
cmp dword [ebp + 8], 0
je 0x444b92
xor eax, eax
mov ebx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], ebx
mov edi, eax
call fcn.00453d93
push 0x6f7d90
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x444b63
mov edi, dword [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 0x10]
mov dword [ebp - 4], eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x444b92
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov dword [ebp - 8], eax
push dword [ebp - 4]
push ebx
push esi
call fcn.004c3c89
add esp, 0xc
mov ebx, eax
cmp dword [ebp - 8], 0
je 0x444b83
test edi, edi
je 0x444b83
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
test ebx, ebx
je 0x444b8e
mov ecx, esi
call fcn.00444876
mov eax, ebx
jmp 0x444b94
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x449535
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x6e47a7
call fcn.005770c4
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x74], ebx
jne 0x44955b
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x4495bb
call fcn.0044b1a1
push eax
lea ecx, [ebp - 0x10]
call fcn.00403598
mov edi, dword [edi + 0x74]
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 4], ebx
mov eax, dword [edi]
mov esi, dword [eax + 0x8c]
mov ecx, esi
call dword [0x6f5bd8]
mov ecx, edi
call esi
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push esi
call fcn.006ab843
push eax
call fcn.0042d7fb
add esp, 0x14
test esi, esi
je 0x4495ae
push esi
call fcn.006aab90
pop ecx
mov ebx, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00402eff
mov eax, ebx
call fcn.0057708d
ret 8

Function at 0x449e13
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebx + 0x84], edi
test edi, 0xffff0000
jne 0x449e3e
cmp dword [ebx + 0x80], 0
jne 0x449e3e
movzx eax, di
mov dword [ebx + 0x80], eax
call fcn.00453d93
push 5
push edi
mov esi, dword [eax + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov edi, eax
mov ecx, ebx
push edi
call fcn.0044a0cf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x449e78
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00453d93
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x449eaf
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00449ece
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8