Function at 0x40dab0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5f8d6a
mov eax, dword fs:[0]
push eax
sub esp, 0xe4
mov eax, dword [0x667050]
xor eax, esp
mov dword [esp + 0xe0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x667050]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x108]
mov ebp, dword [esp + 0x10c]
mov esi, ecx
mov eax, dword [esi + 0x14]
cmp eax, 1
mov edi, 0x10
jne 0x40db1e
cmp dword [esi + 0x18], edi
jb 0x40db12
mov eax, dword [esi + 4]
jmp 0x40db15
lea eax, [esi + 4]
cmp byte [eax], 0
je 0x40dbea
lea eax, [esp + 0x6c]
push eax
call fcn.004e1a50
mov dword [esp + 0x100], 0
cmp dword [esi + 0x18], edi
jb 0x40db3d
mov esi, dword [esi + 4]
jmp 0x40db40
add esi, 4
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 8]
push 0
push 0
push esi
lea ecx, [esp + 0x78]
call eax
cmp byte [esp + 0x98], 0
jne 0x40dbd5
push str.VERSION
lea ecx, [esp + 0x1c]
mov byte [esp + 0xd4], 1
call dword [0x610498]
lea ecx, [esp + 0x18]
lea edi, [esp + 0x6c]
mov byte [esp + 0x100], 1
call fcn.004e1d50
lea ecx, [esp + 0x18]
mov esi, eax
mov byte [esp + 0x100], 0
call dword [0x6105a0]
test esi, esi
je 0x40deb1
lea ecx, [esp + 0x50]
call dword [0x61049c]
lea eax, [esp + 0x50]
push eax
mov byte [esp + 0x104], 2
call fcn.004e1ea0
test al, al
jne 0x40dbf1
lea ecx, [esp + 0x50]
mov byte [esp + 0x100], al
call dword [0x6105a0]
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x104], 0xffffffff
call fcn.004e1b60
xor al, al
jmp 0x40dfdf
lea edx, [esp + 0x50]
push edx
lea ecx, [ebx + 0xb0]
call dword [0x61059c]
push ebp
lea edi, [esp + 0x54]
call fcn.0040e010
push str.TIME
lea ecx, [esp + 0x38]
call dword [0x610498]
lea ecx, [esp + 0x34]
lea edi, [esp + 0x6c]
mov byte [esp + 0x100], 3
call fcn.004e1d50
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x100], 2
call dword [0x6105a0]
test esi, esi
je 0x40dc88
lea ecx, [esp + 0x18]
call dword [0x61049c]
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x104], 4
call fcn.004e1ea0
test al, al
je 0x40dc76
lea ecx, [esp + 0x18]
push ecx
lea ecx, [ebx + 0x78]
call dword [0x61059c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x100], 2
call dword [0x6105a0]
push str.CONTENT
lea ecx, [esp + 0x38]
call dword [0x610498]
lea ecx, [esp + 0x34]
lea edi, [esp + 0x6c]
mov byte [esp + 0x100], 5
call fcn.004e1d50
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x100], 2
call dword [0x6105a0]
test esi, esi
je 0x40ddbd
lea ecx, [esp + 0x18]
xor ebp, ebp
call dword [0x61049c]
mov eax, esi
mov byte [esp + 0x100], 6
call fcn.004e1e20
mov edi, eax
test edi, edi
je 0x40ddab
lea ecx, [ecx]
mov eax, edi
lea esi, [esp + 0xd8]
call fcn.004e1d20
lea edx, [esp + 0x18]
push edx
mov esi, edi
mov byte [esp + 0x104], 7
call fcn.004e1ea0
test al, al
je 0x40dd85
cmp dword [ebx + 0xa8], 0
je 0x40dd30
push 0x6122dc
lea ecx, [ebx + 0x94]
call dword [0x610590]
add ebp, 1
mov eax, ebp
lea ecx, [esp + 0x34]
call fcn.004ce6f0
lea eax, [esp + 0x34]
lea esi, [ebx + 0x94]
push eax
mov ecx, esi
mov byte [esp + 0x104], 8
call dword [0x610594]
push 0x6122e4
mov ecx, esi
call dword [0x610590]
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
call dword [0x610594]
lea ecx, [esp + 0x34]
mov byte [esp + 0x100], 7
call dword [0x6105a0]
mov eax, edi
call fcn.004e1e60
lea ecx, [esp + 0xd8]
mov edi, eax
mov byte [esp + 0x100], 6
call dword [0x6105a0]
test edi, edi
jne 0x40dcf0
lea ecx, [esp + 0x18]
mov byte [esp + 0x100], 2
call dword [0x6105a0]
push str.TYPE
lea ecx, [esp + 0x38]
call dword [0x610498]
lea ecx, [esp + 0x34]
lea edi, [esp + 0x6c]
mov byte [esp + 0x100], 9
call fcn.004e1d50
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x100], 2
call dword [0x6105a0]
test esi, esi
je 0x40de63
lea ecx, [esp + 0x18]
call dword [0x61049c]
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x104], 0xa
call fcn.004e1ea0
test al, al
je 0x40de51
cmp dword [esp + 0x30], 8
mov eax, dword [esp + 0x1c]
jae 0x40de28
lea eax, [esp + 0x1c]
push 0
call fcn.004ce080
add esp, 4
cmp eax, 2
jne 0x40de3f
mov dword [ebx + 0xcc], eax
jmp 0x40de51
xor ecx, ecx
cmp eax, 3
sete cl
lea ecx, [ecx + ecx + 1]
mov dword [ebx + 0xcc], ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x100], 2
call dword [0x6105a0]
push str.FILE
lea ecx, [esp + 0x38]
call dword [0x610498]
lea ecx, [esp + 0x34]
lea edi, [esp + 0x6c]
mov byte [esp + 0x100], 0xb
call fcn.004e1d50
lea ecx, [esp + 0x34]
mov esi, eax
mov byte [esp + 0x100], 2
call dword [0x6105a0]
test esi, esi
jne 0x40decd
lea ecx, [esp + 0x50]
mov byte [esp + 0x100], 0
call dword [0x6105a0]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x104], 0xffffffff
call fcn.004e1b60
xor al, al
jmp 0x40dfdf
mov eax, esi
call fcn.004e1e20
mov edi, eax
test edi, edi
je 0x40dfb6
mov ebp, dword [0x6105f8]
mov eax, edi
lea esi, [esp + 0x18]
call fcn.004e1d20
lea eax, [esp + 0x50]
push eax
mov esi, edi
mov byte [esp + 0x104], 0xc
call fcn.004e1ea0
test al, al
je 0x40df93
push str.DownloadUrl
lea ecx, [esp + 0x1c]
call dword [0x6105ac]
test eax, eax
jne 0x40df28
lea ecx, [esp + 0x50]
push ecx
lea ecx, [ebx + 0x20]
jmp 0x40df8d
push 0x61231c
lea ecx, [esp + 0x1c]
call dword [0x6105ac]
test eax, eax
jne 0x40df45
lea edx, [esp + 0x50]
push edx
lea ecx, [ebx + 0x3c]
jmp 0x40df8d
push str.FileSize
lea ecx, [esp + 0x1c]
call dword [0x6105ac]
test eax, eax
jne 0x40df72
cmp dword [esp + 0x68], 8
mov eax, dword [esp + 0x54]
jae 0x40df67
lea eax, [esp + 0x54]
push eax
call ebp
add esp, 4
mov dword [ebx + 0x74], eax
jmp 0x40df93
push str.FileName
lea ecx, [esp + 0x1c]
call dword [0x6105ac]
test eax, eax
jne 0x40df93
lea eax, [esp + 0x50]
push eax
lea ecx, [ebx + 0x58]
call dword [0x61059c]
mov eax, edi
call fcn.004e1e60
lea ecx, [esp + 0x18]
mov edi, eax
mov byte [esp + 0x100], 2
call dword [0x6105a0]
test edi, edi
jne 0x40dee4
lea ecx, [esp + 0x50]
mov byte [esp + 0x100], 0
call dword [0x6105a0]
lea ecx, [esp + 0x6c]
push ecx
mov dword [esp + 0x104], 0xffffffff
call fcn.004e1b60
mov al, 1
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xe0]
xor ecx, esp
call fcn.005e693f
add esp, 0xf0
ret 8