joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6f71b0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [ebp + 8]
cmp byte [eax + 0x50], 0
jne 0x6f71e4
mov edi, ecx
dec edi
test edi, edi
jl 0x6f71f5
inc edi
mov eax, esi
call fcn.006f7194
xor byte [ebx], al
movzx edx, byte [ebx]
mov eax, esi
call fcn.006f713c
inc ebx
dec edi
jne 0x6f71cb
jmp 0x6f71f5
lea eax, [esi + 0x3c4]
push eax
push ecx
push ebx
call fcn.006ecd7c
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x6f72cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov esi, ecx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], edx
mov edi, eax
mov eax, dword [ebp - 4]
call fcn.00407484
xor eax, eax
push ebp
push 0x6f7342
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.006f71fc
mov dword [ebp - 8], 0xc
lea esi, [ebp - 0x14]
mov eax, edi
call fcn.006f7194
mov ebx, eax
xor bl, byte [esi]
mov edx, ebx
mov eax, edi
call fcn.006f713c
mov byte [esi], bl
inc esi
dec dword [ebp - 8]
jne 0x6f730c
movzx ebx, byte [ebp - 9]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f7349
lea eax, [ebp - 4]
call fcn.00406dbc
ret
Function at 0x6f8304
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x6f84f5
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 0xffffffff
jle 0x6f84b1
mov eax, dword [ebp - 4]
call fcn.006fa700
cmp ebx, eax
jge 0x6f84b1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x120]
mov edx, ebx
call fcn.006e4bd4
mov edx, dword [0x6e7c14]
call fcn.00405c34
mov esi, eax
mov eax, esi
call fcn.006eb5ac
test al, al
je 0x6f84a7
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [esi + 0x54]
test eax, eax
je 0x6f8386
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x6f849a
xor eax, eax
push ebp
push 0x6f8493
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.006f931c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
call fcn.00444a28
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
push dword [esi + 0x34]
push dword [esi + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
lea edx, [ebp - 0x46]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov ecx, 0x2e
mov esi, dword [eax]
call dword [esi + 0xc]
movzx eax, word [ebp - 0x2a]
movzx edx, word [ebp - 0x28]
add eax, edx
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov dl, 1
mov ecx, dword [eax]
call dword [ecx + 0x18]
movzx esi, word [ebp - 0x26]
mov eax, dword [ebp - 8]
xor ecx, ecx
mov edx, esi
call fcn.00407708
mov eax, dword [ebp - 8]
call fcn.0040750c
mov edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
mov ecx, esi
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
movzx eax, byte [eax + 0x28]
mov byte [ebp - 9], al
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.006f88f4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x160]
movzx edx, byte [ebp - 9]
mov byte [eax + 0x28], dl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f84df
push dword [ebp - 0x14]
push dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x138]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
test al, al
jne 0x6f8492
mov eax, dword [ebp - 4]
call fcn.006f93a0
ret
mov eax, dword [ebp - 8]
mov edx, dword [esi + 0x54]
call fcn.00406e10
jmp 0x6f84df
mov eax, dword [ebp - 8]
call fcn.00406dbc
jmp 0x6f84df
mov dword [ebp - 0x50], ebx
mov byte [ebp - 0x4c], 0
lea eax, [ebp - 0x50]
push eax
push 0
lea edx, [ebp - 0x54]
mov eax, 0xb3
call fcn.00415af8
mov ecx, dword [ebp - 0x54]
mov dl, 1
mov eax, dword [0x434304]
call fcn.0041d0f8
call fcn.00406590
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6f84fc
lea eax, [ebp - 0x54]
call fcn.00407ea4
ret
Function at 0x70ae98
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
push 0x70af94
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x70af79
push dword fs:[edx]
mov dword fs:[edx], esp
cmp dword [ebp - 0xc], 0
jbe 0x70af66
push 0x70afa8
mov eax, dword [ebp - 0xc]
push eax
call fcn.0040d8e4
mov ebx, eax
test ebx, ebx
je 0x70af66
xor edx, edx
push ebp
push 0x70af5f
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebp - 4]
push eax
push 8
push 0x755be4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_ReadProcessMemory
mov eax, 0x70ad7c
mov dword [ebp - 0x10], eax
mov eax, 0x755bdd
mov edx, eax
lea eax, [ebp - 0x10]
mov ecx, 4
call fcn.00404788
lea eax, [ebp - 8]
push eax
push 0x40
push 8
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 4]
push eax
push 8
push 0x755bdc
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
push esi
mov eax, dword [ebp - 8]
push eax
push 8
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70af66
ret
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x70af83
mov byte [0x755bec], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x70afc4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
push 0x70b084
call sub.kernel32.dll_LoadLibraryW
mov dword [ebp - 8], eax
mov byte [0x755bec], 0
xor eax, eax
push ebp
push 0x70b068
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
jbe 0x70b05e
push 0x70b098
mov eax, dword [ebp - 8]
push eax
call fcn.0040d8e4
mov ebx, eax
test ebx, ebx
je 0x70b05e
xor eax, eax
push ebp
push 0x70b057
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
push eax
push 0x40
push 8
push ebx
call sub.kernel32.dll_VirtualProtect
lea eax, [ebp - 4]
push eax
push 8
push 0x755be4
push ebx
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_WriteProcessMemory
push esi
mov eax, dword [ebp - 0xc]
push eax
push 8
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x70b05e
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x70b072
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x70b0b4
Capabilities:
Find taskbar

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov edi, eax
xor eax, eax
mov dword [esp + 0x14], eax
xor eax, eax
mov dword [esp + 0x10], eax
push 1
call sub.user32.dll_GetSystemMetrics
mov dword [esp + 0x1c], eax
push 0
call sub.user32.dll_GetSystemMetrics
mov esi, eax
mov dword [esp + 0x18], esi
push 7
call sub.user32.dll_GetSystemMetrics
push 0x70b164
push 0x70b168
call sub.user32.dll_FindWindowW
test eax, eax
je 0x70b132
push esp
push eax
call sub.user32.dll_GetWindowRect
mov eax, dword [esp + 8]
cmp esi, eax
jle 0x70b10d
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 0x1c]
jge 0x70b11b
mov dword [esp + 0x14], eax
mov eax, dword [esp]
test eax, eax
jle 0x70b126
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
test eax, eax
jle 0x70b132
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x18]
sub ecx, dword [esp + 0x10]
mov edx, 1
mov eax, dword [edi + 0x70]
call fcn.004f33c4
mov ecx, dword [esp + 0x1c]
sub ecx, dword [esp + 0x14]
xor edx, edx
mov eax, dword [edi + 0x70]
call fcn.004f33c4
mov eax, ebx
add esp, 0x20
pop edi
pop esi
pop ebx
ret
Function at 0x716e48
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd64
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x294], edx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x290], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
lea eax, [ebp - 0x288]
mov edx, dword [0x40f310]
call fcn.00408cc8
xor eax, eax
push ebp
push 0x71706b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x290]
mov ecx, 0x717084
mov edx, dword [ebp - 4]
call fcn.00408398
mov eax, dword [ebp - 0x290]
call fcn.00407f40
mov edx, eax
lea eax, [ebp - 0x28c]
call fcn.00408070
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x288]
mov edx, 0x1ff
call fcn.00416064
mov ebx, eax
test ebx, ebx
jne 0x71702f
mov eax, dword [0x74eea4]
mov eax, dword [eax]
call fcn.00524ddc
mov esi, dword [ebp - 0x278]
mov eax, esi
and eax, 0x10
cmp eax, 0x10
jne 0x716f6f
mov eax, dword [ebp - 0x274]
mov edx, 0x717098
call fcn.0040863c
je 0x71701a
mov eax, dword [ebp - 0x274]
mov edx, 0x7170a8
call fcn.0040863c
je 0x71701a
mov eax, dword [ebp + 8]
push eax
push dword [ebp - 4]
push dword [ebp - 0x274]
push 0x7170bc
lea eax, [ebp - 0x294]
mov edx, 3
call fcn.0040847c
mov eax, dword [ebp - 0x294]
call fcn.00716e48
pop ecx
jmp 0x71701a
mov eax, esi
and eax, 0x1ff
cmp esi, eax
jne 0x71701a
lea eax, [ebp - 8]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.004080c4
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x23c]
mov ecx, 0x104
call fcn.004080c4
movzx eax, byte [0x7170c0]
push eax
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
mov edx, dword [0x755ad8]
mov eax, dword [ebp - 4]
call fcn.0041f2e4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, dword [0x755ad4]
call fcn.00408398
mov eax, dword [ebp - 0x14]
call fcn.00628438
push 0xffffffffffffffff
lea eax, [ebp - 0x298]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.00408398
mov eax, dword [ebp - 0x298]
call fcn.00407f40
push eax
lea eax, [ebp - 0x29c]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00408398
mov eax, dword [ebp - 0x29c]
call fcn.00407f40
push eax
call sub.kernel32.dll_CopyFileW
lea eax, [ebp - 0x288]
call fcn.004160b4
mov ebx, eax
test ebx, ebx
je 0x716ef4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x717072
lea eax, [ebp - 0x29c]
mov edx, 5
call fcn.00407eac
lea eax, [ebp - 0x288]
mov edx, dword [0x40f310]
call fcn.00408da0
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00407eac
ret
Function at 0x71dfd4
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x71e191
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x18]
mov eax, dword [ebx + 0x7d0]
mov edx, 0xcb
call fcn.0056b200
mov eax, dword [ebp - 0x18]
call fcn.0057dcb0
test al, al
je 0x71e168
xor eax, eax
push ebp
push 0x71e15e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
call fcn.0040b140
push eax
push 0x71e1a0
lea ecx, [ebp - 0x1c]
mov eax, dword [ebx + 0x7d0]
mov edx, 0xcb
call fcn.0056b200
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [eax]
call dword [eax]
cmp dword [ebp - 4], 0
je 0x71e154
xor eax, eax
push ebp
push 0x71e14d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0x7d0]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebx + 0x7e8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebx + 0x7d0]
mov edx, dword [eax + 0x48]
mov eax, dword [ebx + 0x7e8]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebx + 0x7e8]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x7e8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0043e3fc
push 0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebx + 0x7e8]
call fcn.0046d1bc
call fcn.00467584
push eax
mov eax, ebx
call fcn.004fdbe4
push eax
push 0
push 0
push 1
push 1
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov eax, dword [ebx + 0x7e8]
call fcn.0046d1bc
mov eax, dword [eax + 0x44]
mov edx, dword [0x74e754]
mov edx, dword [edx]
mov edx, dword [edx + 0xa0]
call fcn.00465f18
mov eax, dword [ebx + 0x7e8]
call fcn.0046d1bc
mov eax, dword [eax + 0x44]
mov edx, 5
call fcn.0046606c
mov edx, dword [ebx + 0x7e8]
mov eax, dword [ebx + 0x7ec]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71e154
mov eax, dword [ebp - 4]
push eax
mov eax, dword [eax]
call dword [eax + 8]
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x71e168
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x71e198
lea eax, [ebp - 0x1c]
mov edx, dword [0x401cd4]
mov ecx, 2
call fcn.00408df0
lea eax, [ebp - 4]
call fcn.0040b140
ret
Function at 0x724c4c
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
mov eax, dword [ebp + 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x724cd3
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00724ce4
test al, al
je 0x724cb0
push 0
mov eax, dword [ebp - 8]
call fcn.00407f40
push eax
mov eax, dword [ebp + 8]
call fcn.00407f40
push eax
call sub.kernel32.dll_CopyFileW
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x724cda
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407eac
lea eax, [ebp + 8]
call fcn.00407ea4
ret
Function at 0x7271d8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdec
push ebx
xor ebx, ebx
mov dword [ebp - 0x214], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00407e9c
mov eax, dword [ebp - 8]
call fcn.00407e9c
xor eax, eax
push ebp
push 0x727286
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x210]
xor ecx, ecx
mov edx, 0x104
call fcn.004050e0
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x10
push 0
call sub.shell32.dll_SHGetFolderPathW
lea eax, [ebp - 0x214]
lea edx, [ebp - 0x210]
mov ecx, 0x104
call fcn.004080c4
mov eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00727294
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72728d
lea eax, [ebp - 0x214]
call fcn.00407ea4
lea eax, [ebp - 8]
mov edx, 2
call fcn.00407eac
ret
Function at 0x72d590
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
test dl, dl
je 0x72d5aa
add esp, 0xfffffff0
call fcn.00405f28
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x72d6f7
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, esi
call fcn.004059c4
mov eax, dword [0x74e95c]
cmp dword [eax], 6
jl 0x72d675
lea edx, [ebp - 4]
mov eax, 0x1a
call fcn.0059fc5c
push dword [ebp - 4]
push 0x72d728
push 0x72d738
push 0x72d728
lea eax, [esi + 4]
mov edx, 4
call fcn.0040847c
mov edx, dword [esi + 4]
lea eax, [ebp - 8]
mov ecx, 0x72d758
call fcn.00408398
mov eax, dword [ebp - 8]
call fcn.00415d7c
test al, al
jne 0x72d69a
mov eax, dword [esi + 4]
call fcn.00415de8
push 0
mov edx, dword [esi + 4]
lea eax, [ebp - 0xc]
mov ecx, 0x72d758
call fcn.00408398
mov eax, dword [ebp - 0xc]
call fcn.00407f40
push eax
lea edx, [ebp - 0x14]
mov eax, dword [0x74eea4]
mov eax, dword [eax]
call fcn.00525950
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.004163e0
lea eax, [ebp - 0x10]
mov edx, 0x72d758
call fcn.004082d8
mov eax, dword [ebp - 0x10]
call fcn.00407f40
push eax
call sub.kernel32.dll_CopyFileW
jmp 0x72d69a
lea edx, [ebp - 0x1c]
mov eax, dword [0x74eea4]
mov eax, dword [eax]
call fcn.00525950
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.004163e0
mov edx, dword [ebp - 0x18]
lea eax, [esi + 4]
call fcn.00407eb4
mov dl, 1
mov eax, dword [0x437ad0]
call fcn.00444984
mov dword [esi + 0x50], eax
mov dl, 1
mov eax, dword [0x437ad0]
call fcn.00444984
mov dword [esi + 0x54], eax
mov dl, 1
mov eax, dword [0x437ad0]
call fcn.00444984
mov dword [esi + 0x108], eax
mov dl, 1
mov eax, dword [0x4349ec]
call fcn.004059c4
mov dword [esi + 0x100], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x72d6fe
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00407eac
ret
Function at 0x401020
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x4010a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::operator_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x401120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x407443
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, eax
mov dword [esp + 0x30], 1
call dword [0x408328]
push eax
mov ecx, esi
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
lea ecx, [esp + 8]
mov dword [esp + 4], 1
mov byte [esp + 0x2c], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret

Function at 0x401f90
Capabilities:
Get common file path

Disassembly:
push 0x40ec68
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov eax, 0x40ec68
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401fa8
sub eax, edx
push edi
lea edi, [eax + 0x40ec68]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401fc0
mov ax, word [0x408a10]
push 0x40ee70
push 0x104
mov word [edi], ax
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0x408a08
push 0x40ee70
call dword [sym.imp.MSVCR71.dll_wcslen]
lea ecx, [eax*2 + 0x40ee70]
add esp, 4
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
pop edi
ret

Function at 0x4020c0
Capabilities:
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x4073d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x408a40
mov dword [esp + 0x10], 1
mov eax, dword [esi + 0x60]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
lea ecx, [esi + 0x44]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0x28]
mov byte [esp + 0x10], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esi + 0xc]
mov dword [esp + 0x10], 0xffffffff
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_unsigned_short_int__struct_std::char_traits_unsigned_short_int___class_std::allocator_unsigned_short_int__::destructor_void_]
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret