joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402419
Capabilities:
Hide graphical window

Disassembly:
jmp 0x41bd24
sub esp, 0x410
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov esi, ecx
push 0x46e
push dword [esi + 4]
call ebp
push 1
mov ebx, dword [sym.imp.USER32.dll_MoveWindow]
pop edi
push edi
push 0x1e
push 0x2e
push 4
push 0x19
push eax
call ebx
push 0x498
push dword [esi + 4]
call ebp
push edi
push 0x17
push 0x108
push 8
push 0x4a
push eax
call ebx
push edi
push 0xb8
push 0x264
push 0x2e
push 0x1f
push dword [esi + 0x26c]
call ebx
push 0x486
push dword [esi + 4]
call ebp
push edi
push 0xc5
push 0x272
push 0x26
push 0x18
push eax
call ebx
push 0x475
push dword [esi + 4]
call ebp
push edi
push 0x16
mov edi, 0xfc
push 0x16
push edi
push 0x25
push eax
call ebx
push 0x490
push dword [esi + 4]
call ebp
push 1
push 0x19
push 0x82
push edi
push 0x39
push eax
call ebx
and word [esp + 0x218], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x21a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x218]
push 0x104
push eax
call fcn.00401faf
pop ecx
lea eax, [esp + 0x21c]
pop ecx
push str.SoftMgrcatchscreentray.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
and word [esp + 0x10], 0
mov ecx, 0x81
xor eax, eax
lea edi, [esp + 0x12]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.00401faf
pop ecx
lea eax, [esp + 0x14]
pop ecx
push str.Utils360ScreenCapture.exe
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 0x10]
push eax
call fcn.004016db
test eax, eax
pop ecx
mov edi, 0xf7
jne 0x41be87
lea eax, [esp + 0x218]
push eax
call fcn.004016db
test eax, eax
pop ecx
jne 0x41be87
push 0x471
push dword [esi + 4]
call ebp
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x41bea0
push 0x471
push dword [esi + 4]
call ebp
push 1
push 0x1a
push 0x52
push edi
push 0x16f
push eax
call ebx
push 0x472
push dword [esi + 4]
call ebp
push 1
push 0x1a
push 0x52
push edi
push 0x1cc
push eax
call ebx
push 0x473
push dword [esi + 4]
call ebp
push 1
push 0x1a
push 0x52
push edi
push 0x229
push eax
call ebx
push 0x499
push dword [esi + 4]
call ebp
push 1
pop edi
push edi
push 0x14
push 0x1ea
push 0x129
push 0x26
push eax
call ebx
push 0x476
push dword [esi + 4]
call ebp
push edi
push 0x1f
push 0x70
push 0x181
push 0x211
push eax
call ebx
push 0x477
push dword [esi + 4]
call ebp
push edi
push 0x12
push 0x34
push 0x186
push 0x1e
push eax
call ebx
push 0x49f
push dword [esi + 4]
call ebp
push edi
push 0x12
mov edi, 0x188
push 0x64
push edi
push 0x168
push eax
call ebx
push 0x4a0
push dword [esi + 4]
call ebp
push 1
push 0x12
push 0x1e
push edi
push 0x1cc
push eax
call ebx
push 1
push 0x53
push 0x28a
push 0x11a
push 0x1c
push dword [esi + 0x54]
call ebx
push 1
pop eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x410
ret
Function at 0x402469
Capabilities:
Check os version
Get common file path

Disassembly:
jmp 0x41069d
mov eax, 0x4653bc
call fcn.0043da24
sub esp, 0x330
push esi
push edi
mov esi, 0x11c
xor edi, edi
push esi
lea eax, [ebp - 0x134]
push edi
push eax
call fcn.0043e8a0
add esp, 0xc
lea eax, [ebp - 0x134]
mov dword [ebp - 0x134], esi
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4106f8
cmp dword [ebp - 0x130], 6
jne 0x4106f8
cmp dword [ebp - 0x12c], 1
jne 0x4106f8
push 1
pop eax
jmp 0x410789
push edi
lea eax, [ebp - 0x33c]
push 0x25
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov eax, dword [0x475eb0]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
push 0x476cb8
push eax
call fcn.00401d48
mov esi, 0x476c94
add esp, 0xc
mov eax, esi
test eax, eax
je 0x41073e
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00402969
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x14], edi
push dword [ebp - 0x10]
call fcn.004020ef
add esp, 0xc
test eax, eax
je 0x41077b
mov eax, dword [ebp - 0x14]
shr eax, 0x10
cmp ax, 6
jne 0x41077b
cmp word [ebp - 0x14], 1
jne 0x41077b
push 1
pop edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
mov eax, edi
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x40249b
Capabilities:
Check mutex on windows

Disassembly:
jmp 0x4047f1
mov eax, dword [esp + 4]
and dword [0x47ed34], 0
push dword [eax]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
test eax, eax
mov dword [0x47ed34], eax
je 0x404856
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x404856
push esi
push 0
push 0x476094
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
test esi, esi
je 0x404851
push esi
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
je 0x404841
push 9
jmp 0x404843
push 5
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 1
pop eax
pop esi
ret
xor eax, eax
ret
Function at 0x402595
Capabilities:
Hide graphical window

Disassembly:
jmp 0x416468
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x50]
cmp eax, ebx
jle 0x4164dd
cmp dword [esi + 0x4c], ebx
je 0x4164dd
xor ebp, ebp
cmp eax, ebx
jle 0x416532
lea eax, [ebp + 0x46d]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x416532
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0x4c]
lea eax, [ebx + eax + 4]
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [esi + 0x4c]
push dword [ebx + eax]
push 0xfffffffffffffff4
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push edi
mov ecx, esi
push dword [esi + 4]
call fcn.00401136
inc ebp
add ebx, 0x44
cmp ebp, dword [esi + 0x50]
jl 0x416486
jmp 0x416532
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, 0x46d
push ebx
push dword [esi + 4]
call edi
push 0x477290
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push dword [esi + 4]
call edi
push 1
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push ebx
push dword [esi + 4]
call edi
mov ebp, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
push ebx
push dword [esi + 4]
call edi
push 0
push eax
call ebp
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x402685
Capabilities:
Check if file exists

Disassembly:
jmp 0x42795a
mov eax, 0x466be0
call fcn.0043da24
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push edi
jne 0x42798c
push 0
mov ecx, dword [ebp - 0x10]
call fcn.00401555
jmp 0x427ae9
mov ecx, dword [ebp - 0x10]
call fcn.00402653
test eax, eax
jne 0x427a98
call fcn.00401b40
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x427ae9
mov eax, dword [edi]
mov edx, dword [esi]
push ebx
push eax
mov ecx, esi
call dword [edx + 0xc]
test eax, eax
je 0x427a0f
push 8
call fcn.0043da43
cmp eax, ebx
pop ecx
je 0x4279d4
mov ecx, dword [0x475eb0]
mov dword [eax], ecx
mov ecx, eax
jmp 0x4279d6
xor ecx, ecx
push edi
mov dword [ebp + 8], ecx
call fcn.004016c2
mov eax, dword [ebp + 8]
mov dword [eax + 4], esi
mov esi, dword [ebp - 0x10]
lea eax, [ebp + 8]
lea ecx, [esi + 0xac]
push eax
push dword [ecx + 8]
call fcn.004026fd
push 0x105
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
jmp 0x427ae9
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov eax, dword [edi]
cmp dword [eax - 8], ebx
je 0x427ae9
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x427ae9
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x427a91
push 0x9c70
lea ecx, [ebp - 0x14]
call fcn.00401267
mov esi, dword [eax]
push 0x9c7e
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00401267
mov eax, dword [eax]
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 1
call fcn.004015dc
add esp, 0x14
lea ecx, [ebp + 8]
mov byte [ebp - 4], bl
call fcn.004021e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004021e9
push edi
push ebx
jmp 0x42797f
push 0x9c70
lea ecx, [ebp - 0x18]
call fcn.00401267
mov esi, dword [eax]
push 0x9c82
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 2
call fcn.00401267
mov eax, dword [eax]
xor ebx, ebx
push ebx
push ebx
push 0x30
push esi
push eax
mov byte [ebp - 4], 3
call fcn.004015dc
add esp, 0x14
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.004021e9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4027a2
Capabilities:
Get memory capacity

Disassembly:
jmp 0x42adac
mov eax, 0x466d9c
call fcn.0043da24
sub esp, 0x6c
push ebx
push esi
push edi
push 0x40
pop esi
xor edi, edi
push esi
lea eax, [ebp - 0x78]
push edi
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.0043e8a0
push 0x20
mov dword [ebp - 0x78], esi
pop esi
lea eax, [ebp - 0x38]
push esi
push edi
push eax
call fcn.0043e8a0
add esp, 0x18
mov dword [ebp - 0x38], esi
push str.Kernel32.dll
call fcn.0043d340
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push str.GlobalMemoryStatusEx
push ebx
call esi
push str.GetPhysicallyInstalledSystemMemory
push ebx
mov dword [ebp - 0x10], eax
call esi
cmp ebx, edi
mov esi, eax
je 0x42ae4a
cmp dword [ebp - 0x10], edi
je 0x42ae4a
cmp esi, edi
je 0x42ae4a
lea eax, [ebp - 0x78]
push eax
call dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
call esi
push edi
push 0x400
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call fcn.0043f4b0
push ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x42ae6e
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [ebp - 0x30]
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], ecx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push dword [ebp - 0x18]
push eax
call fcn.004028c4
add esp, 0xc
mov ecx, dword [ebp + 8]
push eax
mov dword [ebp - 4], edi
call fcn.004016c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004021e9
push dword [ebp - 0x6c]
lea eax, [ebp + 8]
push dword [ebp - 0x70]
push eax
call fcn.004028c4
add esp, 0xc
mov ecx, dword [ebp + 0xc]
push 1
pop esi
push eax
mov dword [ebp - 4], esi
call fcn.004016c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004021e9
push dword [ebp - 0x64]
lea eax, [ebp + 0xc]
push dword [ebp - 0x68]
push eax
call fcn.004028c4
add esp, 0xc
mov ecx, dword [ebp + 0x10]
push eax
mov dword [ebp - 4], 2
call fcn.004016c2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x402806
Capabilities:
Hide graphical window

Disassembly:
jmp 0x40d075
push 0
push dword [ecx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret 0xc
Function at 0x40281f
Capabilities:
Enumerate files on windows

Disassembly:
jmp 0x408e3b
mov eax, 0x464c70
call fcn.0043da24
mov eax, 0x1460
call fcn.0043e940
push ebx
push esi
mov dword [ebp - 0x14], ecx
push edi
xor ebx, ebx
mov ecx, 0x93
xor eax, eax
lea edi, [ebp - 0x468]
mov dword [ebp - 0x46c], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x475eb0]
mov dword [ebp - 0x10], eax
mov ax, word [0x47ed6c]
mov ecx, 0x81
mov word [ebp - 0x21c], ax
xor eax, eax
lea edi, [ebp - 0x21a]
mov esi, 0x800
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0xc6c]
push ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0043e8a0
push esi
lea eax, [ebp - 0x146c]
push ebx
push eax
call fcn.0043e8a0
lea eax, [ebp - 0xc6c]
push 0x400
push eax
push ebx
call fcn.00401fc8
mov edi, dword [ebp - 0x14]
add esp, 0x24
xor esi, esi
cmp dword [edi + 8], ebx
jle 0x408ee8
lea eax, [ebp - 0xc6c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
inc esi
cmp esi, dword [edi + 8]
jl 0x408ed5
lea eax, [ebp - 0xc6c]
push str.config
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x21c]
test eax, eax
jne 0x408f15
xor eax, eax
jmp 0x408f1e
lea eax, [ebp - 0x21c]
push eax
call edi
lea ecx, [ebp - 0x21c]
push ecx
push eax
lea ecx, [ebp - 0x10]
call fcn.0040294b
mov esi, 0x476598
mov eax, esi
test eax, eax
je 0x408f3c
push esi
call edi
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00402969
lea eax, [ebp - 0x46c]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, ebx
je 0x408fd6
test byte [ebp - 0x46c], 0x10
je 0x408fbd
lea eax, [ebp - 0x440]
push 0x476594
push eax
call fcn.0043e96f
pop ecx
test eax, eax
pop ecx
je 0x408fbd
lea eax, [ebp - 0x440]
push 0x47658c
push eax
call fcn.0043e96f
pop ecx
test eax, eax
pop ecx
je 0x408fbd
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x146c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x146c]
push eax
call fcn.0040190b
lea eax, [ebp - 0x46c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x408f5c
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x10]
call fcn.004021e9
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x4028d8
Capabilities:
Check if file exists

Disassembly:
jmp 0x40e732
push ecx
push ecx
push ebp
push esi
mov esi, ecx
push edi
xor ebp, ebp
mov eax, dword [esi + 0xc]
lea edi, [esi + 0xc]
mov dword [esp + 0x10], ebp
cmp dword [eax - 8], ebp
je 0x40e763
push edi
call fcn.00402301
mov ecx, eax
call fcn.00401988
test eax, eax
je 0x40e763
push 1
pop eax
jmp 0x40e832
mov eax, dword [edi]
push ebx
cmp dword [eax - 8], ebp
je 0x40e82d
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x40e780
mov ecx, dword [esi + 0x20]
sub ecx, eax
sar ecx, 2
jne 0x40e79d
mov eax, dword [esi + 0x2c]
cmp eax, ebp
je 0x40e791
mov ecx, dword [esi + 0x30]
sub ecx, eax
sar ecx, 2
jne 0x40e79d
mov eax, dword [esi + 8]
cmp dword [eax - 8], ebp
je 0x40e82d
push edi
call fcn.00402301
mov ecx, eax
call fcn.00401988
test eax, eax
je 0x40e82d
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [esp + 0x10], ebp
xor edi, edi
mov eax, dword [esi + 0x1c]
cmp eax, ebp
je 0x40e7f2
mov ecx, dword [esi + 0x20]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40e7f2
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x40e7ef
mov eax, dword [esi + 0x1c]
push dword [eax + edi*4]
call fcn.004015b9
cmp edx, ebp
pop ecx
jl 0x40e825
jg 0x40e7ef
cmp eax, 0x500000
jb 0x40e825
inc edi
jmp 0x40e7ba
xor edi, edi
mov eax, dword [esi + 0x2c]
cmp eax, ebp
je 0x40e817
mov ecx, dword [esi + 0x30]
sub ecx, eax
sar ecx, 2
cmp edi, ecx
jae 0x40e817
push dword [eax + edi*4]
call ebx
test eax, eax
je 0x40e814
inc dword [esp + 0x10]
inc edi
jmp 0x40e7f4
cmp dword [esp + 0x10], ebp
jg 0x40e825
mov eax, dword [esi + 8]
cmp dword [eax - 8], ebp
je 0x40e82d
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x14]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
pop ecx
ret

Function at 0x402900
Capabilities:
Check if file exists
Copy file

Disassembly:
jmp 0x404873
push esi
mov esi, dword [esp + 0xc]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40488e
push esi
call fcn.004016db
test eax, eax
pop ecx
jne 0x40489b
push 0
push esi
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push esi
call fcn.004016db
pop ecx
pop esi
ret
Function at 0x402973
Capabilities:
Access peb ldr_data

Disassembly:
jmp 0x427270
mov eax, 0x466a95
call fcn.0043da24
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
lea ecx, [esi + 0x28]
call fcn.004019b5
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [ebp - 4], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], eax
lea edi, [esi + 0x20]
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.0040275c
mov dword [edi], 0x46942c
mov dword [esi + 0x24], 0x469060
lea ecx, [esi + 0x50]
mov byte [ebp - 4], 2
mov dword [esi + 0x30], ebx
call fcn.004021f8
lea ecx, [esi + 0x94]
mov byte [ebp - 4], 3
call fcn.00402847
mov cl, byte [ebp - 0xd]
lea eax, [esi + 0xac]
mov byte [eax], cl
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
lea ecx, [esi + 0xc0]
mov byte [ebp - 4], 5
mov dword [esi + 0xbc], ebx
call fcn.00401ff0
push 7
push 3
push 3
lea eax, [esi + 0x34]
push 3
push eax
mov dword [esi], 0x46941c
mov dword [edi], 0x469410
mov dword [esi + 0x24], 0x46940c
mov dword [esi + 0x44], 6
mov dword [esi + 0x4c], ebx
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x40f546
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
push edi
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
xor esi, esi
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x54], 0x44
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ax, word [ebp + 0x10]
mov word [ebp - 0x24], ax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
cmp edi, esi
je 0x40f5a2
push dword [ebp - 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x10]
call esi
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x4101a3
Capabilities:
Get hostname
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov al, byte [0x47edd8]
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
push 0x1f
mov byte [ebp - 0x80], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x7f]
push dword [ebx + 8]
rep stosd dword es:[edi], eax
push dword [ebx + 4]
mov ecx, ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00401285
lea eax, [ebp - 0x80]
push 0x100
push eax
call sub.WS2_32.dll_gethostname
lea eax, [ebp - 0x80]
push eax
call sub.WS2_32.dll_gethostbyname
mov esi, eax
test esi, esi
jne 0x4101f5
xor al, al
jmp 0x410217
mov eax, dword [esi + 0xc]
mov eax, dword [eax]
test eax, eax
je 0x410215
xor edi, edi
push eax
mov ecx, ebx
call fcn.00401672
mov eax, dword [esi + 0xc]
add edi, 4
mov eax, dword [edi + eax]
test eax, eax
jne 0x410200
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410f41
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
je 0x410f89
push dword [ebp + 8]
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, esi
je 0x410f89
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push 0x410fa0
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, esi
je 0x410f89
cmp dword [ebp + 0xc], esi
je 0x410f82
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
ret
Function at 0x4369c0
Capabilities:
Get file size

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x4369ef
push str.GetFileSizeEx__
push eax
push 0x112
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.004345e0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x436c40
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x436c7c
push str.SetFilePointerEx__
push eax
push 0xed
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.004345e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x436cb5
push str.ReadFile__
push eax
push 0xf0
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.004345e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x436cd9
push 0x4791ac
push 1
push 0xf2
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.00434ab0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x437140
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
push edi
push 0
push 0
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x43717c
push str.SetFilePointerEx__
push eax
push 0x102
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.004345e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea edx, [esp + 0xc]
push 0
push edx
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4371b5
push str.WriteFile__
push eax
push 0x105
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.004345e0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
cmp edi, dword [esp + 0xc]
je 0x4371d9
push 0x479268
push 1
push 0x107
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.00434ab0
add esp, 0x10
xor eax, eax
pop edi
pop esi
ret
pop edi
mov eax, 1
pop esi
ret

Function at 0x438110
Capabilities:
Clear file content

Disassembly:
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x43813a
push str.SetEndOfFile__
push eax
push 0x126
push str.E:_build360base_2012_03_29_Release_AQHImageHlp.c
call fcn.004345e0
add esp, 0x10
xor eax, eax
ret
mov eax, 1
ret

Function at 0x438b00
Capabilities:
Allocate thread local storage
Check mutex on windows
Query environment variable
Set environment variable

Disassembly:
mov ecx, 0x47f060
jmp fcn.00438b10

Function at 0x438ef0
Capabilities:
Get thread local storage value
Print debug messages
Set thread local storage value

Disassembly:
mov ecx, 0x47f060
jmp fcn.00438f00