joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442a97
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5092e4]
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 0x442ac9
xor eax, eax
jmp 0x442bb2
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 0x442ae8
push edi
call fcn.00401a00
pop ecx
jmp 0x442ac2
and dword [edi + 4], 0
and dword [edi + 0xc], 0
push ebx
mov ebx, dword [0x619dc0]
test ebx, ebx
jne 0x442b08
call fcn.0045052b
mov ebx, eax
mov dword [0x619dc0], ebx
push edi
call fcn.004504da
xor eax, eax
pop ecx
cmp dword [0x619dc0], eax
jne 0x442b2f
push dword [edi]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
pop ecx
xor eax, eax
jmp 0x442bb1
cmp esi, eax
je 0x442b72
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.00444961
mov esi, eax
call fcn.00444789
mov eax, esi
push eax
push 0x18
lea eax, [edi + 0x10]
pop ecx
call fcn.00444961
add esp, 0x14
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
call fcn.0041df75
lea ebx, [edi + 0x34]
push str.StringList.c
push ebx
mov dword [edi + 0x30], eax
call fcn.0049d62a
pop ecx
pop ecx
mov esi, str.A_String_List_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0049d4b5
mov eax, 0x7d0
mov ecx, ebx
call fcn.0049d4a2
mov eax, edi
call fcn.004428b8
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x447083
Capabilities:
Terminate process

Disassembly:
push esi
push edi
xor esi, esi
push 0x248
inc esi
push esi
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4470a2
xor eax, eax
jmp 0x447149
push 0x30
push esi
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi + 0x70], eax
test eax, eax
jne 0x4470bc
push edi
call fcn.00401a00
pop ecx
jmp 0x44709b
cmp dword [0x615528], 0
mov dword [edi + 0x5c], esi
jne 0x4470e6
call fcn.0045052b
mov dword [0x615528], eax
test eax, eax
jne 0x4470e6
mov eax, dword [edi + 0x70]
test eax, eax
je 0x4470b3
push eax
call fcn.00401a00
pop ecx
jmp 0x4470b3
fld1
or dword [edi + 0x68], 0xffffffff
and dword [edi + 0x40], 0
fstp dword [edi + 0x44]
mov eax, 0xffff8000
push ebx
mov dword [edi + 0x38], eax
mov dword [edi + 0x3c], eax
call fcn.004ab4b2
lea ebx, [edi + 0x88]
push str.Sprite.c
push ebx
mov dword [edi + 0x7c], eax
call fcn.0049d62a
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0049d4b5
mov eax, 0x7d0
mov ecx, ebx
call fcn.0049d4a2
mov ebx, dword [0x615528]
push edi
call fcn.004504da
add esp, 0xc
mov eax, edi
call fcn.00446dd0
mov eax, edi
pop ebx
pop edi
pop esi
ret

Function at 0x44930d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x10f]
mov esi, ecx
push 0
push eax
mov dword [ebp - 0x118], esi
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
test esi, esi
jne 0x449353
xor eax, eax
jmp 0x449404
and dword [ebp - 0x114], 0
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0x226
mov esi, 0x12c
push 0x726
push str.ServerPAULA.c
mov edx, 0x4cc8b8
lea ecx, [ebp - 0x110]
call fcn.004a0001
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
test eax, eax
jne 0x4493d9
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x4493c1
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x4493c1
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x4493c3
push 0xa
call ebx
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x44936a
jmp 0x44934c
push eax
xor esi, esi
inc esi
push esi
push 0x188
push dword [ebp - 0x118]
call fcn.0040257f
add esp, 0x10
cmp eax, esi
je 0x4493f7
xor esi, esi
mov ecx, dword [ebp - 0x11c]
call fcn.004a2aec
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x449413
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
xor ebx, ebx
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x11c], edi
mov byte [ebp - 0x110], 0
call fcn.00401f80
add esp, 0xc
cmp edi, ebx
jne 0x44945a
xor eax, eax
jmp 0x449547
mov esi, 0x188
push esi
push ebx
push edi
call fcn.00401f80
mov dword [ebp - 0x114], ebx
add esp, 0xc
mov ebx, 0xfa
jmp 0x44947d
mov edi, dword [ebp - 0x11c]
push 0x6f3
push str.ServerPAULA.c
mov edx, 0x4cc77c
lea ecx, [ebp - 0x110]
call fcn.004a0001
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x449511
lea edi, [ebp - 0x110]
call fcn.004a142a
test eax, eax
je 0x449501
call fcn.0040237f
mov edi, 0x226
cdq
mov ecx, edi
idiv ecx
add edx, ebx
js 0x4494e6
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x4494e6
call fcn.0040237f
cdq
idiv edi
add edx, ebx
push edx
jmp 0x4494e8
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x449477
lea edi, [ebp - 0x110]
call fcn.004a142a
jmp 0x449453
push eax
push 1
push esi
push edi
call fcn.00402244
mov ecx, dword [ebp - 0x118]
add esp, 0x10
cmp eax, 1
je 0x44953f
call fcn.004a2aec
push esi
push 0
push edi
call fcn.00401f80
add esp, 0xc
jmp 0x449453
call fcn.004a2aec
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x449556
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x2d]
mov esi, ecx
mov ebx, edx
push 0
push eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x34], 0
call fcn.00401f80
xor eax, eax
mov word [esp + 0x24], ax
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
test esi, esi
jne 0x4495b4
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x4495c0
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
and dword [esp + 0xc], 0
mov esi, 0x15e
lea ebx, [esi - 0x64]
push 0x6a6
push str.ServerPAULA.c
mov edx, 0x4cc77c
lea ecx, [esp + 0x30]
call fcn.004a0001
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x44965e
lea edi, [esp + 0x28]
call fcn.004a142a
test eax, eax
je 0x44963e
call fcn.0040237f
cdq
mov ecx, esi
idiv ecx
add edx, ebx
js 0x44962b
call fcn.0040237f
cdq
mov ecx, esi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x44962b
call fcn.0040237f
cdq
mov ecx, esi
idiv ecx
add edx, ebx
push edx
jmp 0x44962d
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x4495cd
lea edi, [esp + 0x28]
call fcn.004a142a
xor eax, eax
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
mov esi, dword [esp + 0x14]
xor ebx, ebx
push edi
inc ebx
push ebx
push 0x10
push esi
mov dword [esp + 0x1c], ebx
call fcn.00402244
add esp, 0x10
cmp eax, ebx
jne 0x44968e
push edi
push ebx
push 0x10
push dword [esp + 0x1c]
call fcn.00402244
add esp, 0x10
cmp eax, ebx
je 0x449693
and dword [esp + 0xc], 0
mov ecx, edi
call fcn.004a2aec
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041e6a5
add esp, 0x14
test eax, eax
je 0x449647
mov esi, dword [esp + 0x10]
push ebx
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041e6a5
add esp, 0x14
test eax, eax
je 0x449647
xor eax, eax
cmp dword [esp + 0xc], eax
setne al
jmp 0x449649
Function at 0x4496dc
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x5092e4]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
push 0x103
lea eax, [esp + 0x2d]
mov ebx, ecx
mov esi, edx
push 0
push eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x34], 0
call fcn.00401f80
xor eax, eax
mov word [esp + 0x24], ax
lea edi, [esp + 0x26]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosw word es:[edi], ax
test ebx, ebx
jne 0x44974c
test esi, esi
jne 0x44973e
xor eax, eax
inc eax
jmp 0x44981b
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, eax
jmp 0x44975e
test esi, esi
jne 0x44976b
lea eax, [esp + 0x18]
mov dword [esp + 0x10], eax
mov esi, ebx
mov edx, eax
xor ecx, ecx
lea edi, [esp + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.00449556
and dword [esp + 0xc], 0
mov edi, 0x190
lea esi, [edi - 0x64]
push 0x669
push str.ServerPAULA.c
mov edx, 0x4cc8b8
lea ecx, [esp + 0x30]
call fcn.004a0001
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x4497e0
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x4497c9
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x4497c9
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x4497cb
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x449778
xor eax, eax
jmp 0x44981b
xor esi, esi
push ebx
inc esi
push esi
push 0x10
push dword [esp + 0x20]
call fcn.0040257f
add esp, 0x10
cmp eax, esi
jne 0x44980b
push ebx
push esi
push 0x10
push dword [esp + 0x1c]
call fcn.0040257f
add esp, 0x10
cmp eax, esi
je 0x44980d
xor esi, esi
mov ecx, ebx
call fcn.004a2aec
xor eax, eax
test esi, esi
setne al
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401317
mov esp, ebp
pop ebp
ret
Function at 0x44d67c
Capabilities:
Write file on windows

Disassembly:
push 0x10
push 0x506420
call fcn.004086e0
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x44d734
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.00402ce8
add esp, 0x24
xor ecx, ecx
mov dword [ebp - 0x20], ecx
lea eax, [edi + ecx]
mov dl, byte [eax]
cmp dl, 0xd
je 0x44d727
cmp dl, 0xa
je 0x44d727
add ecx, esi
mov word [ecx], 0x1d1c
mov word [ecx + 2], 0x1f1e
add ecx, 4
push ecx
call fcn.0044d4b9
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 0x44d717
sub dword [ebp - 0x1c], 4
push edi
call fcn.00401a00
push esi
call fcn.00401a00
pop ecx
pop ecx
jmp 0x44d734
mov byte [esi + ecx], dl
inc ecx
jmp 0x44d6cc
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.00408725
ret

Function at 0x44d9e5
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ebx, eax
test esi, esi
jns 0x44d9f7
call fcn.004ab4f6
mov esi, eax
test ebx, ebx
jns 0x44da02
call fcn.004ab58b
mov ebx, eax
test esi, esi
jle 0x44da49
test ebx, ebx
jle 0x44da49
push 1
push 0x1f8
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x44da49
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 0x44da4f
push edi
call fcn.00401a00
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
test esi, esi
jle 0x44da6c
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 0x44da55
mov eax, dword [0x60b00c]
test eax, eax
jne 0x44da94
call fcn.0045052b
mov dword [0x60b00c], eax
test eax, eax
jne 0x44da94
push dword [edi + 0x14]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
jmp 0x44da48
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 0x44daae
mov dword [edi + 0x20], ecx
push edi
mov ebx, eax
mov dword [edi + 0x10], 7
mov word [edi + 0x1c], 0x709
call fcn.004504da
lea ebx, [edi + 0x38]
mov dword [esp], str.ScreenBuffer.c
push ebx
call fcn.0049d62a
pop ecx
pop ecx
mov esi, str.A_ScreenBuffer_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0049d4b5
mov eax, 0x7d0
mov ecx, ebx
call fcn.0049d4a2
mov eax, edi
call fcn.0044d9c2
mov eax, edi
jmp 0x44da4b
Function at 0x45507b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push edi
xor edi, edi
push 0x3e
lea eax, [ebp - 0x54]
push edi
push eax
mov dword [ebp - 0x58], edi
call fcn.00401f80
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.00445b2f
test eax, eax
jne 0x455225
mov ecx, dword [ebp + 8]
push 0x15b9
push str.Printer.c
mov edx, 0x4cc8b8
call fcn.004a0001
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 8], ebx
cmp ebx, edi
jne 0x4550e0
push dword [ebp + 8]
push str.PrinterSaveConfig___FAILED:_Could_not_open_the_given_file___s__for_writing.
call fcn.004a5d2b
pop ecx
pop ecx
jmp 0x455225
push 0x15c0
push esi
call fcn.00454292
pop ecx
pop ecx
test eax, eax
je 0x45521e
mov edx, esi
call fcn.0045374e
test eax, eax
je 0x45521e
push 0x42
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.00401330
add esp, 0xc
push ebx
push 0x42
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.0040257f
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
add esp, 0x10
cmp dword [ebp - 0x50], edi
je 0x45519d
push dword [esi + 0xc]
call ebx
push dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x45518e
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 4], eax
cmp eax, edi
jle 0x455173
push dword [ebp - 8]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.0040257f
push dword [ebp - 8]
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
call fcn.0040257f
add esp, 0x20
jmp 0x455183
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevMode:__GetLastError_
call fcn.004a5d2b
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x45519d
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevMode_during_save___ld_:__GetLastError_
call fcn.004a5d2b
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x4c], edi
je 0x45520a
push dword [esi + 0x10]
call ebx
push dword [esi + 0x10]
mov ebx, eax
cmp ebx, edi
je 0x4551fb
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 4], eax
cmp eax, edi
jle 0x4551e0
push dword [ebp - 8]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.0040257f
push dword [ebp - 8]
push dword [ebp - 4]
push 1
push ebx
call fcn.0040257f
add esp, 0x20
jmp 0x4551f0
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevNames:__GetLastError_
call fcn.004a5d2b
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x45520a
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevNames_during_save___ld_:__GetLastError_
call fcn.004a5d2b
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
mov eax, esi
call fcn.00453741
mov ecx, dword [ebp - 8]
call fcn.004a2aec
xor eax, eax
inc eax
jmp 0x455227
mov ecx, ebx
call fcn.004a2aec
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x461e03
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x461e20
cmp dword [ebp + 0xc], 0
je 0x461e20
cmp dword [ebp + 0xc], 0xffffffff
je 0x461e20
call fcn.00461da0
mov dword [ebp + 8], eax
push ebx
push esi
mov esi, 0x6065d8
push edi
mov edx, esi
call fcn.00445b2f
mov edi, 0x104
test eax, eax
je 0x461e70
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push esi
push str.APPDATA
call ebx
test eax, eax
jne 0x461e69
push edi
push esi
push str.SystemDrive
call ebx
test eax, eax
jne 0x461e70
push 0x4e9744
mov ecx, edi
mov eax, esi
call fcn.00444961
pop ecx
jmp 0x461e70
mov byte [0x6065da], 0
push esi
mov esi, 0x6066e0
mov ecx, edi
mov eax, esi
call fcn.00444961
mov ebx, dword [ebp + 8]
pop ecx
test ebx, ebx
je 0x461ec5
push esi
push ebx
call fcn.00401ba0
push esi
call fcn.00401a80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x461ec3
cmp dword [ebp + 0xc], 0xffffffff
je 0x461ec3
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
sub edi, eax
add eax, ebx
push edi
push eax
call fcn.00402e91
add esp, 0x10
test eax, eax
jns 0x461ec3
mov byte [ebx + 0x103], 0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x46209e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5092e4]
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 0x4620d9
cmp dword [ebp + 0xc], ebx
je 0x4620d9
cmp dword [ebp + 0xc], 0xffffffff
je 0x4620d9
call fcn.00461da0
mov dword [ebp - 0x10c], eax
mov eax, fcn.00461fa0
mov esi, 0x606d10
mov edi, 0x104
mov edx, esi
cmp eax, fcn.0046209e
je 0x462136
call fcn.00445b2f
test eax, eax
jne 0x462106
cmp dword [0x6065cc], ebx
je 0x4621e0
push edi
push ebx
push esi
call fcn.00401f80
push ebx
push ebx
mov dword [0x6065cc], ebx
call fcn.00461fa0
push eax
push str._sPAULA_
push edi
push esi
call fcn.004451a8
push esi
call fcn.00401a80
add esp, 0x28
jmp 0x4621db
call fcn.00445b2f
test eax, eax
jne 0x46214b
cmp dword [0x6065cc], ebx
je 0x4621e0
push edi
push ebx
push esi
call fcn.00401f80
add esp, 0xc
push edi
lea eax, [ebp - 0x108]
push eax
mov dword [0x6065cc], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x4621ae
push edi
lea eax, [ebp - 0x108]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x4621ae
push edi
lea eax, [ebp - 0x108]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x4621ae
push str.C:ProgramData
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.00444961
pop ecx
lea eax, [ebp - 0x108]
push 0x4d18b0
push eax
call fcn.00401bb0
lea eax, [ebp - 0x108]
push eax
push str._sPAULA_
push edi
push esi
call fcn.004451a8
push esi
call fcn.00401a80
add esp, 0x1c
mov dword [0x6066dc], eax
mov ebx, 0x606e18
push esi
mov ecx, edi
mov eax, ebx
call fcn.00444961
mov ecx, dword [0x6066dc]
push esi
mov esi, 0x606f20
mov eax, esi
call fcn.00444961
cmp dword [ebp - 0x10c], 0
pop ecx
pop ecx
jne 0x462217
cmp dword [ebp + 0xc], 0xffffffff
je 0x46227b
mov eax, ebx
jmp 0x46227b
cmp dword [ebp + 0xc], 0xffffffff
jne 0x462234
push esi
push dword [ebp - 0x10c]
call fcn.00401ba0
push esi
call fcn.00401a80
add esp, 0xc
jmp 0x462275
push ebx
push dword [ebp - 0x10c]
call fcn.00401ba0
push ebx
call fcn.00401a80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x462275
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.00402e91
add esp, 0x10
test eax, eax
jns 0x462275
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 0x463e21
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 0x463ef6
cmp dword [esi + 4], ebx
jle 0x463ef6
push edi
call fcn.0045052b
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x463ea3
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.004506bd
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x463e77
movsx eax, word [edi]
mov ebx, dword [ebp - 8]
push eax
call fcn.004504da
pop ecx
cmp word [edi + 6], 0
jle 0x463e8d
movsx ebx, word [edi]
push 1
push dword [ebp - 8]
call fcn.0045065f
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 0x463e55
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x463ee8
lea eax, [esi + 0x63]
mov dword [ebp - 0xc], eax
jmp 0x463ebb
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov byte [eax], bl
movsx ebx, word [eax - 0x23]
call fcn.00450608
test eax, eax
je 0x463ed6
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 0x463eb6
mov esi, dword [ebp - 8]
call fcn.004504ee
mov eax, dword [ebp - 0x10]
pop edi
jmp 0x463ef9
or eax, 0xffffffff
pop esi
pop ebx
leave
ret
Function at 0x46f08d
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5092e4]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov esi, 0xff
push esi
xor ebx, ebx
lea eax, [ebp - 0x10b]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x114], edi
mov byte [ebp - 0x10c], 0
call fcn.00401f80
add esp, 0xc
cmp edi, ebx
je 0x46f0d5
mov eax, edi
call fcn.004449db
push ebx
call fcn.0046ecd5
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x46f0e9
xor eax, eax
jmp 0x46f1d1
push str.SELECT_STORE_PROFILE.STORE_NUM__COMPANY.NAME_FROM_STORE_PROFILE__COMPANY_WHERE_STORE_PROFILE.COMPANY_IDCOMPANY.ID
push edi
mov dword [ebp - 0x110], ebx
call fcn.0046dc9c
pop ecx
pop ecx
test eax, eax
je 0x46f1be
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 0x118], ebx
call fcn.0046d89b
add esp, 0x14
test eax, eax
je 0x46f1c4
mov ebx, 0x4cf3fc
cmp dword [ebp - 0x118], 0xde
jge 0x46f1c4
cmp dword [ebp - 0x110], 0
jne 0x46f199
lea eax, [ebp - 0x10c]
push eax
call fcn.0040349a
cmp dword [ebp - 0x114], 0
pop ecx
mov dword [ebp - 0x110], eax
je 0x46f199
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00401b10
pop ecx
pop ecx
test eax, eax
je 0x46f199
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00401b10
mov ecx, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp - 0x114]
call fcn.00444961
add esp, 0xc
call fcn.00445714
inc dword [ebp - 0x118]
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
call fcn.0046d89b
add esp, 0x14
test eax, eax
jne 0x46f12c
jmp 0x46f1c4
mov dword [ebp - 0x110], ebx
push edi
call fcn.0046db87
mov eax, dword [ebp - 0x110]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret