Function at 0x47a620
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fb483
mov eax, dword fs:[0]
push eax
sub esp, 0x114
push ebx
push esi
push edi
mov eax, dword [0x6b7e40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
push str.BITS_MANAGER:_Called_VerifyRequestFile
lea ecx, [ebp - 0x20]
call fcn.004021e0
push 0x63bfdc
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 0
call fcn.004021e0
xor ecx, ecx
call fcn.004051a0
mov edi, eax
push ecx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
mov esi, esp
push ecx
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
mov dword [esi], eax
lea eax, [ebp - 0x20]
push eax
push 0x574
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 0
push 1
mov ecx, edi
call fcn.004055a0
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x47a6d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a6f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebx + 0x5c], 0
je 0x47ac88
cmp dword [ebx + 0x58], 0
je 0x47ac88
push 0x63bfdc
lea ecx, [ebp - 0x18]
call fcn.004021e0
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x5c]
mov byte [ebp - 0xd], 1
mov esi, dword [eax + 4]
sub esi, dword [eax]
sar esi, 2
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x47ac50
xor edi, edi
test esi, esi
jle 0x47a80c
mov eax, dword [ebx + 0x5c]
mov eax, dword [eax]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x47a7f6
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x47a76e
lea eax, [esi + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00404570
jmp 0x47a7f6
push eax
push dword [esi + 8]
call fcn.005be8d5
add esp, 8
test eax, eax
jne 0x47a7f6
lea ecx, [ebp - 0x14]
call fcn.00404540
mov byte [ebp - 4], 3
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push dword [esi + 8]
push dword [esi]
push str.BITS_MANAGER:_Error_in_VerifyRequestFile:_Request_file_of_Job__d_is_different:__s____s
push eax
call fcn.00404520
add esp, 0x10
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x591
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
mov byte [ebp - 0xd], 0
lea eax, [edx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47a7f6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
inc edi
cmp edi, esi
jl 0x47a744
cmp byte [ebp - 0xd], 0
je 0x47ac4d
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x47a8b6
call fcn.004a4516
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x47a835
push 0x80004005
call fcn.00402040
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
lea eax, [ebp - 0x14]
push str.BITS_MANAGER:_Error_in_VerifyRequestFile:_Request_file_of_jobs_is_empty___d_jobs_
push eax
mov byte [ebp - 4], 4
call fcn.00404520
add esp, 8
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x59d
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
or edi, 0xffffffff
mov byte [ebp - 0xd], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ac50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x47ac50
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x47abf3
test al, 0x10
jne 0x47abf3
push ecx
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
lea ecx, [ebp - 0x120]
call fcn.0043c830
mov dword [ebp - 0x40], vtable.CDownloadXML.0
mov word [ebp - 0x3c], 0
lea ecx, [ebp - 0x2c]
call fcn.00404540
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 9
call fcn.0044a0f0
test al, al
jne 0x47a977
lea ecx, [ebp - 0x14]
call fcn.00404540
mov byte [ebp - 4], 0xa
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push str.BITS_MANAGER:_Error_in_VerifyRequestFile:_Request_file_could_not_be_parsed:__s
push eax
call fcn.00404520
add esp, 8
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x5b0
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
lea ecx, [ebp - 0x14]
xor bl, bl
call fcn.00401020
jmp 0x47abc3
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x70]
mov eax, dword [edi + 0x58]
sub ecx, dword [ebp - 0x74]
mov ebx, dword [eax + 4]
sub ebx, dword [eax]
mov eax, 0x78787879
imul ecx
sar edx, 6
mov esi, edx
shr esi, 0x1f
add esi, edx
sar ebx, 2
mov dword [ebp - 0x24], esi
cmp esi, ebx
je 0x47aa00
lea ecx, [ebp - 0x14]
call fcn.00404540
push ebx
push esi
lea eax, [ebp - 0x14]
push str.BITS_MANAGER:_Error_in_VerifyRequestFile:_Request_file_has_different_number_of_files_than_BITS_does___d____d_
push eax
mov byte [ebp - 4], 0xb
call fcn.00404520
add esp, 0xc
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x14]
push eax
push 0x5bb
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
lea ecx, [ebp - 0x14]
mov byte [ebp - 0xd], 0
mov byte [ebp - 4], 9
call fcn.00401020
mov dword [ebp - 0x14], 0
test esi, esi
jle 0x47abc0
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp - 0x74]
push 0
add eax, ecx
push 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x94]
push 1
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
call fcn.004046f0
mov ecx, dword [ebp - 0x20]
add eax, 0x10
add esp, 4
mov dword [esi], eax
lea eax, [ebp - 0x38]
push eax
call fcn.00439800
xor esi, esi
mov byte [ebp - 4], 0xc
test ebx, ebx
jle 0x47aaa7
mov eax, dword [edi + 0x58]
mov eax, dword [eax]
mov edi, dword [eax + esi*4]
test edi, edi
je 0x47aa80
mov eax, dword [ebp - 0x38]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47a82b
push eax
push dword [edi + 4]
call fcn.005be8d5
add esp, 8
test eax, eax
je 0x47aa8a
inc esi
cmp esi, ebx
jge 0x47aaa7
mov edi, dword [ebp - 0x28]
jmp 0x47aa52
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov dword [edi + 8], esi
mov eax, dword [ecx + 0x38]
mov dword [edi + 0x10], eax
mov eax, dword [ecx + 0x3c]
mov dword [edi + 0x14], eax
or edi, 0xffffffff
jmp 0x47ab7e
call fcn.004a4516
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x47a82b
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
push str.BITS_MANAGER:_Error_in_VerifyRequestFile:_Could_not_find_file__d_in_bits:__s
push eax
call fcn.00404520
add esp, 0x10
lea ecx, [ebp - 0x34]
push 0x63bfdc
call fcn.004021e0
xor ecx, ecx
call fcn.004051a0
mov edi, eax
push ecx
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
mov esi, esp
push ecx
call fcn.004046f0
add esp, 4
add eax, 0x10
push 0
push 0
mov dword [esi], eax
lea eax, [ebp - 0x1c]
push eax
push 0x5d7
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 1
push 1
mov ecx, edi
call fcn.004055a0
mov byte [ebp - 4], 0xd
mov edx, dword [ebp - 0x34]
add edx, 0xfffffff0
or edi, 0xffffffff
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ab57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
mov byte [ebp - 0xd], 0
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ab7b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47ab9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x30]
inc esi
add ecx, 0x88
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x30], ecx
cmp esi, dword [ebp - 0x24]
jge 0x47abbb
mov edi, dword [ebp - 0x28]
jmp 0x47aa14
mov bl, byte [ebp - 0xd]
jmp 0x47abc6
mov bl, byte [ebp - 0xd]
or edi, 0xffffffff
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x2c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x47abe6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x120]
call fcn.00443380
jmp 0x47ac53
lea ecx, [ebp - 0x28]
call fcn.00404540
mov byte [ebp - 4], 6
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push str.BITS_MANAGER:_Error_in_VerifyRequestFile:_Request_file_could_not_be_found:__s
push eax
call fcn.00404520
add esp, 8
mov ecx, esp
push 0x63bfdc
call fcn.004021e0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x5a4
push str.C:_amintegration_tools_setupishield_sldim_sldbgdwldBitsManager.cpp
push 1
push 1
xor ecx, ecx
call fcn.004051a0
mov ecx, eax
call fcn.004022e0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x28]
jmp 0x47a88d
or edi, 0xffffffff
mov bl, byte [ebp - 0xd]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x18]
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x47ac74
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret