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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
push edi
xor esi, esi
mov word [ebp - 0x14], si
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x2150
mov ebx, str..Network.c
push ebx
stosd dword es:[edi], eax
push str.addrchng.flg
push esi
stosw word es:[edi], ax
mov dword [ebp - 4], esi
call fcn.0045f7e3
pop ecx
pop ecx
mov edx, 0x4de27c
mov ecx, eax
call fcn.0041c35a
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jne 0x447831
xor eax, eax
jmp 0x447970
push edi
push 1
lea eax, [ebp - 4]
push 4
push eax
call fcn.004c0915
push edi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004c0915
push edi
call fcn.0041c787
add esp, 0x24
call fcn.0040ffd6
test eax, eax
jne 0x44789d
push 0x2159
push ebx
lea esi, [ebp - 0x28]
call fcn.004b01df
push ecx
push ecx
mov edi, esp
lea esi, [ebp - 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]
sub esp, 0x10
mov esi, eax
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.004aef99
push eax
call fcn.004c21f7
add esp, 0x24
cmp eax, 0x6ddd000
jle 0x44789d
call fcn.004477cc
push 0x215d
push ebx
lea esi, [ebp - 0x28]
call fcn.004b01df
push ecx
push ecx
mov edi, esp
lea esi, [ebp - 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]
sub esp, 0x10
mov esi, eax
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.004aef99
push eax
call fcn.004c21f7
add esp, 0x24
cmp eax, 0x240c8400
jle 0x4478e0
call fcn.004477cc
jmp 0x44782a
call fcn.0040ffd6
test eax, eax
je 0x447927
push 0x2163
push ebx
lea esi, [ebp - 0x28]
call fcn.004b01df
push ecx
push ecx
mov edi, esp
lea esi, [ebp - 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]
sub esp, 0x10
mov esi, eax
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.004aef99
push eax
call fcn.004c21f7
xor ecx, ecx
add esp, 0x24
cmp eax, 0x5cb2780
setle cl
jmp 0x44796e
cmp dword [ebp - 4], 0
je 0x447932
xor eax, eax
inc eax
jmp 0x447970
push 0x216b
push ebx
lea esi, [ebp - 0x28]
call fcn.004b01df
push ecx
push ecx
mov edi, esp
lea esi, [ebp - 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]
sub esp, 0x10
mov esi, eax
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.004aef99
push eax
call fcn.004c21f7
xor ecx, ecx
add esp, 0x24
cmp eax, 0x4b87f00
setl cl
mov eax, ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x449a7b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor ebx, ebx
push 0x31
mov dword [ebp - 0x24c], eax
lea eax, [ebp - 0x3b]
push ebx
push eax
mov esi, ecx
mov dword [ebp - 0x248], ebx
mov byte [ebp - 0x3c], bl
call fcn.004c05d0
add esp, 0xc
push 0xff
lea eax, [ebp - 0x13b]
push ebx
push eax
mov byte [ebp - 0x13c], bl
call fcn.004c05d0
add esp, 0xc
push 0x103
lea eax, [ebp - 0x243]
push ebx
push eax
mov byte [ebp - 0x244], bl
call fcn.004c05d0
add esp, 0xc
mov edx, esi
call fcn.00485754
test eax, eax
je 0x449afe
xor eax, eax
jmp 0x449c7c
push esi
lea edi, [ebp - 0x244]
call fcn.004457b7
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileA]
pop ecx
push ebx
mov edi, 0x80000020
push edi
push 1
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x250], eax
jne 0x449b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
push edi
push 4
push ebx
push 7
push 6
lea eax, [ebp - 0x244]
push eax
call esi
cmp eax, 0xffffffff
mov dword [ebp - 0x250], eax
jne 0x449b80
call fcn.004af84c
sub eax, dword [0x60d690]
cmp eax, 0xea60
ja 0x449b71
call fcn.0040ffd6
test eax, eax
jne 0x449af7
call fcn.004af84c
mov dword [0x60d690], eax
jmp 0x449af7
push 0x32
lea eax, [ebp - 0x3c]
call fcn.00440abb
cmp dword [ebp + 8], ebx
pop ecx
je 0x449ba1
push 0x4de4d0
push 0x32
pop eax
lea esi, [ebp - 0x3c]
call fcn.00485856
pop ecx
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x13c]
push str._nLock_was_initiated_by:__s
push eax
call fcn.004c054e
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004bf880
mov esi, dword [ebp - 0x250]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
test eax, eax
jne 0x449bef
inc dword [0x60d68c]
mov edx, dword [ebp - 0x24c]
call fcn.00485754
test eax, eax
jne 0x449c38
push dword [ebp - 0x24c]
lea eax, [ebp - 0x13c]
push str._nIn_Source_File:__s
push eax
call fcn.004c054e
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004bf880
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
cmp dword [ebp + 0x10], ebx
jle 0x449c74
push dword [ebp + 0x10]
lea eax, [ebp - 0x13c]
push str._nFrom_Source_Line:__d
push eax
call fcn.004c054e
add esp, 0xc
push ebx
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x13c]
push eax
call fcn.004bf880
pop ecx
push eax
lea eax, [ebp - 0x13c]
push eax
push esi
call edi
call fcn.0041cc21
xor eax, eax
inc eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret
Function at 0x44adf5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x103
xor ebx, ebx
push edi
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x29b]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x29c], bl
call fcn.004c05d0
add esp, 0xc
push edi
lea eax, [ebp - 0x193]
push ebx
push eax
mov byte [ebp - 0x194], bl
call fcn.004c05d0
add esp, 0xc
push 0x7f
lea eax, [ebp - 0x8b]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.004c05d0
xor eax, eax
mov word [ebp - 0x334], bx
lea edi, [ebp - 0x332]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x344], bx
lea edi, [ebp - 0x342]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
cmp esi, ebx
stosw word es:[edi], ax
jne 0x44aea1
push str.StoreId.dat
lea edi, [ebp - 0x29c]
call fcn.004458c4
jmp 0x44aeb2
push esi
mov ecx, 0x104
lea eax, [ebp - 0x29c]
call fcn.00485786
pop ecx
lea edx, [ebp - 0x29c]
call fcn.00485754
test eax, eax
je 0x44aed3
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret
call fcn.004c0a8c
push eax
push str.StoreId.dat
push ebx
push ebx
call fcn.0045f7e3
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x194]
push str._stempGet_s_d
push eax
call fcn.004c054e
add esp, 0x14
lea eax, [ebp - 0x194]
call fcn.0041a0f3
lea edx, [ebp - 0x194]
lea ecx, [ebp - 0x29c]
call fcn.0041a19e
test eax, eax
je 0x44aec2
push 0x10
lea eax, [ebp - 0x334]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.004c05d0
add esp, 0xc
push 0x10
lea eax, [ebp - 0x344]
push ebx
push eax
call fcn.004c05d0
add esp, 0xc
push 0x2a59
push str..Network.c
mov edx, 0x4de27c
lea ecx, [ebp - 0x194]
call fcn.0041c35a
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x320], eax
je 0x44aec2
push 0x7f
lea eax, [ebp - 0x31b]
push ebx
push eax
mov byte [ebp - 0x31c], bl
call fcn.004c05d0
add esp, 0xc
push dword [ebp - 0x320]
mov edi, 0x80
lea eax, [ebp - 0x8c]
push edi
push eax
call fcn.004c1a38
add esp, 0xc
push ebx
push 0xa
lea esi, [ebp - 0x8c]
call fcn.004863c2
push dword [ebp - 0x320]
lea eax, [ebp - 0x31c]
push edi
push eax
call fcn.004c1a38
add esp, 0x14
push dword [ebp - 0x320]
lea eax, [ebp - 0x334]
push 1
push 0x10
push eax
call fcn.004c0915
push dword [ebp - 0x320]
call fcn.0041c787
mov edi, dword [ebp - 0x324]
add esp, 0x14
cmp edi, ebx
je 0x44afff
lea esi, [ebp - 0x334]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
sub esp, 0x10
lea esi, [ebp - 0x334]
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.004ae973
add esp, 0x14
test eax, eax
jne 0x44b047
cmp dword [ebp - 0x324], ebx
je 0x44b035
push 0x10
push ebx
push dword [ebp - 0x324]
call fcn.004c05d0
add esp, 0xc
lea eax, [ebp - 0x194]
call fcn.0041a0f3
mov eax, ebx
jmp 0x44aec4
xor ebx, ebx
inc ebx
jmp 0x44b035
Function at 0x44c723
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x88]
sub esp, 0x108
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp + 0x84], eax
push ebx
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x7f]
push ebx
push eax
mov byte [ebp - 0x80], bl
call fcn.004c05d0
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.0045f7e3
pop ecx
pop ecx
push eax
push 0x4df748
lea eax, [ebp - 0x80]
push 0x104
push eax
call fcn.00486e10
push 0x2e95
push str..Network.c
mov edx, 0x4de27c
lea ecx, [ebp - 0x80]
call fcn.0041c35a
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x44c79d
xor eax, eax
jmp 0x44c7cd
push esi
call fcn.0044c6d9
mov esi, eax
cmp esi, ebx
jne 0x44c7ad
xor eax, eax
jmp 0x44c7cc
push edi
push 0x1a
push 0x27c
push esi
call fcn.004c0915
push edi
call fcn.0041c787
push ebx
mov eax, esi
call fcn.0044c6f0
add esp, 0x18
pop esi
mov ecx, dword [ebp + 0x84]
pop edi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
add ebp, 0x88
leave
ret

Function at 0x44c7e4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
xor edi, edi
lea eax, [ebp - 0x10f]
mov esi, ecx
push edi
push eax
mov dword [ebp - 0x114], esi
mov byte [ebp - 0x110], 0
call fcn.004c05d0
add esp, 0xc
cmp esi, edi
jne 0x44c82b
xor eax, eax
jmp 0x44c8f3
push str.lnd.reg
push edi
push edi
call fcn.0045f7e3
pop ecx
pop ecx
push eax
push 0x4df748
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.00486e10
add esp, 0x14
movsx eax, byte [esi]
call fcn.004855e3
cmp eax, 0x61
jl 0x44c865
cmp eax, 0x7a
jle 0x44c87e
inc edi
add esi, 0x27c
cmp edi, 0x1a
jl 0x44c853
lea eax, [ebp - 0x110]
call fcn.0041a0f3
jmp 0x44c8f3
push 0x2ec8
mov edi, str..Network.c
mov esi, 0x4de3b8
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0041c35a
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x44c8cd
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2ecb
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0041c35a
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
je 0x44c824
push ebx
push 0x1a
push 0x27c
push dword [ebp - 0x114]
call fcn.004bf5f0
push ebx
mov esi, eax
call fcn.0041c787
xor eax, eax
add esp, 0x14
cmp esi, 0x1a
sete al
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret
Function at 0x44d8ae
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b4
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x120], edi
mov byte [ebp - 0x110], bl
call fcn.004c05d0
add esp, 0xc
push 0x8c
lea eax, [ebp - 0x1ac]
push ebx
push eax
mov dword [ebp - 0x1b0], ebx
call fcn.004c05d0
add esp, 0xc
cmp edi, ebx
mov dword [ebp - 0x118], ebx
jne 0x44d91f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret
mov esi, 0x90
push esi
push ebx
push edi
mov dword [ebp - 0x114], 1
call fcn.004c05d0
add esp, 0xc
push 0x32a9
push str..Network.c
push 0x280
call fcn.00446538
add esp, 0xc
push str.fTender.cfg
lea edi, [ebp - 0x110]
call fcn.004457b7
pop ecx
push ebx
push 0x20
push 3
push connect
mov eax, edi
call fcn.00418e46
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x11c], eax
jne 0x44d988
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x44d90e
push ebx
lea ecx, [ebp - 0x118]
push ecx
push esi
lea ecx, [ebp - 0x1b0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44d9b5
mov esi, dword [ebp - 0x11c]
call fcn.0041cc21
mov eax, ebx
jmp 0x44d910
cmp dword [ebp - 0x118], esi
jae 0x44d9d4
push esi
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.004c05d0
add esp, 0xc
mov dword [ebp - 0x114], ebx
cmp dword [ebp - 0x1b0], ebx
jl 0x44d9e5
cmp dword [ebp - 0x1b0], 7
jle 0x44d9fc
push esi
lea eax, [ebp - 0x1b0]
push ebx
push eax
call fcn.004c05d0
add esp, 0xc
mov dword [ebp - 0x114], ebx
mov edi, dword [ebp - 0x120]
mov ebx, dword [ebp - 0x114]
push 0x24
pop ecx
lea esi, [ebp - 0x1b0]
rep movsd dword es:[edi], dword [esi]
jmp 0x44d9a3
Function at 0x4527e5
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
test edi, edi
mov ebx, eax
jne 0x4527f8
mov edi, 0x60e928
mov eax, dword [ebp + 0x14]
dec eax
dec eax
je 0x452966
dec eax
je 0x452883
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
call fcn.00452acb
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
mov esi, 0x200
push esi
push edi
call fcn.00486e10
add esp, 0x14
mov edx, ebx
call fcn.00485754
test eax, eax
jne 0x452840
push ebx
push str.DATABASE_s_
mov eax, esi
call fcn.00486dce
pop ecx
pop ecx
mov edx, dword [ebp + 0xc]
call fcn.00485754
test eax, eax
jne 0x45285d
push dword [ebp + 0xc]
mov eax, esi
push str.USER_s_
call fcn.00486dce
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
call fcn.00485754
test eax, eax
jne 0x4529ef
push dword [ebp + 0x10]
mov eax, esi
push str.PASSWORD_s_
call fcn.00486dce
pop ecx
pop ecx
jmp 0x4529ef
push 3
pop eax
call fcn.00452acb
push eax
push str.DRIVER_s_
mov esi, 0x200
push esi
push edi
call fcn.00486e10
push dword [ebp + 8]
mov eax, esi
push str.HOST_s_
call fcn.00486dce
push dword [ebp + 8]
mov eax, esi
push str.SERVERtms_server_
call fcn.00486dce
push str.SERVICE1525_
mov eax, esi
call fcn.00486dce
push str.PROTOCOLontlitcp_
mov eax, esi
call fcn.00486dce
add esp, 0x28
mov edx, ebx
call fcn.00485754
test eax, eax
jne 0x4528f0
push ebx
push str.DATABASE_s_
mov eax, esi
call fcn.00486dce
pop ecx
pop ecx
mov edx, dword [ebp + 0xc]
call fcn.00485754
test eax, eax
jne 0x45290d
push dword [ebp + 0xc]
mov eax, esi
push str.UID_s_
call fcn.00486dce
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
je 0x452924
push dword [ebp + 0x10]
mov eax, esi
push str.PWD_s_
call fcn.00486dce
pop ecx
pop ecx
mov ebx, str.informix_
push ebx
push 0
call fcn.0045f646
push eax
push str.TDLL_sbinigo4n304.dll_
mov eax, esi
call fcn.00486dce
push str.TRANSLATIONOPTION0_
mov eax, esi
call fcn.00486dce
push ebx
push 0
call fcn.0045f646
add esp, 0x1c
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x4529ef
push 2
pop eax
call fcn.00452acb
push eax
push str.Driver_s_
mov esi, 0x200
push esi
push edi
call fcn.00486e10
mov edx, dword [ebp + 0xc]
add esp, 0x10
call fcn.00485754
test eax, eax
jne 0x4529a0
push dword [ebp + 0xc]
mov eax, esi
push str.UID_s_
call fcn.00486dce
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
je 0x4529b7
push dword [ebp + 0x10]
mov eax, esi
push str.PWD_s_
call fcn.00486dce
pop ecx
pop ecx
mov edx, ebx
call fcn.00485754
test eax, eax
jne 0x4529d1
push ebx
push str.DBN_s_
mov eax, esi
call fcn.00486dce
pop ecx
pop ecx
push str.ENGdefault_
mov eax, esi
call fcn.00486dce
push dword [ebp + 8]
mov eax, esi
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
call fcn.00486dce
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x45423c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x51f5d0]
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.004c05d0
add esp, 0xc
cmp edi, ebx
je 0x454284
mov eax, edi
call fcn.004856d7
push ebx
call fcn.00453eb2
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x454298
xor eax, eax
jmp 0x454380
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.0045308c
test eax, eax
pop ecx
pop ecx
je 0x45436d
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 0x118], ebx
call fcn.00453177
add esp, 0x14
test eax, eax
je 0x454373
mov ebx, 0x4e1378
cmp dword [ebp - 0x118], 0xde
jge 0x454373
cmp dword [ebp - 0x110], 0
jne 0x454348
lea eax, [ebp - 0x10c]
push eax
call fcn.004c16b5
cmp dword [ebp - 0x114], 0
pop ecx
mov dword [ebp - 0x110], eax
je 0x454348
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.004bf910
test eax, eax
pop ecx
pop ecx
je 0x454348
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.004bf910
mov ecx, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp - 0x114]
call fcn.00485786
add esp, 0xc
call fcn.00486263
inc dword [ebp - 0x118]
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
call fcn.00453177
add esp, 0x14
test eax, eax
jne 0x4542db
jmp 0x454373
mov dword [ebp - 0x110], ebx
push edi
call fcn.00452e47
mov eax, dword [ebp - 0x110]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret
Function at 0x4544df
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
lea eax, [ebp - 0x47]
mov esi, ecx
push ebx
push eax
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x48], 0
call fcn.004c05d0
add esp, 0xc
call fcn.004af84c
cmp esi, ebx
je 0x454517
mov dword [esi], ebx
push ebx
call fcn.00453eb2
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x454534
call fcn.0040fdff
neg eax
sbb eax, eax
neg eax
jmp 0x4545cc
mov ecx, edi
mov dword [ebp - 0x4c], ebx
call fcn.00454190
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push edi
call fcn.0045308c
add esp, 0xc
test eax, eax
je 0x45459f
push 1
push 9
push 0x3f
lea eax, [ebp - 0x48]
push eax
push edi
call fcn.00453177
jmp 0x454595
cmp ebx, 0xde
jge 0x45459c
lea esi, [ebp - 0x48]
call fcn.00488455
test eax, eax
je 0x454581
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
or dword [ebp - 0x4c], eax
push 1
push 9
push 0x3f
lea eax, [ebp - 0x48]
push eax
push edi
inc ebx
call fcn.00453177
mov esi, dword [ebp - 0x50]
add esp, 0x14
test eax, eax
jne 0x454563
mov ebx, dword [ebp - 0x4c]
push edi
call fcn.00452e47
test esi, esi
pop ecx
je 0x4545ac
mov dword [esi], ebx
test bl, 1
je 0x4545c9
test bl, 2
je 0x4545c9
test bl, 8
je 0x4545c5
test bl, 0x10
je 0x4545c5
test bl, 4
jne 0x4545c9
xor eax, eax
jmp 0x4545cc
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
leave
ret
Function at 0x4597ae
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 0x459883
cmp dword [esi + 4], ebx
jle 0x459883
push edi
call fcn.0046e649
cmp dword [esi + 4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jle 0x459830
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.0046e9d2
test eax, eax
mov edi, dword [ebp - 0xc]
jne 0x459804
movsx eax, word [edi]
mov ebx, dword [ebp - 8]
push eax
call fcn.0046e6fb
pop ecx
cmp word [edi + 6], 0
jle 0x45981a
movsx ebx, word [edi]
push 1
push dword [ebp - 8]
call fcn.0046ea44
pop ecx
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add edi, 0x90
cmp eax, dword [esi + 4]
mov dword [ebp - 0xc], edi
jl 0x4597e2
xor ebx, ebx
cmp dword [esi + 4], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ebx
jle 0x459875
lea eax, [esi + 0x63]
mov dword [ebp - 0xc], eax
jmp 0x459848
mov eax, dword [ebp - 0xc]
xor ebx, ebx
mov edi, dword [ebp - 8]
mov byte [eax], bl
movsx ebx, word [eax - 0x23]
call fcn.0046eb6a
test eax, eax
je 0x459863
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 0x459843
mov esi, dword [ebp - 8]
call fcn.0046e6be
mov eax, dword [ebp - 0x10]
pop edi
jmp 0x459886
or eax, 0xffffffff
pop esi
pop ebx
leave
ret
Function at 0x45f4b3
Capabilities:
Query environment variable

Disassembly:
push ebx
mov ebx, eax
test ebx, ebx
push esi
push edi
jne 0x45f4d0
cmp dword [esp + 0x10], eax
je 0x45f4d0
cmp dword [esp + 0x10], 0xffffffff
je 0x45f4d0
call fcn.0045fdb7
mov ebx, eax
mov esi, 0x60f728
mov edx, esi
call fcn.00485754
test eax, eax
mov edi, 0x104
je 0x45f51f
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push edi
push esi
push str.APPDATA
call ebp
test eax, eax
jne 0x45f517
push edi
push esi
push str.SystemDrive
call ebp
test eax, eax
jne 0x45f51e
push 0x4fe8f4
mov ecx, edi
mov eax, esi
call fcn.00485786
pop ecx
jmp 0x45f51e
mov byte [0x60f72a], 0
pop ebp
push esi
mov esi, 0x60f830
mov ecx, edi
mov eax, esi
call fcn.00485786
test ebx, ebx
pop ecx
je 0x45f571
push esi
push ebx
call fcn.004bf9a0
push esi
call fcn.004bf880
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test ecx, ecx
je 0x45f56f
cmp ecx, 0xffffffff
je 0x45f56f
lea edx, [esp + 0x14]
push edx
push ecx
sub edi, eax
add eax, ebx
push edi
push eax
call fcn.004c0cfb
add esp, 0x10
test eax, eax
jge 0x45f56f
mov byte [ebx + 0x103], 0
mov eax, ebx
pop edi
pop esi
pop ebx
ret
Function at 0x45f646
Capabilities:
Query environment variable

Disassembly:
push ebp
lea ebp, [esp - 0x8c]
sub esp, 0x10c
mov eax, dword [0x51f5d0]
xor eax, ebp
mov dword [ebp + 0x88], eax
mov eax, dword [ebp + 0x94]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x80], eax
jne 0x45f68c
cmp dword [ebp + 0x98], ebx
je 0x45f68c
cmp dword [ebp + 0x98], 0xffffffff
je 0x45f68c
call fcn.0045fdb7
mov dword [ebp - 0x80], eax
mov esi, 0x60fb48
mov edx, esi
call fcn.00485754
test eax, eax
mov edi, 0x104
jne 0x45f6ad
cmp dword [0x60f720], ebx
je 0x45f730
push edi
push ebx
push esi
call fcn.004c05d0
add esp, 0xc
push edi
lea eax, [ebp - 0x7c]
push eax
mov dword [0x60f720], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x45f704
push edi
lea eax, [ebp - 0x7c]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x45f704
push edi
lea eax, [ebp - 0x7c]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x45f704
push str.C:ProgramData
mov ecx, edi
lea eax, [ebp - 0x7c]
call fcn.00485786
pop ecx
lea eax, [ebp - 0x7c]
push 0x4e3c10
push eax
call fcn.004bf9b0
lea eax, [ebp - 0x7c]
push eax
push str._sPAULA_
push edi
push esi
call fcn.00486e10
push esi
call fcn.004bf880
add esp, 0x1c
mov dword [0x60f82c], eax
mov ebx, 0x60fc50
push esi
mov ecx, edi
mov eax, ebx
call fcn.00485786
mov ecx, dword [0x60f82c]
push esi
mov esi, 0x60fd58
mov eax, esi
call fcn.00485786
cmp dword [ebp - 0x80], 0
pop ecx
pop ecx
jne 0x45f767
cmp dword [ebp + 0x98], 0xffffffff
je 0x45f7cb
mov eax, ebx
jmp 0x45f7cb
cmp dword [ebp + 0x98], 0xffffffff
jne 0x45f784
push esi
push dword [ebp - 0x80]
call fcn.004bf9a0
push esi
call fcn.004bf880
add esp, 0xc
jmp 0x45f7c8
push ebx
push dword [ebp - 0x80]
call fcn.004bf9a0
push ebx
call fcn.004bf880
add esp, 0xc
cmp dword [ebp + 0x98], 0
je 0x45f7c8
mov esi, dword [ebp - 0x80]
lea ecx, [ebp + 0x9c]
push ecx
push dword [ebp + 0x98]
sub edi, eax
add eax, esi
push edi
push eax
call fcn.004c0cfb
add esp, 0x10
test eax, eax
jge 0x45f7c8
mov byte [esi + 0x103], 0
mov eax, dword [ebp - 0x80]
mov ecx, dword [ebp + 0x88]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bfeb5
add ebp, 0x8c
leave
ret