Function at 0x421cf0
Capabilities:
Get file size

Disassembly:
push 0xffffffffffffffff
push 0x4b4422
mov eax, dword fs:[0]
push eax
sub esp, 0x4c8
mov eax, dword [0x4f4930]
xor eax, esp
mov dword [esp + 0x4c0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4f4930]
xor eax, esp
push eax
lea eax, [esp + 0x4dc]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4ec]
mov esi, ecx
mov edi, edx
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], edi
call fcn.00419980
xor ebx, ebx
mov dword [esi + 0x18], ebx
cmp byte [esi + 0x1c], bl
jne 0x421f2b
call fcn.00423400
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
test al, al
je 0x421d7d
call esi
mov edi, eax
call fcn.0042cb40
push edi
mov edi, eax
call fcn.0042c640
mov ecx, eax
mov eax, str.ReadConfig
call fcn.0042c950
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], fcn.00470104
mov dword [esp + 0x3c], fcn.00470421
mov dword [esp + 0x40], fcn.00470027
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], 0x1fff8
mov dword [esp + 0x34], 0x4c36dc
mov dword [esp + 0x4c], ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4e4], ebx
call fcn.0041ead0
mov eax, ebp
lea edx, [esp + 0x50]
call fcn.0041ed00
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x4ec], 2
call fcn.00429760
mov byte [esp + 0x4e4], bl
mov byte [esp + 0x1b], al
mov dword [esp + 0x50], 0x4d4d70
cmp byte [esp + 0x16c], bl
jne 0x421e20
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x5c]
cmp eax, edx
je 0x421e20
push eax
call fcn.00470027
add esp, 4
call fcn.00423400
test al, al
je 0x421e7b
call esi
mov esi, eax
call fcn.0042cb40
push esi
mov edi, eax
call fcn.0042c640
mov esi, eax
cmp byte [esi], bl
je 0x421e7b
mov ecx, esi
call fcn.0042ca50
mov eax, dword [esi + 4]
cmp eax, ebx
jg 0x421e53
mov dword [esi + 4], ebx
jmp 0x421e7b
mov dword [esi + eax*8 + 0xfc8], ebx
mov dword [esi + eax*8 + 0xfcc], ebx
add dword [esi + 4], 0xffffffff
je 0x421e7b
add esi, 8
mov dword [esp + 0x20], esi
mov ebx, dword [esp + 0x20]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
xor ebx, ebx
cmp byte [esp + 0x1b], bl
jne 0x421ede
mov ecx, dword [esp + 0x1c]
call fcn.0041a480
push 0x4d5d48
push 0x4d4204
mov edx, eax
call fcn.0041f080
mov dword [esp + 0x4ec], 0xffffffff
mov eax, dword [esp + 0x30]
add esp, 8
cmp eax, ebx
je 0x421ec6
push eax
call fcn.00470027
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x4c345c
call fcn.00419980
xor al, al
jmp 0x422135
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x28]
push eax
push ecx
call fcn.004227b0
mov dword [esp + 0x4e4], 0xffffffff
mov eax, dword [esp + 0x28]
cmp eax, ebx
je 0x421f15
push eax
call fcn.00470027
add esp, 4
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0x4c345c
call fcn.00419980
jmp 0x422133
lea esi, [esp + 0x174]
call fcn.004243d0
mov esi, 0x4d67fc
mov dword [esp + 0x174], esi
mov dword [esp + 0x4c8], 0x4d6804
mov dword [esp + 0x4cc], ebx
mov dword [esp + 0x4d0], ebx
lea ecx, [esp + 0x50]
mov dword [esp + 0x4e4], 3
call fcn.0041ead0
mov eax, ebp
lea edx, [esp + 0x50]
call fcn.0041ed00
lea edx, [esp + 0x50]
mov eax, edi
push edx
lea edi, [esp + 0x178]
mov byte [esp + 0x4e8], 5
call fcn.0042a0c0
mov byte [esp + 0x4e4], 3
mov byte [esp + 0x1b], al
mov dword [esp + 0x50], 0x4d4d70
cmp byte [esp + 0x16c], bl
jne 0x421fc8
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x5c]
cmp eax, ecx
je 0x421fc8
push eax
call fcn.00470027
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x42201b
mov ecx, dword [esp + 0x1c]
call fcn.0041a480
push 0x4d5d5c
push 0x4d4204
mov edx, eax
call fcn.0041f080
mov dword [esp + 0x4ec], 0xffffffff
mov dword [esp + 0x17c], esi
add esp, 8
lea ecx, [esp + 0x174]
mov dword [esp + 0x4c8], 0x4d693c
call fcn.00424450
xor al, al
jmp 0x422135
mov eax, dword [esp + 0x178]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x28], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x422045
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
je 0x422045
xor ebp, ebp
lea ecx, [ebp + 1]
push ecx
call fcn.00470104
mov esi, eax
add esp, 4
cmp esi, ebx
jne 0x42208c
mov ecx, dword [esp + 0x1c]
call fcn.0041a480
push 0x4d5d70
push 0x4d4204
mov edx, eax
call fcn.0041f080
mov dword [esp + 0x4ec], 0xffffffff
mov dword [esp + 0x17c], 0x4d67fc
jmp 0x421ffa
mov edi, dword [esp + 0x1c]
push ebp
push esi
push edi
lea ecx, [esp + 0x4d4]
call fcn.0042a110
test al, al
jne 0x4220ca
push 0x4d5d94
mov ecx, edi
call fcn.00403120
mov dword [esp + 0x4e4], 0xffffffff
mov dword [esp + 0x174], 0x4d67fc
jmp 0x421ffd
lea edi, [esp + 0x174]
mov byte [esi + ebp], bl
call fcn.00424750
mov edx, dword [esp + 0x24]
push esi
mov ecx, ebp
call fcn.00422160
push esi
mov byte [esp + 0x1f], al
call fcn.00470027
add esp, 4
cmp byte [esp + 0x1b], bl
jne 0x42211c
mov ecx, dword [esp + 0x1c]
push 0x4d5d48
call fcn.00403120
mov ecx, edi
mov dword [esp + 0x4e4], 0xffffffff
call fcn.0042a0a0
xor al, al
jmp 0x422135
lea ecx, [esp + 0x174]
mov dword [esp + 0x4e4], 0xffffffff
call fcn.0042a0a0
mov al, 1
mov ecx, dword [esp + 0x4dc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c0]
xor ecx, esp
call fcn.0046fdae
add esp, 0x4d4
ret 4