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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4e22e4]
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 0x4370ec
xor eax, eax
jmp 0x4371d5
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 0x43710b
push edi
call fcn.00401a00
pop ecx
jmp 0x4370e5
and dword [edi + 4], 0
and dword [edi + 0xc], 0
push ebx
mov ebx, dword [0x5f2a04]
test ebx, ebx
jne 0x43712b
call fcn.00444328
mov ebx, eax
mov dword [0x5f2a04], ebx
push edi
call fcn.004442d7
xor eax, eax
pop ecx
cmp dword [0x5f2a04], eax
jne 0x437152
push dword [edi]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
pop ecx
xor eax, eax
jmp 0x4371d4
cmp esi, eax
je 0x437195
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.00438aa8
mov esi, eax
call fcn.00438922
mov eax, esi
push eax
push 0x18
lea eax, [edi + 0x10]
pop ecx
call fcn.00438aa8
add esp, 0x14
mov eax, dword [ebp + 8]
mov dword [edi + 0x2c], eax
call fcn.0041a877
lea ebx, [edi + 0x34]
push str.StringList.c
push ebx
mov dword [edi + 0x30], eax
call fcn.0048ac23
pop ecx
pop ecx
mov esi, str.A_String_List_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0048aaae
mov eax, 0x7d0
mov ecx, ebx
call fcn.0048aa9b
mov eax, edi
call fcn.00436edb
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401317
leave
ret
Function at 0x43b175
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 0x43b194
xor eax, eax
jmp 0x43b23b
push 0x30
push esi
call fcn.00401a3a
pop ecx
pop ecx
mov dword [edi + 0x70], eax
test eax, eax
jne 0x43b1ae
push edi
call fcn.00401a00
pop ecx
jmp 0x43b18d
cmp dword [0x5ee16c], 0
mov dword [edi + 0x5c], esi
jne 0x43b1d8
call fcn.00444328
mov dword [0x5ee16c], eax
test eax, eax
jne 0x43b1d8
mov eax, dword [edi + 0x70]
test eax, eax
je 0x43b1a5
push eax
call fcn.00401a00
pop ecx
jmp 0x43b1a5
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.00494dd4
lea ebx, [edi + 0x88]
push str.Sprite.c
push ebx
mov dword [edi + 0x7c], eax
call fcn.0048ac23
mov esi, str.A_sprite_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0048aaae
mov eax, 0x7d0
mov ecx, ebx
call fcn.0048aa9b
mov ebx, dword [0x5ee16c]
push edi
call fcn.004442d7
add esp, 0xc
mov eax, edi
call fcn.0043aec2
mov eax, edi
pop ebx
pop edi
pop esi
ret

Function at 0x43cdf4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4e22e4]
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 0x43ce3a
xor eax, eax
jmp 0x43ceeb
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, 0x4ae7a4
lea ecx, [ebp - 0x110]
call fcn.0048d3dd
pop ecx
pop ecx
mov dword [ebp - 0x11c], eax
test eax, eax
jne 0x43cec0
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x43cea8
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x43cea8
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x43ceaa
push 0xa
call ebx
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x43ce51
jmp 0x43ce33
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 0x43cede
xor esi, esi
mov ecx, dword [ebp - 0x11c]
call fcn.0048fcf9
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401317
leave
ret
Function at 0x43cefa
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4e22e4]
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 0x43cf41
xor eax, eax
jmp 0x43d02e
mov esi, 0x188
push esi
push ebx
push edi
call fcn.00401f80
mov dword [ebp - 0x114], ebx
add esp, 0xc
mov ebx, 0xfa
jmp 0x43cf64
mov edi, dword [ebp - 0x11c]
push 0x6f3
push str.ServerPAULA.c
mov edx, 0x4ae668
lea ecx, [ebp - 0x110]
call fcn.0048d3dd
pop ecx
pop ecx
mov dword [ebp - 0x118], eax
test eax, eax
jne 0x43cff8
lea edi, [ebp - 0x110]
call fcn.0048e806
test eax, eax
je 0x43cfe8
call fcn.0040237f
mov edi, 0x226
cdq
mov ecx, edi
idiv ecx
add edx, ebx
js 0x43cfcd
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x43cfcd
call fcn.0040237f
cdq
idiv edi
add edx, ebx
push edx
jmp 0x43cfcf
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 0x114]
cmp dword [ebp - 0x114], 3
jl 0x43cf5e
lea edi, [ebp - 0x110]
call fcn.0048e806
jmp 0x43cf3a
push eax
push 1
push esi
push edi
call fcn.00402244
mov ecx, dword [ebp - 0x118]
add esp, 0x10
cmp eax, 1
je 0x43d026
call fcn.0048fcf9
push esi
push 0
push edi
call fcn.00401f80
add esp, 0xc
jmp 0x43cf3a
call fcn.0048fcf9
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 0x43d03d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4e22e4]
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 0x43d09b
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
test ebx, ebx
jne 0x43d0a7
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, 0x4ae668
lea ecx, [esp + 0x30]
call fcn.0048d3dd
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x43d145
lea edi, [esp + 0x28]
call fcn.0048e806
test eax, eax
je 0x43d125
call fcn.0040237f
cdq
mov ecx, esi
idiv ecx
add edx, ebx
js 0x43d112
call fcn.0040237f
cdq
mov ecx, esi
idiv ecx
add edx, ebx
cmp edx, 0x7fffffff
jge 0x43d112
call fcn.0040237f
cdq
mov ecx, esi
idiv ecx
add edx, ebx
push edx
jmp 0x43d114
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x43d0b4
lea edi, [esp + 0x28]
call fcn.0048e806
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 0x43d175
push edi
push ebx
push 0x10
push dword [esp + 0x1c]
call fcn.00402244
add esp, 0x10
cmp eax, ebx
je 0x43d17a
and dword [esp + 0xc], 0
mov ecx, edi
call fcn.0048fcf9
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.0041afd2
add esp, 0x14
test eax, eax
je 0x43d12e
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.0041afd2
add esp, 0x14
test eax, eax
je 0x43d12e
xor eax, eax
cmp dword [esp + 0xc], eax
setne al
jmp 0x43d130
Function at 0x43d1c3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x4e22e4]
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 0x43d233
test esi, esi
jne 0x43d225
xor eax, eax
inc eax
jmp 0x43d302
lea eax, [esp + 0x18]
mov dword [esp + 0x14], eax
xor edx, edx
mov ecx, eax
jmp 0x43d245
test esi, esi
jne 0x43d252
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.0043d03d
and dword [esp + 0xc], 0
mov edi, 0x190
lea esi, [edi - 0x64]
push 0x669
push str.ServerPAULA.c
mov edx, 0x4ae7a4
lea ecx, [esp + 0x30]
call fcn.0048d3dd
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x43d2c7
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
js 0x43d2b0
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
cmp edx, 0x7fffffff
jge 0x43d2b0
call fcn.0040237f
cdq
mov ecx, edi
idiv ecx
add edx, esi
push edx
jmp 0x43d2b2
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [esp + 0xc]
cmp dword [esp + 0xc], 3
jl 0x43d25f
xor eax, eax
jmp 0x43d302
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 0x43d2f2
push ebx
push esi
push 0x10
push dword [esp + 0x1c]
call fcn.0040257f
add esp, 0x10
cmp eax, esi
je 0x43d2f4
xor esi, esi
mov ecx, ebx
call fcn.0048fcf9
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 0x441627
Capabilities:
Write file on windows

Disassembly:
push 0x10
push 0x4df9b0
call fcn.004085a0
or dword [ebp - 0x1c], 0xffffffff
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x4416df
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 0x4416d2
cmp dl, 0xa
je 0x4416d2
add ecx, esi
mov word [ecx], 0x1d1c
mov word [ecx + 2], 0x1f1e
add ecx, 4
push ecx
call fcn.004413b5
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 0x4416c2
sub dword [ebp - 0x1c], 4
push edi
call fcn.00401a00
push esi
call fcn.00401a00
pop ecx
pop ecx
jmp 0x4416df
mov byte [esi + ecx], dl
inc ecx
jmp 0x441677
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
call fcn.004085e5
ret

Function at 0x441872
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
mov ebx, eax
test esi, esi
jns 0x441884
call fcn.00494e18
mov esi, eax
test ebx, ebx
jns 0x44188f
call fcn.00494ead
mov ebx, eax
test esi, esi
jle 0x4418d6
test ebx, ebx
jle 0x4418d6
push 1
push 0x1f8
call fcn.00401a3a
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4418d6
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 0x4418dc
push edi
call fcn.00401a00
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
ret
xor eax, eax
test esi, esi
jle 0x4418f9
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 0x4418e2
mov eax, dword [0x5e3e0c]
test eax, eax
jne 0x441921
call fcn.00444328
mov dword [0x5e3e0c], eax
test eax, eax
jne 0x441921
push dword [edi + 0x14]
call fcn.00401a00
push edi
call fcn.00401a00
pop ecx
jmp 0x4418d5
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 0x44193b
mov dword [edi + 0x20], ecx
push edi
mov ebx, eax
mov dword [edi + 0x10], 7
mov word [edi + 0x1c], 0x709
call fcn.004442d7
lea ebx, [edi + 0x38]
mov dword [esp], str.ScreenBuffer.c
push ebx
call fcn.0048ac23
pop ecx
pop ecx
mov esi, str.A_ScreenBuffer_handle_had_to_be_forced_to_unlock___
mov eax, ebx
call fcn.0048aaae
mov eax, 0x7d0
mov ecx, ebx
call fcn.0048aa9b
mov eax, edi
call fcn.0044184f
mov eax, edi
jmp 0x4418d8
Function at 0x448de4
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.00439c75
test eax, eax
jne 0x448f8e
mov ecx, dword [ebp + 8]
push 0x15b9
push str.Printer.c
mov edx, 0x4ae7a4
call fcn.0048d3dd
mov ebx, eax
pop ecx
pop ecx
mov dword [ebp - 8], ebx
cmp ebx, edi
jne 0x448e49
push dword [ebp + 8]
push str.PrinterSaveConfig___FAILED:_Could_not_open_the_given_file___s__for_writing.
call fcn.00492fd6
pop ecx
pop ecx
jmp 0x448f8e
push 0x15c0
push esi
call fcn.00447ffb
pop ecx
pop ecx
test eax, eax
je 0x448f87
mov edx, esi
call fcn.004474b7
test eax, eax
je 0x448f87
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 0x448f06
push dword [esi + 0xc]
call ebx
push dword [esi + 0xc]
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x448ef7
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 4], eax
cmp eax, edi
jle 0x448edc
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 0x448eec
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevMode:__GetLastError_
call fcn.00492fd6
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x448f06
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevMode_during_save___ld_:__GetLastError_
call fcn.00492fd6
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x4c], edi
je 0x448f73
push dword [esi + 0x10]
call ebx
push dword [esi + 0x10]
mov ebx, eax
cmp ebx, edi
je 0x448f64
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov dword [ebp - 4], eax
cmp eax, edi
jle 0x448f49
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 0x448f59
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevNames:__GetLastError_
call fcn.00492fd6
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x448f73
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevNames_during_save___ld_:__GetLastError_
call fcn.00492fd6
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
mov eax, esi
call fcn.004474aa
mov ecx, dword [ebp - 8]
call fcn.0048fcf9
xor eax, eax
inc eax
jmp 0x448f90
mov ecx, ebx
call fcn.0048fcf9
xor eax, eax
pop edi
pop ebx
leave
ret
Function at 0x454d74
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x454d91
cmp dword [ebp + 0xc], 0
je 0x454d91
cmp dword [ebp + 0xc], 0xffffffff
je 0x454d91
call fcn.00454d11
mov dword [ebp + 8], eax
push ebx
push esi
mov esi, 0x5df218
push edi
mov edx, esi
call fcn.00439c75
mov edi, 0x104
test eax, eax
je 0x454de1
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push esi
push str.APPDATA
call ebx
test eax, eax
jne 0x454dda
push edi
push esi
push str.SystemDrive
call ebx
test eax, eax
jne 0x454de1
push 0x4c8824
mov ecx, edi
mov eax, esi
call fcn.00438aa8
pop ecx
jmp 0x454de1
mov byte [0x5df21a], 0
push esi
mov esi, 0x5df320
mov ecx, edi
mov eax, esi
call fcn.00438aa8
mov ebx, dword [ebp + 8]
pop ecx
test ebx, ebx
je 0x454e36
push esi
push ebx
call fcn.00401ba0
push esi
call fcn.00401a80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x454e34
cmp dword [ebp + 0xc], 0xffffffff
je 0x454e34
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0xc]
sub edi, eax
add eax, ebx
push edi
push eax
call fcn.00402db4
add esp, 0x10
test eax, eax
jns 0x454e34
mov byte [ebx + 0x103], 0
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45500f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4e22e4]
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 0x45504a
cmp dword [ebp + 0xc], ebx
je 0x45504a
cmp dword [ebp + 0xc], 0xffffffff
je 0x45504a
call fcn.00454d11
mov dword [ebp - 0x10c], eax
mov eax, fcn.00454f11
mov esi, 0x5df950
mov edi, 0x104
mov edx, esi
cmp eax, fcn.0045500f
je 0x4550a7
call fcn.00439c75
test eax, eax
jne 0x455077
cmp dword [0x5df210], ebx
je 0x455151
push edi
push ebx
push esi
call fcn.00401f80
push ebx
push ebx
mov dword [0x5df210], ebx
call fcn.00454f11
push eax
push str._sPAULA_
push edi
push esi
call fcn.004392ef
push esi
call fcn.00401a80
add esp, 0x28
jmp 0x45514c
call fcn.00439c75
test eax, eax
jne 0x4550bc
cmp dword [0x5df210], ebx
je 0x455151
push edi
push ebx
push esi
call fcn.00401f80
add esp, 0xc
push edi
lea eax, [ebp - 0x108]
push eax
mov dword [0x5df210], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x45511f
push edi
lea eax, [ebp - 0x108]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x45511f
push edi
lea eax, [ebp - 0x108]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x45511f
push str.C:ProgramData
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.00438aa8
pop ecx
lea eax, [ebp - 0x108]
push 0x4b1d78
push eax
call fcn.00401bb0
lea eax, [ebp - 0x108]
push eax
push str._sPAULA_
push edi
push esi
call fcn.004392ef
push esi
call fcn.00401a80
add esp, 0x1c
mov dword [0x5df424], eax
mov ebx, 0x5dfa58
push esi
mov ecx, edi
mov eax, ebx
call fcn.00438aa8
mov ecx, dword [0x5df424]
push esi
mov esi, 0x5dfb60
mov eax, esi
call fcn.00438aa8
cmp dword [ebp - 0x10c], 0
pop ecx
pop ecx
jne 0x455188
cmp dword [ebp + 0xc], 0xffffffff
je 0x4551ec
mov eax, ebx
jmp 0x4551ec
cmp dword [ebp + 0xc], 0xffffffff
jne 0x4551a5
push esi
push dword [ebp - 0x10c]
call fcn.00401ba0
push esi
call fcn.00401a80
add esp, 0xc
jmp 0x4551e6
push ebx
push dword [ebp - 0x10c]
call fcn.00401ba0
push ebx
call fcn.00401a80
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x4551e6
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.00402db4
add esp, 0x10
test eax, eax
jns 0x4551e6
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 0x457364
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 0x457439
cmp dword [esi + 4], ebx
jle 0x457439
push edi
call fcn.00444328
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x4573e6
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.004444ba
mov edi, dword [ebp - 0xc]
test eax, eax
jne 0x4573ba
movsx eax, word [edi]
mov ebx, dword [ebp - 8]
push eax
call fcn.004442d7
pop ecx
cmp word [edi + 6], 0
jle 0x4573d0
movsx ebx, word [edi]
push 1
push dword [ebp - 8]
call fcn.0044445c
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 0x457398
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
jle 0x45742b
lea eax, [esi + 0x63]
mov dword [ebp - 0xc], eax
jmp 0x4573fe
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov byte [eax], bl
movsx ebx, word [eax - 0x23]
call fcn.00444405
test eax, eax
je 0x457419
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 0x4573f9
mov esi, dword [ebp - 8]
call fcn.004442eb
mov eax, dword [ebp - 0x10]
pop edi
jmp 0x45743c
or eax, 0xffffffff
pop esi
pop ebx
leave
ret
Function at 0x461bdb
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x4e22e4]
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 0x461c23
mov eax, edi
call fcn.00438b22
push ebx
call fcn.0046185e
mov edi, eax
pop ecx
cmp edi, ebx
jne 0x461c37
xor eax, eax
jmp 0x461d1f
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.00460aca
pop ecx
pop ecx
test eax, eax
je 0x461d0c
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 0x118], ebx
call fcn.004606c9
add esp, 0x14
test eax, eax
je 0x461d12
mov ebx, 0x4b064c
cmp dword [ebp - 0x118], 0xde
jge 0x461d12
cmp dword [ebp - 0x110], 0
jne 0x461ce7
lea eax, [ebp - 0x10c]
push eax
call fcn.00403351
cmp dword [ebp - 0x114], 0
pop ecx
mov dword [ebp - 0x110], eax
je 0x461ce7
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.00401b10
pop ecx
pop ecx
test eax, eax
je 0x461ce7
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.00438aa8
add esp, 0xc
call fcn.0043985a
inc dword [ebp - 0x118]
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
call fcn.004606c9
add esp, 0x14
test eax, eax
jne 0x461c7a
jmp 0x461d12
mov dword [ebp - 0x110], ebx
push edi
call fcn.004609b5
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