Function at 0x43b8c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x573ed3
mov eax, dword fs:[0]
push eax
sub esp, 0x520
mov eax, dword [0x5e1da0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0043b130
mov eax, dword [esi + 0x100614]
mov edx, dword [eax + 0x14]
lea ecx, [esi + 0x100614]
call edx
mov eax, dword [esi + 0x11c]
push ecx
sub eax, 0x10
mov dword [ebp - 0x4e0], esp
mov ebx, esp
push eax
call fcn.004023c0
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esi + 0x100614]
mov edx, dword [eax + 0x10]
add esp, 4
lea ecx, [esi + 0x100614]
call edx
test eax, eax
jne 0x43b94f
cmp dword [esi + 0x100664], 2
setne al
add eax, 0xf00a0001
jmp 0x43c1d0
mov eax, dword [esi + 0x100618]
push 0
push eax
mov dword [esi + 0x124], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
lea ebx, [esi + 0x128]
push ebx
lea ecx, [esi + 0x100614]
mov dword [esi + 0x110], eax
call fcn.0044d3d0
mov dword [esi + 0x114], eax
test eax, eax
je 0x43c218
mov ecx, dword [esi + 0x100618]
push 1
push 0
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov edx, dword [esi + 0x114]
push edx
lea ecx, [esi + 0x100670]
push ebx
mov dword [esi + 0x10053c], eax
mov dword [esi + 0x100684], 1
call fcn.0044b860
mov eax, dword [esi + 0x100c04]
lea ecx, [ebp - 0x524]
push ecx
lea edx, [ebp - 0x52c]
push edx
push ebx
lea ecx, [esi + 0x100670]
mov dword [ebp - 0x520], eax
mov dword [ebp - 0x524], 0
call fcn.0044b680
lea ecx, [esi + 0x100614]
call fcn.0044d470
mov dword [esi + 0x100540], eax
cmp eax, 0xffffffff
je 0x43c218
mov eax, dword [esi + 0x100c24]
mov ecx, dword [esi + 0x100c20]
push eax
mov eax, dword [esi + 0xb4]
push ecx
push 0x406
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor ebx, ebx
cmp dword [esi + 0x100540], ebx
ja 0x43ba58
mov ecx, dword [esi + 0x100618]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [esi + 0x110], eax
sub eax, dword [esi + 0x114]
mov dword [esi + 0x100540], eax
mov edx, dword [esi + 0x100618]
push 1
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov ecx, dword [esi + 0x10071c]
mov edx, dword [esi + 0x100720]
mov dword [esi + 0x100538], eax
mov eax, dword [esi + 0x100718]
mov dword [ebp - 0x514], eax
mov eax, dword [esi + 0x100724]
mov dword [ebp - 0x510], ecx
mov ecx, dword [esi + 0x1006e0]
mov dword [ebp - 0x50c], edx
mov edx, dword [esi + 0x1006e4]
mov dword [ebp - 0x508], eax
mov eax, dword [esi + 0x1006e8]
mov dword [ebp - 0x500], ecx
mov ecx, dword [esi + 0x1006ec]
mov dword [ebp - 0x4e8], ebx
mov dword [esi + 0x100558], ebx
mov dword [ebp - 0x4fc], edx
mov dword [ebp - 0x4f8], eax
mov dword [ebp - 0x4f4], ecx
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43baf5
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x504], eax
mov dword [ebp - 4], ebx
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43bb24
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4ec], eax
mov byte [ebp - 4], 1
call fcn.004587ad
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x43bb54
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x4e4], eax
lea eax, [esi + 0x100588]
push eax
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 2
call fcn.00402660
mov eax, dword [esi + 0x120]
push 0x5c
push eax
call fcn.00553b37
add esp, 8
cmp eax, ebx
jne 0x43bb96
or eax, 0xffffffff
jmp 0x43bb9c
sub eax, dword [esi + 0x120]
push eax
lea ecx, [ebp - 0x4dc]
push ecx
lea ecx, [esi + 0x120]
call fcn.004056b0
push eax
lea ecx, [ebp - 0x504]
mov byte [ebp - 4], 3
call fcn.00402660
mov eax, dword [ebp - 0x4dc]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bbe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x120]
push 0x5c
push eax
call fcn.00553b37
add esp, 8
cmp eax, ebx
jne 0x43bbff
or eax, 0xffffffff
jmp 0x43bc05
sub eax, dword [esi + 0x120]
inc eax
push eax
lea ecx, [ebp - 0x4dc]
push ecx
lea ecx, [esi + 0x120]
call fcn.004284e0
push eax
lea ecx, [ebp - 0x4e4]
mov byte [ebp - 4], 4
call fcn.00402660
mov eax, dword [ebp - 0x4dc]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bc4f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x4e4]
push 0x2e
push ebx
call fcn.00553b37
add esp, 8
test eax, eax
jne 0x43bc69
or eax, 0xffffffff
jmp 0x43bc6b
sub eax, ebx
push eax
lea ecx, [ebp - 0x4dc]
push ecx
lea ecx, [ebp - 0x4e4]
call fcn.004056b0
push eax
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 5
call fcn.00402660
mov eax, dword [ebp - 0x4dc]
add eax, 0xfffffff0
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43bcb4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x504]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4f0], esp
mov ebx, esp
push eax
mov dword [ebp - 0x4dc], eax
call fcn.004023c0
add eax, 0x10
add esp, 4
lea ecx, [esi + 0x10058c]
mov dword [ebx], eax
call fcn.0043a5d0
mov eax, dword [esi + 0x120]
push 0x2e
push eax
call fcn.00553b37
add esp, 8
test eax, eax
jne 0x43bcff
or eax, 0xffffffff
jmp 0x43bd05
sub eax, dword [esi + 0x120]
push eax
lea ecx, [ebp - 0x51c]
push ecx
lea ecx, [esi + 0x120]
call fcn.004056b0
fldz
mov edx, dword [ebp - 0x514]
mov ecx, dword [ebp - 0x510]
push 0
sub esp, 0x14
fstp dword [esp + 0x10]
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x50c]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x508]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x500]
mov dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x4fc]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp - 0x4f8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x4f4]
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
mov eax, dword [ebp - 0x51c]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x4f0], esp
mov edi, esp
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x518], eax
call fcn.004023c0
add eax, 0x10
mov dword [edi], eax
mov edx, dword [esi + 0x10058c]
mov eax, dword [edx + 0xc]
add esp, 4
lea ecx, [esi + 0x10058c]
call eax
test eax, eax
jne 0x43bdcb
mov eax, dword [ebp - 0x518]
mov byte [ebp - 4], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x43c154
cmp dword [esi + 0x100c08], 0
jne 0x43c117
cmp dword [ebp - 0x4e8], 0
jne 0x43c117
mov ecx, dword [ebp - 0x520]
push ecx
lea edi, [esi + 0x538]
push edi
lea ecx, [esi + 0x100614]
call fcn.0044d4c0
push edi
lea ecx, [esi + 0x100670]
call fcn.0044b9a0
mov edi, eax
test edi, edi
je 0x43c1ec
cmp byte [edi + 7], 0
jne 0x43bdcb
mov eax, dword [edi + 8]
cmp eax, dword [esi + 0x100c20]
jb 0x43bdcb
cmp eax, dword [esi + 0x100c24]
ja 0x43bdcb
cmp dword [esi + 0x100c08], 0
jne 0x43c117
push eax
lea ecx, [esi + 0x94]
call fcn.00421300
cmp byte [edi + 4], 1
jne 0x43be56
mov dword [esi + 0x124], 1
call fcn.0045b519
mov eax, dword [eax + 4]
mov edx, dword [eax]
mov edx, dword [edx + 0x84]
push 0
push 0x58f908
push str.Options
lea ecx, [ebp - 0x4f0]
push ecx
mov ecx, eax
call edx
lea eax, [esi + 0x100588]
push eax
lea ecx, [esi + 0x120]
mov byte [ebp - 4], 7
call fcn.00402660
lea eax, [ebp - 0x34]
push eax
lea ecx, [esi + 0x100670]
call fcn.0044aa70
mov ecx, dword [esi + 0x10071c]
mov edx, dword [esi + 0x100720]
mov eax, dword [esi + 0x100724]
mov ebx, dword [esi + 0x100718]
mov dword [ebp - 0x510], ecx
mov ecx, dword [esi + 0x1006e0]
mov dword [ebp - 0x50c], edx
mov edx, dword [esi + 0x1006e4]
mov dword [ebp - 0x508], eax
mov eax, dword [esi + 0x1006e8]
mov dword [ebp - 0x500], ecx
mov ecx, dword [esi + 0x1006ec]
mov dword [ebp - 0x4fc], edx
movzx edx, word [esi + 0x1006f2]
mov dword [ebp - 0x4f8], eax
movzx eax, word [esi + 0x1006f4]
mov dword [ebp - 0x4f4], ecx
lea ecx, [ebp - 0x4d8]
mov dword [ebp - 0x528], edx
mov dword [ebp - 0x4e0], eax
call fcn.0043b280
movzx ecx, byte [edi + 4]
mov eax, dword [ebp - 0x510]
mov dword [ebp - 0x4d8], ecx
mov edx, dword [edi + 8]
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x4c4], edx
mov edx, dword [ebp - 0x508]
mov dword [ebp - 0x4b8], eax
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x4b4], ecx
mov ecx, dword [ebp - 0x4fc]
mov dword [ebp - 0x4b0], edx
mov edx, dword [ebp - 0x4f8]
mov dword [ebp - 0x4ac], eax
mov eax, dword [ebp - 0x4f4]
mov dword [ebp - 0x4a8], ecx
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x4a4], edx
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4a0], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x4d4], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x4bc], ebx
mov dword [ebp - 0x4d0], edx
mov dx, word [ebp - 0x528]
mov dword [ebp - 0x4cc], eax
mov ax, word [ebp - 0x4e0]
mov dword [ebp - 0x4c8], ecx
xor ebx, ebx
mov ecx, 0x1f40
mov byte [ebp - 4], 8
mov dword [ebp - 0x49a], 0x80001
mov word [ebp - 0x49c], cx
mov word [ebp - 0x4c0], dx
mov word [ebp - 0x4be], ax
mov dword [ebp - 0x494], ebx
mov dword [ebp - 0x90], ebx
push 0x400
lea ecx, [ebp - 0x490]
push 0x400
push ecx
call fcn.00552060
add esp, 0xc
cmp byte [edi + 4], bl
je 0x43c0f1
mov eax, dword [edi + 0x34]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x20], edx
mov edx, dword [eax + 8]
mov dword [ebp - 0x1c], edx
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x14], eax
mov eax, ecx
mov dword [ebp - 0x18], edx
mov edx, ecx
shl eax, 0x10
mov dword [ebp - 0x24], ecx
and edx, 0xff00
or eax, edx
shr ecx, 8
shl eax, 8
and ecx, 0xff00
or eax, ecx
movzx ecx, byte [ebp - 0x21]
or eax, ecx
cmp eax, 1
jne 0x43c068
mov dword [esi + 0x10c], eax
jmp 0x43c06e
mov dword [esi + 0x10c], ebx
cmp byte [edi + 5], bl
je 0x43c0ba
push edi
mov ecx, esi
call fcn.0043a410
mov dword [ebp - 0x4e8], eax
cmp eax, ebx
je 0x43c0f1
sub esp, 0x4a4
lea edx, [ebp - 0x4d8]
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push edx
call fcn.00405910
mov eax, dword [esi + 0x100c14]
mov ecx, dword [esi + 0x100c10]
push eax
push ecx
lea ecx, [esi + 0x10058c]
call fcn.0040a980
jmp 0x43c0f1
sub esp, 0x4a4
lea edx, [ebp - 0x4d8]
mov ecx, esp
mov dword [ebp - 0x4e0], esp
push edx
call fcn.00405910
mov eax, dword [edi + 0x30]
mov ecx, dword [edi + 0x34]
push eax
push ecx
lea ecx, [esi + 0x10058c]
call fcn.0040a980
mov dword [ebp - 0x4e8], 1
lea ecx, [ebp - 0x4d8]
call fcn.004057b0
lea ecx, [ebp - 0x4f0]
mov byte [ebp - 4], 6
call fcn.004011c0
cmp dword [ebp - 0x4e8], ebx
je 0x43bdcb
xor ecx, ecx
mov eax, 1
mov dword [esi + 0x100550], ecx
mov dword [esi + 0x10054c], ecx
mov ecx, esi
mov dword [esi + 0x100544], eax
mov dword [esi + 0x10055c], eax
call fcn.0043b2f0
mov eax, dword [ebp - 0x518]
mov byte [ebp - 4], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43c160
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4e4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 1
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c186
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4ec]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [ebp - 4], 0
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c1ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [ebp - 0x4dc]
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [ebp - 4], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43c1ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005520da
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x51c]
call fcn.004011c0
lea ecx, [ebp - 0x4e4]
call fcn.004011c0
lea ecx, [ebp - 0x4ec]
call fcn.004011c0
lea ecx, [ebp - 0x504]
call fcn.004011c0
mov eax, 0xf00a0003
jmp 0x43c1d0