joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41af6d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4b22d4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor eax, eax
push esi
push edi
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, ecx
stosd dword es:[edi], eax
mov dword [esp + 0x10], esi
mov ebx, edx
stosw word es:[edi], ax
test esi, esi
je 0x41afad
push 0x10
push 0
push esi
call fcn.00401f80
add esp, 0xc
mov edx, ebx
call fcn.00436c5d
test eax, eax
je 0x41afbc
xor eax, eax
jmp 0x41b01b
push 0xbba
push str.Time.c
mov edx, 0x48d1ec
mov ecx, ebx
call fcn.00473c34
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41afb8
push 0x10
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00401f80
push edi
push 1
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.00402244
lea ebx, [eax - 1]
add esp, 0x1c
neg ebx
mov ecx, edi
sbb ebx, ebx
call fcn.00475e84
test esi, esi
je 0x41b018
mov edi, dword [esp + 0x10]
lea esi, [esp + 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebx + 1]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret

Function at 0x41bba8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
mov eax, dword [0x4b22d4]
xor eax, esp
mov dword [esp + 0x18], eax
push ebx
xor eax, eax
push esi
push edi
mov word [esp + 0x14], ax
lea edi, [esp + 0x16]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov ebx, ecx
mov dword [esp + 0x10], edx
stosw word es:[edi], ax
call fcn.00436c5d
test eax, eax
je 0x41bbe2
xor eax, eax
jmp 0x41bc41
mov esi, str.Time.c
test ebx, ebx
jne 0x41bc06
push 0xb92
lea eax, [esp + 0x18]
push esi
push eax
call fcn.0041bb4c
add esp, 0xc
test eax, eax
je 0x41bbde
lea ebx, [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0xb9a
push esi
mov edx, 0x48d22c
call fcn.00473c34
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41bbde
push edi
push 1
push 0x10
push ebx
call fcn.0040257f
lea esi, [eax - 1]
add esp, 0x10
neg esi
mov ecx, edi
sbb esi, esi
call fcn.00475e84
lea eax, [esi + 1]
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x4308b2
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x20]
mov eax, dword [ebp + 8]
call fcn.00430891
pop ecx
test eax, eax
jne 0x4308ca
push 2
pop eax
pop ebp
ret
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterA]
mov edx, eax
mov eax, dword [ebp + 8]
call fcn.00430882
mov eax, edx
pop ebp
ret
Function at 0x430a98
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov word [ebp - 0x14], ax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
push 0x18e
mov word [ebp - 0x1a8], ax
xor esi, esi
lea eax, [ebp - 0x1a6]
push esi
push eax
mov ebx, ecx
call fcn.00401f80
add esp, 0xc
mov edx, ebx
mov byte [ebp - 0x1a9], 0
call fcn.00436c5d
test eax, eax
je 0x430af8
or eax, 0xffffffff
jmp 0x430c59
push 0x10
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.00401f80
add esp, 0xc
lea eax, [ebp - 0x1a8]
push eax
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x430af0
cmp dword [ebp + 8], esi
jle 0x430b2b
cmp dword [ebp + 8], 0x10000
jl 0x430b33
call fcn.00430806
mov dword [ebp + 8], eax
push ebx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
cmp eax, esi
jne 0x430b46
call dword [sym.imp.WSOCK32.dll_WSACleanup]
jmp 0x430af0
cmp word [eax + 0xa], 4
jle 0x430b54
push 4
pop ecx
mov word [eax + 0xa], cx
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.00401330
add esp, 0xc
push 6
push 1
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov edi, eax
cmp edi, 0xffffffff
je 0x430b3e
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_htons]
push 2
mov word [ebp - 0x12], ax
pop eax
mov word [ebp - 0x14], ax
push 0x10
lea eax, [ebp - 0x14]
push eax
push edi
call dword [sym.imp.WSOCK32.dll_connect]
test eax, eax
je 0x430bcf
push edi
call dword [sym.imp.WSOCK32.dll_closesocket]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
push str.127.0.0.1
push ebx
call fcn.004365f4
pop ecx
pop ecx
test eax, eax
jne 0x430af0
inc dword [0x5b8f14]
jmp 0x430af0
push 1
lea eax, [ebp - 0x1a9]
push eax
push 8
push 0xffff
push edi
mov byte [ebp - 0x1a9], 1
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp dword [ebp + 0xc], esi
je 0x430c57
push esi
push 0xfb
mov esi, 0xff
push esi
push edi
call fcn.004306a4
push 1
lea ebx, [esi - 2]
push ebx
push esi
push edi
call fcn.004306a4
push 0
push ebx
push esi
push edi
call fcn.004306a4
push 0x1f
push 0xfb
push esi
push edi
call fcn.004306a4
add esp, 0x40
push 0x1f
push 0xfa
push esi
push edi
call fcn.004306a4
push 0
push 0x50
push 0
push edi
call fcn.004306a4
push pe_nt_image_headers32
push esi
push 0x19
push edi
call fcn.004306a4
add esp, 0x30
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x430eff
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, 0x200
lea edi, [ebx - 1]
push edi
mov dword [ebp - 0x208], eax
lea eax, [ebp - 0x203]
push 0
push eax
mov byte [ebp - 0x204], 0
call fcn.00401f80
mov eax, dword [ebp + 0x10]
add esp, 0xc
test eax, eax
je 0x431034
cmp byte [eax], 0
je 0x431034
lea ecx, [ebp + 0x14]
push ecx
push eax
lea esi, [ebp - 0x204]
push edi
mov eax, esi
push eax
jmp 0x430f9a
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x430f75
push esi
call fcn.00401a00
pop ecx
add ebx, ebx
lea eax, [ebx + 0xa]
push eax
push 1
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x431034
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebx - 1]
push eax
push esi
call fcn.00404865
add esp, 0x10
cmp eax, 0xffffffff
je 0x430f64
mov eax, esi
call fcn.0043095f
push esi
call fcn.00401a80
cmp dword [ebp + 0xc], 0
pop ecx
mov ebx, eax
jbe 0x430fd3
cmp dword [ebp + 0xc], 0x7ffffffe
ja 0x430fcb
push dword [ebp + 0xc]
jmp 0x430fcd
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [ebp - 0x208]
mov eax, edi
call fcn.00430df8
test eax, eax
je 0x431023
push 0x2ca
mov eax, edi
call fcn.0043083f
pop ecx
test eax, eax
je 0x431023
push 0
push ebx
push esi
push dword [edi + 0xacc]
call dword [sym.imp.WSOCK32.dll_send]
mov ebx, eax
mov eax, edi
call fcn.00430830
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x43101f
push esi
call fcn.00401a00
pop ecx
mov eax, ebx
jmp 0x431036
lea eax, [ebp - 0x204]
cmp esi, eax
je 0x431034
push esi
call fcn.00401a00
pop ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret

Function at 0x431995
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push ebx
push esi
mov ebx, eax
jge 0x4319a6
and dword [ebp + 8], 0
test ebx, ebx
jns 0x4319ac
xor ebx, ebx
cmp dword [ebp + 8], ebx
jg 0x4319f9
mov eax, edi
call fcn.00430df8
test eax, eax
je 0x4319f9
push 0xe15
mov eax, edi
call fcn.0043083f
pop ecx
test eax, eax
je 0x4319f9
mov eax, dword [edi + 0xf4]
cmp dword [ebp + 8], eax
jle 0x4319db
mov dword [ebp + 8], eax
cmp ebx, eax
jle 0x4319e1
mov ebx, eax
push 1
push 0x10
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x4319ff
mov eax, edi
call fcn.00430830
xor eax, eax
pop esi
pop ebx
pop ebp
ret
push 0x10
push 0
push esi
call fcn.00401f80
mov dword [esi], edi
mov cx, word [edi + 0xdc]
imul cx, word [ebp + 8]
add esp, 0xc
inc ebx
mov word [esi + 4], cx
imul bx, word [edi + 0xdc]
dec bx
xor eax, eax
mov word [esi + 8], ax
mov ax, cx
mov word [esi + 0xa], ax
mov word [esi + 6], bx
lea eax, [edi + 0xafc]
jmp 0x431a44
mov eax, ecx
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x431a42
mov ebx, dword [0x5b8da0]
mov dword [eax + 0xc], esi
test ebx, ebx
jne 0x431a65
call fcn.0043c742
mov ebx, eax
mov dword [0x5b8da0], ebx
push esi
call fcn.0043c6f1
pop ecx
mov eax, edi
call fcn.00430830
mov eax, esi
jmp 0x4319fb
Function at 0x432019
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, edi
call fcn.00430df8
test eax, eax
je 0x43218f
mov eax, dword [ebp + 8]
test eax, eax
je 0x43218f
cmp byte [eax], 0
je 0x43218f
mov ebx, dword [edi + 0xa8c]
push 1
push 0x2c
call fcn.00401a3a
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x43218f
push 0x2c
push 0
push esi
call fcn.00401f80
add esp, 0xc
push 2
push dword [ebp + 8]
call fcn.00401a80
pop ecx
add eax, 0xa
push eax
call fcn.00401a3a
pop ecx
pop ecx
mov dword [esi + 4], eax
test eax, eax
je 0x432188
mov eax, edi
call fcn.00430df8
test eax, eax
je 0x432188
push 0x881
mov eax, edi
call fcn.0043083f
pop ecx
test eax, eax
je 0x432188
mov ecx, dword [edi + 0xa88]
xor edx, edx
mov eax, ebx
div ecx
mov eax, dword [edi + 0xa84]
test edx, edx
jne 0x4320ca
mov ebx, dword [eax + ecx*4 - 4]
jmp 0x4320ce
mov ebx, dword [eax + edx*4 - 4]
cmp dword [ebp + 0xc], 0
jne 0x4320d7
inc ebx
jmp 0x4320e8
call fcn.00419a8b
cmp ebx, eax
jbe 0x4320e5
sub ebx, eax
add dword [ebp + 0xc], ebx
mov ebx, dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00401ba0
mov eax, dword [esi + 4]
pop ecx
pop ecx
call fcn.0043095f
push dword [ebp + 8]
push dword [esi + 4]
call fcn.00401a80
pop ecx
mov ecx, dword [esi + 4]
lea eax, [eax + ecx + 1]
push eax
call fcn.00401ba0
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x14], ebx
pop ecx
xor ebx, ebx
pop ecx
mov dword [esi], edi
mov dword [esi + 0x18], ebx
jmp 0x432132
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [edi + 0xaa8], ebx
jne 0x43212a
mov dword [edi + 0xaa8], 1
lea eax, [edi + 0xad0]
jmp 0x43214e
mov eax, ecx
mov ecx, dword [eax + 0x28]
cmp ecx, ebx
jne 0x43214c
mov ebx, dword [0x5b8d9c]
mov dword [eax + 0x28], esi
test ebx, ebx
jne 0x43216f
call fcn.0043c742
mov ebx, eax
mov dword [0x5b8d9c], ebx
push esi
call fcn.0043c6f1
and dword [edi + 0xaa8], 0
pop ecx
mov eax, edi
call fcn.00430830
mov eax, esi
jmp 0x432191
push esi
call fcn.00401a00
pop ecx
xor eax, eax
pop esi
pop ebx
pop ebp
ret
Function at 0x432521
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
test esi, esi
je 0x432661
push edi
push 1
push 0x20
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x432660
push ebx
push 0x20
push 0
push edi
call fcn.00401f80
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [edi + 0x14], eax
add esp, 0xc
mov eax, ebx
mov dword [edi + 4], ebx
mov dword [edi + 0x10], esi
call fcn.00430df8
test eax, eax
je 0x432656
push 0xb2e
mov eax, ebx
call fcn.0043083f
pop ecx
test eax, eax
je 0x432656
cmp dword [0x5b8da4], 0
jne 0x4325a1
call fcn.0043c742
mov dword [0x5b8da4], eax
test eax, eax
je 0x432656
push 0xb3e
push str.TelNet.c
push str.TelNetCreateConditionID
push edi
mov esi, 0x430714
push esi
mov ecx, 0x3f70
call fcn.00474b18
mov ebx, eax
test ebx, ebx
jne 0x4325ef
push 0xb43
push str.TelNet.c
push str.TelNetCreateConditionID
push edi
push esi
xor ecx, ecx
call fcn.00474b18
mov ebx, eax
test ebx, ebx
jne 0x4325ef
mov eax, dword [ebp + 8]
call fcn.00430830
jmp 0x43265d
push dword [ebp + 0x14]
mov esi, dword [ebp + 0x18]
call fcn.00435966
mov esi, dword [ebp + 8]
push eax
push dword [ebp + 0x10]
push edi
push esi
push str.Called_for__p_HTELNET___p_Condition__from__s___in___s__line_d.
push ebx
call fcn.00473b3e
add esp, 0x1c
mov dword [edi + 8], ebx
mov dword [edi], ebx
lea eax, [esi + 0xaac]
jmp 0x432620
mov eax, ecx
mov ecx, dword [eax + 0x1c]
test ecx, ecx
jne 0x43261e
mov dword [eax + 0x1c], edi
inc dword [esi + 0xac4]
cmp dword [esi + 0xac4], 0xc
jle 0x43263e
call fcn.00419a8b
mov ebx, dword [0x5b8da4]
push edi
call fcn.0043c6f1
pop ecx
mov eax, esi
call fcn.00430830
mov eax, edi
jmp 0x43265f
push edi
call fcn.00401a00
pop ecx
xor eax, eax
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x4341ee
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 1
push 0x1f4
mov esi, ecx
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x434220
xor eax, eax
jmp 0x434309
push 5
pop eax
push eax
push 0x10
mov dword [edi + 8], eax
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi], eax
test eax, eax
jne 0x43423f
push edi
call fcn.00401a00
pop ecx
jmp 0x434219
and dword [edi + 4], 0
and dword [edi + 0xc], 0
push ebx
mov ebx, dword [0x5b8b7c]
test ebx, ebx
jne 0x43425f
call fcn.0043c742
mov ebx, eax
mov dword [0x5b8b7c], ebx
push edi
call fcn.0043c6f1
xor eax, eax
pop ecx
cmp dword [0x5b8b7c], eax
jne 0x434286
push dword [edi]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
pop ecx
xor eax, eax
jmp 0x434308
cmp esi, eax
je 0x4342c9
mov ebx, 0x103
push ebx
push eax
mov byte [ebp - 0x108], al
lea eax, [ebp - 0x107]
push eax
call fcn.00401f80
push esi
mov ecx, ebx
lea eax, [ebp - 0x108]
call fcn.00435b27
mov esi, eax
call fcn.004359d7
mov eax, esi
push eax
push 0x18
lea eax, [edi + 0x10]
pop ecx
call fcn.00435b27
add esp, 0x14
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
call fcn.00419a8b
lea ebx, [edi + 0x34]
push str.StringList.c
push ebx
mov dword [edi + 0x30], eax
call fcn.0047173f
pop ecx
pop ecx
mov esi, str.A_String_List_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.004715ca
mov eax, 0x7d0
mov ecx, ebx
call fcn.004715b7
mov eax, edi
call fcn.0043400f
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x43806e
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push edi
xor esi, esi
push 0x248
inc esi
push esi
call fcn.00401a3a
mov edi, eax
xor ebx, ebx
pop ecx
pop ecx
cmp edi, ebx
jne 0x438090
xor eax, eax
jmp 0x43812e
push 0x30
push esi
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi + 0x70], eax
cmp eax, ebx
jne 0x4380aa
push edi
call fcn.00401a00
pop ecx
jmp 0x438089
mov dword [edi + 0x5c], esi
cmp dword [0x5b42e8], ebx
jne 0x4380d3
call fcn.0043c742
mov dword [0x5b42e8], eax
cmp eax, ebx
jne 0x4380d3
mov eax, dword [edi + 0x70]
cmp eax, ebx
je 0x4380a1
push eax
call fcn.00401a00
pop ecx
jmp 0x4380a1
fld1
or dword [edi + 0x68], 0xffffffff
mov dword [edi + 0x40], ebx
fstp dword [edi + 0x44]
mov dword [edi + 0x7c], ebx
mov eax, 0xffff8000
lea ebx, [edi + 0x88]
push str.Sprite.c
push ebx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
call fcn.0047173f
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.004715ca
mov eax, 0x7d0
mov ecx, ebx
call fcn.004715b7
mov ebx, dword [0x5b42e8]
push edi
call fcn.0043c6f1
add esp, 0xc
mov eax, edi
call fcn.00437f74
mov eax, edi
pop edi
pop esi
pop ebx
ret

Function at 0x43a269
Capabilities:
Write file on windows

Disassembly:
push 0x10
push 0x4afe80
call fcn.00407f20
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x43a321
push 1
mov esi, 0xfffc
push esi
call fcn.00401a3a
mov edi, eax
push 1
push esi
call fcn.00401a3a
mov esi, eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push 0xffffffffffffffff
push 0xffdc
push edi
call fcn.00402b42
add esp, 0x24
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [edi + ecx]
mov dl, byte [eax]
cmp dl, 0xd
je 0x43a314
cmp dl, 0xa
je 0x43a314
add ecx, esi
mov word [ecx], 0x1d1c
mov word [ecx + 2], 0x1f1e
add ecx, 4
push ecx
call fcn.00439ff7
pop ecx
push dword [ebp + 8]
push esi
call fcn.00401a80
pop ecx
push eax
push 1
push esi
call fcn.0040257f
add esp, 0x10
mov dword [ebp - 0x1c], eax
cmp eax, 4
jle 0x43a304
sub dword [ebp - 0x1c], 4
push edi
call fcn.00401a00
push esi
call fcn.00401a00
pop ecx
pop ecx
jmp 0x43a321
mov byte [esi + ecx], dl
inc ecx
jmp 0x43a2b9
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.00407f65
ret
Function at 0x43a4b4
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ebx, eax
test esi, esi
jns 0x43a4c1
xor esi, esi
test ebx, ebx
jns 0x43a4c7
xor ebx, ebx
test esi, esi
jle 0x43a50e
test ebx, ebx
jle 0x43a50e
push 1
push 0x1f8
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x43a50e
mov dword [edi], esi
imul esi, ebx
mov eax, esi
cdq
sub eax, edx
sar eax, 1
lea eax, [eax + esi + 0x14]
push eax
push 4
mov dword [edi + 4], ebx
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi + 0x14], eax
test eax, eax
jne 0x43a514
push edi
call fcn.00401a00
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
test esi, esi
jle 0x43a531
mov ecx, dword [edi + 0x14]
mov byte [ecx + eax*4], 0x20
mov ecx, dword [edi + 0x14]
push 7
pop edx
mov word [ecx + eax*4 + 2], dx
inc eax
cmp eax, esi
jl 0x43a51a
mov eax, dword [0x5b0074]
test eax, eax
jne 0x43a559
call fcn.0043c742
mov dword [0x5b0074], eax
test eax, eax
jne 0x43a559
push dword [edi + 0x14]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
jmp 0x43a50d
mov ecx, dword [edi + 0x14]
lea ecx, [ecx + esi*4 + 4]
push 5
mov dword [edi + 0x24], ecx
add esi, 2
pop ecx
mov dword [edi + 0x20], esi
cmp esi, ecx
jge 0x43a573
mov dword [edi + 0x20], ecx
push edi
mov ebx, eax
mov dword [edi + 0x10], 7
mov word [edi + 0x1c], 0x709
call fcn.0043c6f1
lea ebx, [edi + 0x38]
mov dword [esp], str.ScreenBuffer.c
push ebx
call fcn.0047173f
pop ecx
pop ecx
mov esi, str.A_ScreenBuffer_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.004715ca
mov eax, 0x7d0
mov ecx, ebx
call fcn.004715b7
mov eax, edi
call fcn.0043a491
mov eax, edi
jmp 0x43a510
Function at 0x44bae7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x44bb04
cmp dword [ebp + 0xc], 0
je 0x44bb04
cmp dword [ebp + 0xc], 0xffffffff
je 0x44bb04
call fcn.0044ba84
mov dword [ebp + 8], eax
push ebx
push esi
mov esi, 0x5ab488
push edi
mov edx, esi
call fcn.00436c5d
mov edi, 0x104
test eax, eax
je 0x44bb54
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push esi
push str.APPDATA
call ebx
test eax, eax
jne 0x44bb4d
push edi
push esi
push str.SystemDrive
call ebx
test eax, eax
jne 0x44bb54
push 0x49aa10
mov ecx, edi
mov eax, esi
call fcn.00435b27
pop ecx
jmp 0x44bb54
mov byte [0x5ab48a], 0
push esi
mov esi, 0x5ab590
mov ecx, edi
mov eax, esi
call fcn.00435b27
mov ebx, dword [ebp + 8]
pop ecx
test ebx, ebx
je 0x44bba9
push esi
push ebx
call fcn.00401ba0
push esi
call fcn.00401a80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x44bba7
cmp dword [ebp + 0xc], 0xffffffff
je 0x44bba7
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
sub edi, eax
add eax, ebx
push edi
push eax
call fcn.00404865
add esp, 0x10
test eax, eax
jns 0x44bba7
mov byte [ebx + 0x103], 0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44bd82
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4b22d4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x10c], eax
cmp eax, ebx
jne 0x44bdbd
cmp dword [ebp + 0xc], ebx
je 0x44bdbd
cmp dword [ebp + 0xc], 0xffffffff
je 0x44bdbd
call fcn.0044ba84
mov dword [ebp - 0x10c], eax
mov eax, fcn.0044bc84
mov esi, 0x5abbc0
mov edi, 0x104
mov edx, esi
cmp eax, fcn.0044bd82
je 0x44be1a
call fcn.00436c5d
test eax, eax
jne 0x44bdea
cmp dword [0x5ab47c], ebx
je 0x44bec4
push edi
push ebx
push esi
call fcn.00401f80
push ebx
push ebx
mov dword [0x5ab47c], ebx
call fcn.0044bc84
push eax
push str._sPAULA_
push edi
push esi
call fcn.004362e2
push esi
call fcn.00401a80
add esp, 0x28
jmp 0x44bebf
call fcn.00436c5d
test eax, eax
jne 0x44be2f
cmp dword [0x5ab47c], ebx
je 0x44bec4
push edi
push ebx
push esi
call fcn.00401f80
add esp, 0xc
push edi
lea eax, [ebp - 0x108]
push eax
mov dword [0x5ab47c], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x44be92
push edi
lea eax, [ebp - 0x108]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x44be92
push edi
lea eax, [ebp - 0x108]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x44be92
push str.C:ProgramData
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.00435b27
pop ecx
lea eax, [ebp - 0x108]
push str._.
push eax
call fcn.00401bb0
lea eax, [ebp - 0x108]
push eax
push str._sPAULA_
push edi
push esi
call fcn.004362e2
push esi
call fcn.00401a80
add esp, 0x1c
mov dword [0x5ab58c], eax
mov ebx, 0x5abcc8
push esi
mov ecx, edi
mov eax, ebx
call fcn.00435b27
mov ecx, dword [0x5ab58c]
push esi
mov esi, 0x5abdd0
mov eax, esi
call fcn.00435b27
cmp dword [ebp - 0x10c], 0
pop ecx
pop ecx
jne 0x44befb
cmp dword [ebp + 0xc], 0xffffffff
je 0x44bf5f
mov eax, ebx
jmp 0x44bf5f
cmp dword [ebp + 0xc], 0xffffffff
jne 0x44bf18
push esi
push dword [ebp - 0x10c]
call fcn.00401ba0
push esi
call fcn.00401a80
add esp, 0xc
jmp 0x44bf59
push ebx
push dword [ebp - 0x10c]
call fcn.00401ba0
push ebx
call fcn.00401a80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x44bf59
mov esi, dword [ebp - 0x10c]
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
sub edi, eax
add eax, esi
push edi
push eax
call fcn.00404865
add esp, 0x10
test eax, eax
jns 0x44bf59
mov byte [esi + 0x103], 0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x44dfb9
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x44e08e
cmp dword [esi + 4], ebx
jle 0x44e08e
push edi
call fcn.0043c742
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x44e03b
lea eax, [esi + 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movsx ebx, word [eax]
mov edi, dword [ebp - 8]
call fcn.0043c8d4
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x44e00f
movsx eax, word [edi]
mov ebx, dword [ebp - 8]
push eax
call fcn.0043c6f1
pop ecx
cmp word [edi + 6], 0
jle 0x44e025
movsx ebx, word [edi]
push 1
push dword [ebp - 8]
call fcn.0043c876
pop ecx
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x90
mov dword [ebp - 0xc], edi
cmp eax, dword [esi + 4]
jl 0x44dfed
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x44e080
lea eax, [esi + 0x63]
mov dword [ebp - 0xc], eax
jmp 0x44e053
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov byte [eax], bl
movsx ebx, word [eax - 0x23]
call fcn.0043c81f
test eax, eax
je 0x44e06e
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0x10]
mov byte [eax], 1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0xc], 0x90
cmp eax, dword [esi + 4]
jl 0x44e04e
mov esi, dword [ebp - 8]
call fcn.0043c705
mov eax, dword [ebp - 0x10]
pop edi
jmp 0x44e091
or eax, 0xffffffff
pop esi
pop ebx
leave
ret