joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441d09
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a0
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 8], eax
and word [ebp - 0x19c], 0
push edi
push 0x18e
lea eax, [ebp - 0x19a]
push 0
push eax
call fcn.004b53e0
add esp, 0xc
test esi, esi
je 0x441d80
cmp dword [ebp + 8], 0
jle 0x441d80
lea eax, [ebp - 0x19c]
push eax
push 0x101
mov byte [esi], 0
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x441d7c
push dword [ebp + 8]
push esi
call sub.WSOCK32.dll_gethostname
mov edi, eax
call sub.WSOCK32.dll_WSACleanup
test edi, edi
jne 0x441d7c
push esi
call fcn.004b4450
test eax, eax
pop ecx
ja 0x441d80
xor eax, eax
jmp 0x441d82
mov eax, esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
pop edi
call fcn.004b4c95
leave
ret
Function at 0x442659
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x338
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x18e
lea eax, [ebp - 0x322]
mov edi, ecx
push ebx
push eax
mov dword [ebp - 0x338], edi
mov esi, edx
mov word [ebp - 0x324], bx
call fcn.004b53e0
push 0x7f
lea eax, [ebp - 0x8b]
push ebx
push eax
mov byte [ebp - 0x8c], bl
call fcn.004b53e0
push 0x103
lea eax, [ebp - 0x193]
push ebx
push eax
mov byte [ebp - 0x194], bl
call fcn.004b53e0
add esp, 0x24
cmp dword [ebp + 8], ebx
mov dword [ebp - 0x334], ebx
mov dword [ebp - 0x330], ebx
jge 0x4426dc
mov dword [ebp + 8], 0x104
cmp edi, ebx
je 0x44285b
cmp esi, ebx
je 0x44285b
cmp dword [ebp + 8], ebx
jle 0x44285b
call fcn.004a4ba8
push edi
push 0x7e
mov dword [ebp - 0x32c], eax
pop ecx
lea eax, [ebp - 0x8c]
mov byte [esi], bl
call fcn.0047c3fc
lea eax, [ebp - 0x194]
call fcn.0047c34d
mov edi, 0x4f29fc
push edi
lea eax, [ebp - 0x330]
lea ecx, [ebp - 0x8c]
call fcn.0047de6b
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0x328], eax
je 0x442754
push edi
lea eax, [ebp - 0x330]
xor ecx, ecx
call fcn.0047de6b
pop ecx
mov dword [ebp - 0x328], eax
mov edx, dword [ebp - 0x328]
call fcn.0047c3ca
test eax, eax
jne 0x44278a
push dword [ebp - 0x328]
mov ecx, 0x104
lea eax, [ebp - 0x194]
call fcn.0047c3fc
push 0x3a
xor eax, eax
lea edi, [ebp - 0x194]
call fcn.0047d20a
pop ecx
pop ecx
lea ebx, [ebp - 0x8c]
call fcn.00441d8f
test eax, eax
je 0x44285b
lea eax, [ebp - 0x324]
push eax
push 0x101
mov byte [esi], 0
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x44285b
mov ecx, ebx
call fcn.0044226e
push 2
mov dword [ebp - 0x334], eax
push 4
lea eax, [ebp - 0x334]
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov edi, eax
test edi, edi
je 0x4427fe
mov eax, dword [edi]
test eax, eax
je 0x4427fe
push eax
call fcn.004b4450
test eax, eax
pop ecx
jbe 0x4427fe
push dword [edi]
mov ecx, dword [ebp + 8]
mov eax, esi
call fcn.0047c3fc
pop ecx
xor edi, edi
jmp 0x442801
or edi, 0xffffffff
call sub.WSOCK32.dll_WSACleanup
test edi, edi
jne 0x44285b
push esi
call fcn.004b4450
test eax, eax
pop ecx
jbe 0x44285b
lea eax, [ebp - 0x194]
push eax
mov eax, dword [ebp + 8]
call fcn.0047c4cc
pop ecx
call fcn.004a4ba8
sub eax, dword [ebp - 0x32c]
cmp eax, 0x1388
jbe 0x442857
call fcn.004a4ba8
sub eax, dword [ebp - 0x32c]
push eax
push esi
push dword [ebp - 0x338]
push str.:4:ResolveIPToHostName___took_too_long_to_resolve__s_to__s:__ums
call fcn.004178df
add esp, 0x10
mov eax, esi
jmp 0x44285d
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x444914
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
and word [ebp - 0x14], 0
and dword [ebp - 4], 0
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x2139
mov esi, str..Network.c
push esi
stosd dword es:[edi], eax
push str.addrchng.flg
push 0
stosw word es:[edi], ax
call fcn.0045e8df
pop ecx
pop ecx
mov edx, 0x4d36e8
mov ecx, eax
call fcn.0041cea8
mov edi, eax
test edi, edi
pop ecx
pop ecx
jne 0x44496b
push str.:3:FlagIpAddressChange___FAILED:_fopen___FAILED.
call fcn.004178df
pop ecx
xor eax, eax
jmp 0x4449ab
push 0x213e
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004a57c9
call fcn.0040eb6c
push edi
push 1
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push 4
push eax
call fcn.004b43ca
push edi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.004b43ca
add esp, 0x2c
mov ecx, edi
call fcn.0041d2f0
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x4449c5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
push ebx
push esi
push edi
xor esi, esi
mov word [esp + 0x10], si
xor eax, eax
lea edi, [esp + 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x215b
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 [esp + 0x1c], esi
call fcn.0045e8df
pop ecx
pop ecx
mov edx, 0x4d3128
mov ecx, eax
call fcn.0041cea8
mov edi, eax
cmp edi, esi
pop ecx
pop ecx
jne 0x444a1a
xor eax, eax
jmp 0x444b65
push edi
push 1
lea eax, [esp + 0x14]
push 4
push eax
call fcn.004b56f6
push edi
push 1
lea eax, [esp + 0x28]
push 0x10
push eax
call fcn.004b56f6
add esp, 0x20
mov ecx, edi
call fcn.0041d2f0
call fcn.0040eb6c
test eax, eax
jne 0x444a8b
push 0x2164
push ebx
lea esi, [esp + 0x28]
call fcn.004a5765
push ecx
push ecx
mov edi, esp
lea esi, [esp + 0x20]
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.004a428c
push eax
call fcn.004b7159
add esp, 0x24
cmp eax, 0x6ddd000
jle 0x444a8b
call fcn.004449af
push 0x2168
push ebx
lea esi, [esp + 0x28]
call fcn.004a5765
push ecx
push ecx
mov edi, esp
lea esi, [esp + 0x20]
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.004a428c
push eax
call fcn.004b7159
add esp, 0x24
cmp eax, 0x240c8400
jle 0x444ad0
call fcn.004449af
jmp 0x444a13
call fcn.0040eb6c
test eax, eax
je 0x444b19
push 0x216e
push ebx
lea esi, [esp + 0x28]
call fcn.004a5765
push ecx
push ecx
mov edi, esp
lea esi, [esp + 0x20]
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.004a428c
push eax
call fcn.004b7159
xor ecx, ecx
add esp, 0x24
cmp eax, 0x5cb2780
setle cl
jmp 0x444b63
cmp dword [esp + 0xc], 0
je 0x444b25
xor eax, eax
inc eax
jmp 0x444b65
push 0x2176
push ebx
lea esi, [esp + 0x28]
call fcn.004a5765
push ecx
push ecx
mov edi, esp
lea esi, [esp + 0x20]
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.004a428c
push eax
call fcn.004b7159
xor ecx, ecx
add esp, 0x24
cmp eax, 0x4b87f00
setl cl
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44a0b9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x103
lea eax, [ebp - 0x10f]
push ebx
push eax
mov byte [ebp - 0x110], bl
call fcn.004b53e0
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.0045e8df
pop ecx
pop ecx
push eax
push 0x4d5d50
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0047da40
push 0x2ea0
push str..Network.c
mov edx, 0x4d3128
lea ecx, [ebp - 0x110]
call fcn.0041cea8
mov edi, eax
add esp, 0x1c
cmp edi, ebx
jne 0x44a138
xor eax, eax
jmp 0x44a179
call fcn.0044a06f
mov esi, eax
cmp esi, ebx
je 0x44a134
push edi
push 0x1a
push 0x27c
push esi
call fcn.004b56f6
add esp, 0x10
cmp eax, 0x1a
je 0x44a169
push eax
push 0x1a
push str.:4:LoadLndDataArchive___FAILED:_fread___s_b__d_but_ret__d.
call fcn.004178df
add esp, 0xc
mov ecx, edi
call fcn.0041d2f0
push ebx
mov eax, esi
call fcn.0044a086
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret

Function at 0x44a188
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x5345d0]
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.004b53e0
add esp, 0xc
cmp esi, edi
jne 0x44a1cf
xor eax, eax
jmp 0x44a2c4
push str.lnd.reg
push edi
push edi
call fcn.0045e8df
pop ecx
pop ecx
push eax
push 0x4d5d50
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.0047da40
add esp, 0x14
movsx eax, byte [esi]
call fcn.0047c259
cmp eax, 0x61
jl 0x44a209
cmp eax, 0x7a
jle 0x44a225
inc edi
add esi, 0x27c
cmp edi, 0x1a
jl 0x44a1f7
lea eax, [ebp - 0x110]
call fcn.0041aa09
jmp 0x44a2c4
push 0x2ed3
mov edi, str..Network.c
mov esi, 0x4d36e8
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0041cea8
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x44a288
push 0x96
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x2ed6
push edi
mov edx, esi
lea ecx, [ebp - 0x110]
call fcn.0041cea8
mov ebx, eax
test ebx, ebx
pop ecx
pop ecx
jne 0x44a288
lea eax, [ebp - 0x110]
push eax
push str.:5:SaveLndDataArchive___FAILED:_fopen___s___FAILED_
call fcn.004178df
pop ecx
pop ecx
jmp 0x44a1c8
push ebx
push 0x1a
push 0x27c
push dword [ebp - 0x114]
call fcn.004b43ca
add esp, 0x10
mov ecx, ebx
mov esi, eax
call fcn.0041d2f0
cmp esi, 0x1a
je 0x44a2c1
push esi
push 0x1a
push str.:4:SaveLndDataArchive___FAILED:_fwrite___s_b__d_but_ret__d.
call fcn.004178df
add esp, 0xc
jmp 0x44a1c8
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x45084a
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 0x45085d
mov edi, 0x62e790
mov eax, dword [ebp + 0x14]
dec eax
dec eax
je 0x4509e2
dec eax
je 0x4508f5
push dword [ebp + 8]
mov eax, dword [ebp + 0x14]
call fcn.00450c83
push eax
push str.DRIVER_s_SERVER_s_OPTION3_
mov esi, 0x200
push esi
push edi
call fcn.0047da40
add esp, 0x14
mov edx, ebx
call fcn.0047c3ca
test eax, eax
jne 0x4508a9
push ebx
push str.DATABASE_s_
mov eax, esi
call fcn.0047d9fe
pop ecx
pop ecx
mov edx, dword [ebp + 0xc]
call fcn.0047c3ca
test eax, eax
jne 0x4508c6
push dword [ebp + 0xc]
mov eax, esi
push str.USER_s_
call fcn.0047d9fe
pop ecx
pop ecx
mov edx, dword [ebp + 0x10]
call fcn.0047c3ca
test eax, eax
jne 0x450a75
push dword [ebp + 0x10]
push eax
push str.t0uzu_r__RS
call fcn.0047ebbd
pop ecx
pop ecx
push eax
mov eax, esi
call fcn.0047d9fe
pop ecx
pop ecx
jmp 0x450a75
push 3
pop eax
call fcn.00450c83
push eax
push str.DRIVER_s_
mov esi, 0x200
push esi
push edi
call fcn.0047da40
push dword [ebp + 8]
mov eax, esi
push str.HOST_s_
call fcn.0047d9fe
push dword [ebp + 8]
mov eax, esi
push str.SERVERtms_server_
call fcn.0047d9fe
push str.SERVICE1525_
mov eax, esi
call fcn.0047d9fe
push str.PROTOCOLontlitcp_
mov eax, esi
call fcn.0047d9fe
add esp, 0x28
mov edx, ebx
call fcn.0047c3ca
test eax, eax
jne 0x450962
push ebx
push str.DATABASE_s_
mov eax, esi
call fcn.0047d9fe
pop ecx
pop ecx
mov edx, dword [ebp + 0xc]
call fcn.0047c3ca
test eax, eax
jne 0x45097f
push dword [ebp + 0xc]
mov eax, esi
push str.UID_s_
call fcn.0047d9fe
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
je 0x4509a0
push dword [ebp + 0x10]
push 0
push str.zt_1BX0
call fcn.0047ebbd
pop ecx
pop ecx
push eax
mov eax, esi
call fcn.0047d9fe
pop ecx
pop ecx
mov ebx, str.informix_
push ebx
push 0
call fcn.0045e70f
push eax
push str.TDLL_sbinigo4n304.dll_
mov eax, esi
call fcn.0047d9fe
push str.TRANSLATIONOPTION0_
mov eax, esi
call fcn.0047d9fe
push ebx
push 0
call fcn.0045e70f
add esp, 0x1c
push eax
push str.INFORMIXDIR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
jmp 0x450a75
push 2
pop eax
call fcn.00450c83
push eax
push str.Driver_s_
mov esi, 0x200
push esi
push edi
call fcn.0047da40
mov edx, dword [ebp + 0xc]
add esp, 0x10
call fcn.0047c3ca
test eax, eax
jne 0x450a1c
push dword [ebp + 0xc]
mov eax, esi
push str.UID_s_
call fcn.0047d9fe
pop ecx
pop ecx
cmp dword [ebp + 0x10], 0
je 0x450a3d
push dword [ebp + 0x10]
push 0
push str.zt_1BX0
call fcn.0047ebbd
pop ecx
pop ecx
push eax
mov eax, esi
call fcn.0047d9fe
pop ecx
pop ecx
mov edx, ebx
call fcn.0047c3ca
test eax, eax
jne 0x450a57
push ebx
push str.DBN_s_
mov eax, esi
call fcn.0047d9fe
pop ecx
pop ecx
push str.ENGdefault_
mov eax, esi
call fcn.0047d9fe
push dword [ebp + 8]
mov eax, esi
push str.Linkstcpip_HOST_s_PORT2638_verifyno_dobroadcastnone__
call fcn.0047d9fe
add esp, 0xc
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x452586
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x5345d0]
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.004b53e0
add esp, 0xc
cmp edi, ebx
je 0x4525ce
mov eax, edi
call fcn.0047c34d
push ebx
call fcn.004521ee
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x4525e2
xor eax, eax
jmp 0x4526e4
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.0045145b
test eax, eax
pop ecx
pop ecx
je 0x4526c6
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
mov dword [ebp - 0x118], ebx
call fcn.0045155b
add esp, 0x14
test eax, eax
je 0x4526d7
mov ebx, 0x4d9488
cmp dword [ebp - 0x118], 0xde
jge 0x4526d7
cmp dword [ebp - 0x110], 0
jne 0x4526a1
lea eax, [ebp - 0x10c]
push eax
call fcn.004b6493
cmp dword [ebp - 0x114], 0
pop ecx
mov dword [ebp - 0x110], eax
je 0x4526a1
lea eax, [ebp - 0x10c]
push ebx
push eax
call fcn.004b46f0
pop ecx
test eax, eax
pop ecx
lea eax, [ebp - 0x10c]
je 0x452694
push ebx
push eax
call fcn.004b46f0
mov ecx, dword [ebp + 8]
inc eax
push eax
mov eax, dword [ebp - 0x114]
call fcn.0047c3fc
add esp, 0xc
call fcn.0047ce94
jmp 0x4526a1
push eax
push str.:7:GetStoreNumberTAMSii___FAILED:_Store_name_field_not_found:___s_
call fcn.004178df
pop ecx
pop ecx
inc dword [ebp - 0x118]
push 2
push 9
push esi
lea eax, [ebp - 0x10c]
push eax
push edi
call fcn.0045155b
add esp, 0x14
test eax, eax
jne 0x452625
jmp 0x4526d7
push str.:7:GetStoreNumberTAMSii___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.004178df
pop ecx
mov dword [ebp - 0x110], ebx
push edi
call fcn.00451078
mov eax, dword [ebp - 0x110]
pop ecx
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret
Function at 0x452839
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x54
mov eax, dword [0x5345d0]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
push 0x3f
xor ebx, ebx
lea eax, [esp + 0x1d]
mov esi, ecx
push ebx
push eax
mov dword [esp + 0x1c], esi
mov byte [esp + 0x24], 0
call fcn.004b53e0
add esp, 0xc
call fcn.004a4ba8
cmp esi, ebx
mov dword [esp + 0x14], eax
je 0x45287c
mov dword [esi], ebx
push ebx
call fcn.004521ee
mov edi, eax
cmp edi, ebx
pop ecx
je 0x452969
mov ecx, edi
mov dword [esp + 0xc], ebx
call fcn.004524cd
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push edi
call fcn.0045145b
add esp, 0xc
test eax, eax
je 0x45294f
push 1
push 9
push 0x3f
lea eax, [esp + 0x24]
push eax
push edi
call fcn.0045155b
jmp 0x4528f8
cmp ebx, 0xde
jge 0x4528ff
lea esi, [esp + 0x18]
call fcn.0047eff1
test eax, eax
je 0x4528e2
xor eax, eax
inc eax
mov ecx, ebx
shl eax, cl
or dword [esp + 0xc], eax
push 1
push 9
push 0x3f
lea eax, [esp + 0x24]
push eax
push edi
inc ebx
call fcn.0045155b
mov esi, dword [esp + 0x24]
add esp, 0x14
test eax, eax
jne 0x4528c2
mov ebx, dword [esp + 0xc]
push edi
call fcn.00451078
test esi, esi
pop ecx
je 0x452910
mov dword [esi], ebx
call fcn.004a4ba8
sub eax, dword [esp + 0x14]
push eax
push ebx
push 0xc
pop eax
call fcn.0043f067
pop ecx
push eax
push str.:0:TAMSii_IsTenderTypesEnabled___has_determined__s_in__ums
call fcn.00417db7
add esp, 0xc
test bl, 1
je 0x45295c
test bl, 2
je 0x45295c
test bl, 8
je 0x45294b
test bl, 0x10
je 0x45294b
test bl, 4
jne 0x452969
xor eax, eax
jmp 0x45296c
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.004178df
pop ecx
jmp 0x452903
push ebx
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_dwTenderTypesEnabled___d.
call fcn.004178df
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004b4c95
mov esp, ebp
pop ebp
ret
Function at 0x457e94
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
je 0x457f51
cmp dword [edi + 4], ebx
jle 0x457f51
call fcn.0046ed85
cmp dword [edi + 4], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
jle 0x457f09
lea esi, [edi + 0x40]
movsx ebx, word [esi]
mov eax, dword [ebp - 8]
call fcn.0046f1ed
test eax, eax
jne 0x457ee1
movsx eax, word [esi]
push eax
mov eax, dword [ebp - 8]
call fcn.0046ee6e
pop ecx
cmp word [esi + 6], 0
jle 0x457ef6
movsx ebx, word [esi]
mov eax, dword [ebp - 8]
push 1
call fcn.0046f282
pop ecx
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, 0x90
cmp eax, dword [edi + 4]
jl 0x457ec5
xor ebx, ebx
cmp dword [edi + 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
jle 0x457f44
lea esi, [edi + 0x63]
jmp 0x457f1b
xor ebx, ebx
mov eax, dword [ebp - 8]
mov byte [esi], bl
movsx ebx, word [esi - 0x23]
call fcn.0046f402
test eax, eax
je 0x457f33
inc dword [ebp - 0xc]
mov byte [esi], 1
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, 0x90
cmp eax, dword [edi + 4]
jl 0x457f19
mov edi, dword [ebp - 8]
call fcn.0046ee28
mov eax, dword [ebp - 0xc]
jmp 0x457f54
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45e70f
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push esi
push edi
mov dword [ebp - 0x10c], eax
jne 0x45e74a
cmp dword [ebp + 0xc], ebx
je 0x45e74a
cmp dword [ebp + 0xc], 0xffffffff
je 0x45e74a
call fcn.0045eb78
mov dword [ebp - 0x10c], eax
mov esi, 0x62f9d0
mov edx, esi
call fcn.0047c3ca
test eax, eax
mov edi, 0x104
jne 0x45e76b
cmp dword [0x62f584], ebx
je 0x45e811
push edi
push ebx
push esi
call fcn.004b53e0
add esp, 0xc
push edi
lea eax, [ebp - 0x108]
push eax
mov dword [0x62f584], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push str.APPDATA
call ebx
test eax, eax
jne 0x45e7df
push edi
lea eax, [ebp - 0x108]
push eax
push str.USERPROFILE
call ebx
test eax, eax
jne 0x45e7df
push edi
lea eax, [ebp - 0x108]
push eax
push str.ProgramData
call ebx
test eax, eax
jne 0x45e7df
push str._GetLastError_
push str.:5:GetPaulaInstallationDir___EAP:_GetEnvironmentVariable__ProgramData___FAILED:__s
call fcn.00417db7
push str.C:ProgramData
mov ecx, edi
lea eax, [ebp - 0x108]
call fcn.0047c3fc
add esp, 0xc
lea eax, [ebp - 0x108]
push 0x4df118
push eax
call fcn.004b4790
lea eax, [ebp - 0x108]
push eax
push str._sBETTY_
push edi
push esi
call fcn.0047da40
push esi
call fcn.004b4450
add esp, 0x1c
mov dword [0x62f58c], eax
mov ebx, 0x62fad8
push esi
mov ecx, edi
mov eax, ebx
call fcn.0047c3fc
mov ecx, dword [0x62f58c]
push esi
mov esi, 0x62fbe0
mov eax, esi
call fcn.0047c3fc
cmp dword [ebp - 0x10c], 0
pop ecx
pop ecx
jne 0x45e85d
cmp dword [ebp + 0xc], 0xffffffff
je 0x45e8d0
cmp dword [ebp + 0xc], 0
je 0x45e859
push str.:8:GetPaulaInstallationDir___was_called_with_an_INVALID_pszAppend___
call fcn.004178df
pop ecx
mov eax, ebx
jmp 0x45e8d0
cmp dword [ebp + 0xc], 0xffffffff
jne 0x45e87a
push esi
push dword [ebp - 0x10c]
call fcn.004b4780
push esi
call fcn.004b4450
add esp, 0xc
jmp 0x45e8ca
push ebx
push dword [ebp - 0x10c]
call fcn.004b4780
push ebx
call fcn.004b4450
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x45e8ca
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.004b630e
add esp, 0x10
test eax, eax
jge 0x45e8ca
push dword [ebp + 0xc]
push str.:8:GetPaulaInstallationDir___EAP:_MAX_PATH_has_been_exceeded:___s_
call fcn.004178df
pop ecx
pop ecx
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.004b4c95
leave
ret
Function at 0x468b57
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.004b53e0
mov edx, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 4], edi
call fcn.0047c3ca
test eax, eax
jne 0x468d01
mov ecx, dword [ebp + 8]
push 0x15b9
push str..Printer.c
mov edx, 0x4d36e8
call fcn.0041cea8
mov ebx, eax
cmp ebx, edi
pop ecx
pop ecx
mov dword [ebp - 8], ebx
jne 0x468bbc
push dword [ebp + 8]
push str.PrinterSaveConfig___FAILED:_Could_not_open_the_given_file___s__for_writing.
call fcn.00417db7
pop ecx
pop ecx
jmp 0x468d01
push 0x15c0
push esi
call fcn.0046bd5d
test eax, eax
pop ecx
pop ecx
je 0x468cfa
mov eax, esi
call fcn.0046bd92
test eax, eax
je 0x468cfa
push 0x42
lea eax, [esi + 4]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.004b4cb0
add esp, 0xc
push ebx
push 0x42
lea eax, [ebp - 0x58]
push 1
push eax
call fcn.004b43ca
mov ebx, dword [sym.imp.KERNEL32.dll_GlobalLock]
add esp, 0x10
cmp dword [ebp - 0x50], edi
je 0x468c79
push dword [esi + 0xc]
call ebx
cmp eax, edi
push dword [esi + 0xc]
mov dword [ebp - 0xc], eax
je 0x468c6a
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x468c4f
push dword [ebp - 8]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.004b43ca
push dword [ebp - 8]
push dword [ebp - 4]
push 1
push dword [ebp - 0xc]
call fcn.004b43ca
add esp, 0x20
jmp 0x468c5f
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevMode:__GetLastError_
call fcn.00417db7
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x468c79
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevMode_during_save___ld_:__GetLastError_
call fcn.00417db7
pop ecx
pop ecx
mov dword [ebp - 0x50], edi
cmp dword [ebp - 0x4c], edi
je 0x468ce6
push dword [esi + 0x10]
call ebx
push dword [esi + 0x10]
mov ebx, eax
cmp ebx, edi
je 0x468cd7
call dword [sym.imp.KERNEL32.dll_GlobalSize]
cmp eax, edi
mov dword [ebp - 4], eax
jle 0x468cbc
push dword [ebp - 8]
lea eax, [ebp - 4]
push 4
push 1
push eax
call fcn.004b43ca
push dword [ebp - 8]
push dword [ebp - 4]
push 1
push ebx
call fcn.004b43ca
add esp, 0x20
jmp 0x468ccc
push eax
push str.PrinterSaveConfig___encountered_a_problem:_GlobalSize___returned__ld_for_hDevNames:__GetLastError_
call fcn.00417db7
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
push dword [esi + 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x468ce6
push str.PrinterSaveConfig___encountered_a_problem:_Could_not_GlobalLock___hDevNames_during_save___ld_:__GetLastError_
call fcn.00417db7
pop ecx
pop ecx
mov dword [ebp - 0x4c], edi
mov eax, esi
call fcn.0046bdc8
mov ecx, dword [ebp - 8]
call fcn.0041d2f0
xor eax, eax
inc eax
jmp 0x468d03
mov ecx, ebx
call fcn.0041d2f0
xor eax, eax
pop edi
pop ebx
leave
ret