Function at 0x43dc60
Capabilities:
Get file size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3df6
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x508164]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esi + 0x78]
push eax
lea ecx, [ebp - 0xd0]
call fcn.00411840
mov edi, eax
push str.dns_
lea edx, [esi + 0x100]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x88]
call fcn.00408890
add esp, 4
mov esi, eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004096c0
add edi, 0x30
cmp dword [edi + 0x14], 8
jb 0x43dcd8
mov edi, dword [edi]
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43dce0
sub ecx, edx
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.004086c0
mov dword [ebp - 0x48], 0
xor ecx, ecx
mov dword [ebp - 0x44], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x48], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
push 4
push 0x4edd20
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.004086c0
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea ecx, [ebp - 0x58]
call fcn.0040c2c0
lea ecx, [ebp - 0x88]
call fcn.0040c2c0
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 7
call fcn.0040c2c0
push fcn.0040e540
push 2
push 0x18
lea eax, [ebp - 0xd0]
push eax
call fcn.0048dbcc
mov edi, dword [ebp + 8]
mov byte [ebp - 4], 6
cmp dword [edi + 4], 0
je 0x43e1b3
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0x80
push 4
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0xd8], esi
cmp esi, 0xffffffff
jne 0x43de1f
cmp dword [ebp - 0x2c], 8
lea esi, [ebp - 0x40]
cmovae esi, dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateFile___s__Err__d_
push 0x36f
push 0x4edca8
push 1
call fcn.00407ee0
push eax
call fcn.00407c80
add esp, 0x1c
jmp 0x43e1b3
push 2
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp - 0xdc]
mov dword [ebp - 0xdc], 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
test eax, eax
jne 0x43dea2
push 0x27
push str.querydnsname_tquerydnsresult_ttimestamp_r_n
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], al
call fcn.0040e3a0
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.004403d0
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43dea2
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43de98
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e1d8
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov eax, dword [edi]
mov esi, dword [eax]
cmp esi, eax
je 0x43e1a7
nop
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 8
lea eax, [esi + 0x10]
cmp dword [esi + 0x24], 0x10
jb 0x43ded2
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x20]
push edi
push eax
cmp edi, 0xf
ja 0x43def5
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], edi
push eax
call fcn.004a5980
add esp, 0xc
mov byte [ebp + edi - 0x28], 0
lea edx, [ebp - 0x28]
jmp 0x43df0d
mov byte [ebp - 0xe0], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xe0]
push edi
call fcn.0040e0a0
mov edx, eax
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
sub ecx, edi
cmp ecx, 1
jb 0x43df40
cmp dword [edx + 0x14], 0x10
lea eax, [edi + 1]
mov dword [edx + 0x10], eax
jb 0x43df28
mov edx, dword [edx]
push 1
add edi, edx
push 0x4ea3f8
push edi
call fcn.004a5980
add esp, 0xc
mov byte [edi + 1], 0
jmp 0x43df5d
push 1
push 0x4ea3f8
mov byte [ebp - 0xe4], 0
mov ecx, edx
push dword [ebp - 0xe4]
push 1
call fcn.0040e0a0
cmp dword [esi + 0x3c], 0x10
lea edx, [esi + 0x28]
jb 0x43df69
mov edx, dword [esi + 0x28]
mov ecx, dword [esi + 0x38]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
sub eax, edi
mov dword [ebp - 0xd4], ecx
push ecx
push edx
cmp ecx, eax
ja 0x43dfab
cmp dword [ebp - 0x14], 0x10
lea eax, [ecx + edi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add edi, eax
push edi
call fcn.004a5980
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x28]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x43dfc3
mov byte [ebp - 0xe8], 0
push dword [ebp - 0xe8]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e0a0
mov edx, eax
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
sub ecx, edi
cmp ecx, 1
jb 0x43dff6
cmp dword [edx + 0x14], 0x10
lea eax, [edi + 1]
mov dword [edx + 0x10], eax
jb 0x43dfde
mov edx, dword [edx]
push 1
add edi, edx
push 0x4ea3f8
push edi
call fcn.004a5980
add esp, 0xc
mov byte [edi + 1], 0
jmp 0x43e013
push 1
push 0x4ea3f8
mov byte [ebp - 0xec], 0
mov ecx, edx
push dword [ebp - 0xec]
push 1
call fcn.0040e0a0
push dword [esi + 0x44]
lea ecx, [ebp - 0x70]
push dword [esi + 0x40]
call fcn.00451bf0
add esp, 8
mov byte [ebp - 4], 9
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x43e032
mov edx, dword [eax]
mov ecx, dword [eax + 0x10]
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
sub eax, edi
mov dword [ebp - 0xd4], ecx
push ecx
push edx
cmp ecx, eax
ja 0x43e074
cmp dword [ebp - 0x14], 0x10
lea eax, [ecx + edi]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
add edi, eax
push edi
call fcn.004a5980
mov eax, dword [ebp - 0xd4]
lea edx, [ebp - 0x28]
add esp, 0xc
mov byte [eax + edi], 0
jmp 0x43e08c
mov byte [ebp - 0xf0], 0
push dword [ebp - 0xf0]
push ecx
lea ecx, [ebp - 0x28]
call fcn.0040e0a0
mov edx, eax
mov ecx, dword [edx + 0x14]
mov edi, dword [edx + 0x10]
sub ecx, edi
cmp ecx, 2
jb 0x43e0bf
cmp dword [edx + 0x14], 0x10
lea eax, [edi + 2]
mov dword [edx + 0x10], eax
jb 0x43e0a7
mov edx, dword [edx]
push 2
add edi, edx
push 0x4ea3fc
push edi
call fcn.004a5980
add esp, 0xc
mov byte [edi + 2], 0
jmp 0x43e0dc
push 2
push 0x4ea3fc
mov byte [ebp - 0xf4], 0
mov ecx, edx
push dword [ebp - 0xf4]
push 2
call fcn.0040e0a0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x5c]
cmp edx, 0x10
jb 0x43e114
mov ecx, dword [ebp - 0x70]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e10a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e1d8
push edx
push ecx
call fcn.0048d8eb
add esp, 8
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0xd8]
call fcn.004403d0
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x43e15b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x43e151
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43e1d8
push edx
push ecx
call fcn.0048d8eb
add esp, 8
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x43e184
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x43e180
nop dword [eax]
cmp esi, dword [eax + 8]
jne 0x43e180
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x43e170
mov esi, eax
jmp 0x43e19c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x43e19c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x43e190
mov eax, dword [ebp + 8]
cmp esi, dword [eax]
jne 0x43deb0
push dword [ebp - 0xd8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x40]
call fcn.0040c2c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048d8b2
mov esp, ebp
pop ebp
ret 4
call fcn.004b0023
int3