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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.00451684
pop ecx
test eax, eax
jne 0x41219e
push eax
push eax
push esi
call fcn.00411717
mov edi, eax
add esp, 0xc
mov dword [ebp - 4], edi
test edi, edi
je 0x41219e
push 0x138d
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x489570
push esi
call fcn.004137d1
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4121a5
push esi
push str.:6:LoadFileToMemory___s___FAILED:_fopen___failed_even_after_GetFileSizeTimeOut___succeeded___
call fcn.0040d511
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [edi + 0xe]
push eax
call fcn.004705eb
mov edi, eax
pop ecx
test edi, edi
jne 0x4121ce
push dword [ebp - 4]
push esi
push str.:5:LoadFileToMemory___s___FAILED:_malloc___failed_to_allocate_over__u_bytes:_OUT_OF_MEMORY.
call fcn.0040d511
push ebx
call fcn.00413646
add esp, 0x10
jmp 0x41219e
mov esi, dword [ebp - 4]
lea eax, [edi + 4]
push ebx
push esi
push 1
push eax
call fcn.0046a8f7
add esp, 0x10
mov dword [ebp - 4], eax
cmp eax, esi
jae 0x4121fa
push ebx
call fcn.00469fb3
mov esi, dword [ebp - 4]
neg eax
pop ecx
sbb eax, eax
and esi, eax
jmp 0x4121fc
mov esi, eax
push ebx
call fcn.00413646
pop ecx
test esi, esi
jne 0x41220f
push edi
call fcn.004701df
jmp 0x41219d
mov dword [edi], esi
mov eax, edi
jmp 0x4121a0

Function at 0x412215
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x108]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x104
push edi
push 0
push eax
call fcn.00466ad0
add esp, 0xc
test ebx, ebx
je 0x4122fa
cmp dword [ebp + 0x10], 0
jle 0x4122fa
push esi
call fcn.00451684
pop ecx
test eax, eax
jne 0x4122fa
push edi
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00452b01
lea eax, [ebp - 0x108]
push eax
call fcn.00451e92
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.00470340
add esp, 0x18
test eax, eax
jne 0x4122bd
push esi
push eax
push eax
call fcn.0043e284
pop ecx
pop ecx
push eax
push 0x48b250
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0045285b
add esp, 0x14
lea esi, [ebp - 0x108]
push 0x14cc
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x489570
push esi
call fcn.004137d1
mov edi, eax
add esp, 0x10
test edi, edi
je 0x4122fa
push edi
push 1
push dword [ebp + 0x10]
push ebx
call fcn.0046a8f7
neg eax
push edi
sbb esi, esi
neg esi
call fcn.00413646
add esp, 0x14
mov eax, esi
jmp 0x4122fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
Function at 0x41230b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x10c], 0
lea eax, [ebp - 0x108]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x104
push 0
push eax
call fcn.00466ad0
test esi, esi
lea ebx, [ebp - 0x10c]
push edi
cmovne ebx, esi
call fcn.00451684
add esp, 0x10
test eax, eax
je 0x412363
and dword [ebx], 0
xor eax, eax
jmp 0x4123f9
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push edi
push eax
call fcn.00452b01
lea eax, [ebp - 0x108]
push eax
call fcn.00451e92
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00470340
add esp, 0x18
test eax, eax
jne 0x4123bc
push edi
push eax
push eax
call fcn.0043e284
pop ecx
pop ecx
push eax
push 0x48b250
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0045285b
add esp, 0x14
lea edi, [ebp - 0x108]
push 0x1524
push str.C:UsersOfficeDocumentsVisual_StudioPAULAFile.c
push 0x489570
push edi
call fcn.004137d1
and dword [ebx], 0
mov edi, eax
add esp, 0x10
test edi, edi
je 0x41235c
push edi
push 1
push 4
push ebx
call fcn.0046a8f7
push edi
mov esi, eax
call fcn.00413646
add esp, 0x14
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret

Function at 0x41289c
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x108]
push edi
mov edi, dword [ebp + 0xc]
mov ebx, 0x104
push ebx
push 0
push eax
call fcn.00466ad0
push ebx
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00466ad0
push esi
call fcn.00451684
add esp, 0x1c
test eax, eax
jne 0x4129ed
push edi
call fcn.00451684
pop ecx
test eax, eax
jne 0x4129ed
push ebx
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.00452b01
lea eax, [ebp - 0x108]
push eax
call fcn.0045201f
lea eax, [ebp - 0x108]
push eax
call fcn.00451f5e
lea eax, [ebp - 0x108]
push eax
call fcn.00470560
add esp, 0x18
jmp 0x41294c
cmp byte [ebp + eax - 0x108], 0x5c
jne 0x412951
cmp eax, ebx
jae 0x4129fe
mov byte [ebp + eax - 0x108], 0
dec eax
test eax, eax
jg 0x412932
lea eax, [ebp - 0x108]
push eax
call fcn.00451e92
push ebx
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.00452b01
lea eax, [ebp - 0x20c]
push eax
call fcn.0045201f
lea eax, [ebp - 0x20c]
push eax
call fcn.00451f5e
lea eax, [ebp - 0x20c]
push eax
call fcn.00470560
add esp, 0x1c
jmp 0x4129aa
cmp byte [ebp + eax - 0x20c], 0x5c
jne 0x4129af
cmp eax, ebx
jae 0x4129fe
mov byte [ebp + eax - 0x20c], 0
dec eax
test eax, eax
jg 0x412994
lea eax, [ebp - 0x20c]
push eax
call fcn.00451da8
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00451949
add esp, 0xc
lea eax, [ebp - 0x108]
cmp dword [ebp + 0x10], 0
je 0x4129e9
push 0xb
push eax
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
jmp 0x4129ef
push 0xa
jmp 0x4129df
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
call fcn.0046565b
int3
Function at 0x412f56
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push dword [0x4d7370]
xor edi, edi
call fcn.00443688
mov ebx, dword [ebp + 8]
mov esi, edi
jmp 0x412f8c
cmp esi, 0x56ce
jge 0x412f95
cmp ebx, dword [eax + 0xa8]
je 0x412f93
push dword [0x4d7370]
call fcn.004436eb
inc esi
pop ecx
test eax, eax
jne 0x412f70
jmp 0x412f95
mov edi, eax
push edi
call fcn.004105d9
pop ecx
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
Function at 0x426673
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x94]
push esi
mov esi, 0x90
mov dword [ebp - 0x98], ebx
push esi
push 0
push eax
call fcn.00466ad0
push esi
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.00466ad0
push ebx
call fcn.0045417e
mov esi, dword [ebp + 0xc]
push esi
call fcn.0045f406
add esp, 0x20
test eax, eax
je 0x4266d1
call fcn.0045f0e8
mov esi, eax
push 0xffffffffffffffbd
push esi
call fcn.0045e03a
push ebx
call fcn.00453322
mov ebx, eax
add esp, 0xc
test ebx, ebx
jg 0x4266ec
xor eax, eax
jmp 0x426765
push edi
xor edi, edi
push dword [ebp - 0x98]
call fcn.004532a2
push 9
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x9c], eax
push ecx
push eax
call fcn.0043cb2b
add esp, 0x10
test eax, eax
jne 0x42672a
push dword [ebp - 0x9c]
push str.:4:Unreconciled_Invoice_Error:_Invalid_database_entry_is_being_cut_by_SetUnrecInvDBArchivePosForArchiving__:__s
call fcn.0040d511
pop ecx
pop ecx
jmp 0x426739
push esi
push dword [ebp - 0x3e]
call fcn.0045f479
pop ecx
pop ecx
test eax, eax
je 0x42673e
inc edi
cmp edi, ebx
jl 0x4266ef
mov eax, ebx
sub eax, edi
cmp eax, 0xa
jge 0x426751
lea edi, [ebx - 0xa]
xor eax, eax
test edi, edi
cmovs edi, eax
push 0
push edi
push dword [ebp - 0x98]
call fcn.00454ae7
add esp, 0xc
mov eax, edi
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
Function at 0x42bad3
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push 0x190
push 0
push eax
call fcn.00466ad0
add esp, 0xc
mov esi, 0x104
cmp dword [ebp + 0xc], 0
cmovge esi, dword [ebp + 0xc]
test edi, edi
je 0x42bb4f
test esi, esi
jle 0x42bb4f
lea eax, [ebp - 0x194]
mov byte [edi], 0
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x42bb4b
push esi
push edi
call sub.WSOCK32.dll_gethostname
mov esi, eax
call sub.WSOCK32.dll_WSACleanup
test esi, esi
jne 0x42bb4b
push edi
call fcn.00470560
pop ecx
test eax, eax
jne 0x42bb4f
xor eax, eax
jmp 0x42bb51
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004654a8
leave
ret

Function at 0x42ced6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
xor ebx, ebx
push ebx
push eax
call fcn.00466ad0
add esp, 0xc
push str.lnd.reg
push ebx
push ebx
call fcn.0043e284
pop ecx
pop ecx
push eax
push 0x48b250
lea eax, [ebp - 0x108]
push esi
push eax
call fcn.0045285b
push 0x2ea7
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
lea eax, [ebp - 0x108]
push 0x489570
push eax
call fcn.004137d1
mov edi, eax
add esp, 0x24
test edi, edi
je 0x42cf8e
call fcn.00429b09
mov esi, eax
test esi, esi
je 0x42cf8e
push edi
push 0x1a
push 0x27c
push esi
call fcn.0046a8f7
add esp, 0x10
cmp eax, 0x1a
je 0x42cf7a
push eax
push 0x1a
push str.:4:LoadLndDataArchive___FAILED:_fread___s_b__d_but_ret__d.
call fcn.0040d511
add esp, 0xc
push edi
call fcn.00413646
push ebx
push esi
call fcn.0042cb4d
add esp, 0xc
mov eax, esi
jmp 0x42cf90
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
Function at 0x430042
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x318]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x190
push 0
push eax
mov dword [ebp - 0x328], ebx
call fcn.00466ad0
push 0x80
xor edi, edi
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.00466ad0
push 0x104
lea eax, [ebp - 0x188]
push edi
push eax
call fcn.00466ad0
add esp, 0x24
mov dword [ebp - 0x31c], edi
cmp dword [ebp + 0x10], 0
mov edi, 0x104
cmovge edi, dword [ebp + 0x10]
test ebx, ebx
je 0x43022e
test esi, esi
je 0x43022e
test edi, edi
jle 0x43022e
call fcn.004609ba
push 0x7e
mov dword [ebp - 0x324], eax
lea eax, [ebp - 0x84]
push ebx
push eax
mov byte [esi], 0
call fcn.00452b01
lea eax, [ebp - 0x188]
push eax
call fcn.00450a50
lea eax, [ebp - 0x31c]
push eax
lea eax, [ebp - 0x84]
push 0x49a85c
push eax
call fcn.0045243c
mov ebx, eax
add esp, 0x1c
test ebx, ebx
je 0x43012d
lea eax, [ebp - 0x31c]
push eax
push 0x49a85c
push 0
call fcn.0045243c
add esp, 0xc
mov ebx, eax
push ebx
call fcn.00451684
pop ecx
test eax, eax
jne 0x43015d
push 0x104
lea eax, [ebp - 0x188]
push ebx
push eax
call fcn.00452b01
push 0
lea eax, [ebp - 0x188]
push 0x3a
push eax
call fcn.00451516
add esp, 0x18
lea eax, [ebp - 0x84]
push eax
call fcn.0043115c
pop ecx
test eax, eax
je 0x43022e
lea eax, [ebp - 0x318]
mov byte [esi], 0
push eax
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
jne 0x43022e
lea eax, [ebp - 0x84]
push eax
call fcn.0042ca00
pop ecx
push 2
mov dword [ebp - 0x320], eax
lea eax, [ebp - 0x320]
push 4
push eax
call sub.WSOCK32.dll_gethostbyaddr
mov ebx, eax
test ebx, ebx
je 0x430229
cmp dword [ebx], 0
je 0x430229
push dword [ebx]
call fcn.00470560
pop ecx
test eax, eax
je 0x430229
push edi
push dword [ebx]
push esi
call fcn.00452b01
add esp, 0xc
call sub.WSOCK32.dll_WSACleanup
push esi
call fcn.00470560
pop ecx
test eax, eax
je 0x43022e
push edi
lea eax, [ebp - 0x188]
push eax
push esi
call fcn.00452a6d
add esp, 0xc
call fcn.004609ba
mov edi, dword [ebp - 0x324]
sub eax, edi
cmp eax, 0x1388
jbe 0x430225
call fcn.004609ba
sub eax, edi
push eax
push esi
push dword [ebp - 0x328]
push str.:4:ResolveIPToHostName___took_too_long_to_resolve__s_to__s:__ums
call fcn.0040d511
add esp, 0x10
mov eax, esi
jmp 0x430230
call sub.WSOCK32.dll_WSACleanup
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
Function at 0x430f09
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
lea eax, [ebp - 0x38]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push 0x32
push edi
push eax
mov dword [ebp - 0x240], edi
call fcn.00466ad0
push 0x100
lea eax, [ebp - 0x138]
push edi
push eax
call fcn.00466ad0
push 0x104
lea eax, [ebp - 0x23c]
push edi
push eax
call fcn.00466ad0
push esi
call fcn.00451684
add esp, 0x28
test eax, eax
jne 0x43100f
lea eax, [ebp - 0x23c]
push esi
push eax
call fcn.0042f61b
pop ecx
pop ecx
push edi
push SQLGetDiagRec
push 1
push edi
push 7
push 6
lea eax, [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431022
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push SQLGetDiagRec
push 4
push 0
push 7
mov edi, eax
lea eax, [ebp - 0x23c]
push 6
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431020
call fcn.004609ba
sub eax, dword [0x5b643c]
cmp eax, 0xea60
ja 0x430fe8
call fcn.00406b44
test eax, eax
jne 0x43100f
call fcn.004609ba
mov dword [0x5b643c], eax
mov eax, str._GetLastError_
push eax
push edi
push eax
push edi
lea eax, [ebp - 0x23c]
push eax
push str.:3:SetServerLockedFlagFile___FAILED:_10min:_CreateFile___s___FAILED:_GetLastError___should_be___ld:__s_ld:_Second_Error:__s
call fcn.0040d9e1
add esp, 0x18
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
xor edi, edi
lea eax, [ebp - 0x38]
push 0x32
push eax
call fcn.0042c704
cmp dword [ebp + 0xc], 0
pop ecx
pop ecx
je 0x431048
push 0x32
lea eax, [ebp - 0x38]
push 0x48a814
push eax
call fcn.00452a6d
add esp, 0xc
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x138]
push str._nLock_was_initiated_by:__s
push eax
call fcn.0040401c
add esp, 0xc
lea eax, [ebp - 0x240]
push edi
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00470560
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
push esi
call edi
test eax, eax
jne 0x4310ad
mov eax, dword [0x5b6438]
mov ecx, eax
inc eax
mov dword [0x5b6438], eax
cmp ecx, 0xa
jae 0x4310ad
push str._GetLastError_
push str.:7:SetServerLockedFlagFile___FAILED:_WriteFile___FAILED:__s
call fcn.0040d511
pop ecx
pop ecx
push ebx
call fcn.00451684
pop ecx
test eax, eax
jne 0x4310ee
push ebx
lea eax, [ebp - 0x138]
push str._nIn_Source_File:__s
push eax
call fcn.0040401c
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00470560
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
push esi
call edi
cmp dword [ebp + 0x14], 0
jle 0x43112c
push dword [ebp + 0x14]
lea eax, [ebp - 0x138]
push str._nFrom_Source_Line:__d
push eax
call fcn.0040401c
add esp, 0xc
lea eax, [ebp - 0x240]
push 0
push eax
lea eax, [ebp - 0x138]
push eax
call fcn.00470560
pop ecx
push eax
lea eax, [ebp - 0x138]
push eax
push esi
call edi
push 0x2752
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push str.SetServerLockedFlagFile
push esi
call fcn.0040eb13
xor eax, eax
inc eax
jmp 0x431011
Function at 0x433222
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
xor eax, eax
push ebx
push esi
push edi
lea edi, [ebp - 0x14]
mov ebx, str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
stosd dword es:[edi], eax
push 0x215e
push ebx
push 0x489570
stosd dword es:[edi], eax
push str.addrchng.flg
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0043e284
pop ecx
pop ecx
push eax
call fcn.004137d1
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43331d
push esi
push 1
lea eax, [ebp - 0x18]
push 4
push eax
call fcn.0046a8f7
push esi
push 1
lea eax, [ebp - 0x14]
push 0x10
push eax
call fcn.0046a8f7
push esi
call fcn.00413646
add esp, 0x24
call fcn.00406b44
test eax, eax
jne 0x4332df
push 0x2167
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0045f077
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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.0046087e
push eax
call fcn.004701fa
add esp, 0x24
cmp eax, 0x6ddd000
jle 0x4332df
call fcn.00429b27
push 0x216b
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0045f077
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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.0046087e
push eax
call fcn.004701fa
add esp, 0x24
cmp eax, 0x240c8400
jle 0x43332e
call fcn.00429b27
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
call fcn.00406b44
test eax, eax
je 0x433375
push 0x2171
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0045f077
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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.0046087e
push eax
call fcn.004701fa
add esp, 0x24
cmp eax, 0x5cb2780
jg 0x43331d
xor eax, eax
inc eax
jmp 0x43331f
cmp dword [ebp - 0x18], 0
jne 0x433370
push 0x2179
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.0045f077
push ecx
mov edi, esp
lea esi, [ebp - 0x14]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
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.0046087e
push eax
call fcn.004701fa
xor ecx, ecx
add esp, 0x24
cmp eax, 0x4b87f00
setl cl
mov eax, ecx
jmp 0x43331f
Function at 0x43531a
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x104]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push 0x100
push esi
push eax
call fcn.00466ad0
add esp, 0xc
test ebx, ebx
je 0x435358
push ebx
call fcn.00450a50
pop ecx
test edi, edi
jne 0x435378
push esi
call fcn.00434204
mov edi, eax
mov dword [ebp - 0x10c], 1
pop ecx
test edi, edi
jne 0x43537e
jmp 0x435460
mov dword [ebp - 0x10c], esi
push str.SELECT_STORE_PROFILE.STORE_NUM__COMPANY.NAME_FROM_STORE_PROFILE__COMPANY_WHERE_STORE_PROFILE.COMPANY_IDCOMPANY.ID
push edi
call fcn.004348cf
pop ecx
pop ecx
test eax, eax
je 0x435443
mov dword [ebp - 0x108], esi
jmp 0x435420
mov eax, dword [ebp - 0x108]
cmp eax, 0xde
jge 0x43544e
test esi, esi
jne 0x435419
lea eax, [ebp - 0x104]
push eax
call fcn.0047168f
mov esi, eax
pop ecx
test ebx, ebx
je 0x435413
lea eax, [ebp - 0x104]
push 0x48cb58
push eax
call fcn.00466c30
pop ecx
test eax, eax
lea eax, [ebp - 0x104]
pop ecx
je 0x435406
push dword [ebp + 0x10]
push 0x48cb58
push eax
call fcn.00466c30
pop ecx
pop ecx
inc eax
push eax
push ebx
call fcn.00452b01
push ebx
call fcn.0045261c
add esp, 0x10
jmp 0x435413
push eax
push str.:7:GetStoreNumberTAMSii___FAILED:_Store_name_field_not_found:___s_
call fcn.0040d511
pop ecx
pop ecx
mov eax, dword [ebp - 0x108]
inc eax
mov dword [ebp - 0x108], eax
push 2
push 9
push 0xff
lea eax, [ebp - 0x104]
push eax
push edi
call fcn.004349c0
add esp, 0x14
test eax, eax
jne 0x43539e
jmp 0x43544e
push str.:7:GetStoreNumberTAMSii___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.0040d511
pop ecx
cmp dword [ebp - 0x10c], 0
je 0x43545e
push edi
call fcn.0043453d
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret
Function at 0x43625c
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4cc8c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push 0x40
xor ebx, ebx
push ebx
push eax
call fcn.00466ad0
add esp, 0xc
call fcn.004609ba
mov dword [ebp - 0x4c], eax
test edi, edi
je 0x436291
mov dword [edi], ebx
push ebx
call fcn.00434204
mov esi, eax
pop ecx
test esi, esi
je 0x43635b
push esi
call fcn.00435269
push eax
push str.SELECT_TENDER_TYPE_ACCEPTED_FROM_TENDER_TYPE_PROFILE_WHERE_LOC_d
push esi
call fcn.004348cf
add esp, 0x10
test eax, eax
je 0x4362fa
and dword [ebp - 0x48], ebx
jmp 0x4362e1
cmp dword [ebp - 0x48], 0xde
jge 0x436307
lea eax, [ebp - 0x44]
push eax
call fcn.004517a9
test eax, eax
mov eax, dword [ebp - 0x48]
pop ecx
je 0x4362dd
bts ebx, eax
inc eax
mov dword [ebp - 0x48], eax
push 1
push 9
push 0x3f
lea eax, [ebp - 0x44]
push eax
push esi
call fcn.004349c0
add esp, 0x14
test eax, eax
jne 0x4362c0
jmp 0x436307
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_ExecuteODBCFormat___FAILED.
call fcn.0040d511
pop ecx
xor ebx, ebx
push esi
call fcn.0043453d
pop ecx
test edi, edi
je 0x436314
mov dword [edi], ebx
call fcn.004609ba
sub eax, dword [ebp - 0x4c]
push eax
push 0
push 0xc
push ebx
call fcn.00426f6a
add esp, 0xc
push eax
push str.:0:TAMSii_IsTenderTypesEnabled___has_determined__s_in__ums
call fcn.0040d9e1
mov eax, ebx
add esp, 0xc
and eax, 3
cmp al, 3
jne 0x43634e
and ebx, 0x1c
xor eax, eax
cmp bl, 0x1c
sete al
jmp 0x43635e
push ebx
push str.:7:TAMSii_IsTenderTypesEnabled___FAILED:_dwTenderTypesEnabled___d.
call fcn.0040d511
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004654a8
leave
ret