Function at 0x4e2e70
Capabilities:
Print debug messages
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x659cd8
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x6af168]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
push edi
mov eax, dword [0x6af168]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x50a], 0
mov dword [esp + 0x14], edi
je 0x4e31db
add edi, 0x108
mov dword [esp + 0x18], 4
jmp 0x4e2ed0
mov esi, edi
call fcn.004e4d30
xor esi, esi
cmp eax, esi
jne 0x4e306f
push 0xffffffffffffffff
push esi
lea eax, [edi + 0x44]
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], esi
mov byte [esp + 0x50], 0
call fcn.00401d10
push 1
push esi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x94], esi
mov bl, 0x2f
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1c], bl
call fcn.00443880
cmp eax, 0xffffffff
je 0x4e2f8b
mov byte [esp + 0x10], bl
lea esp, [esp]
push eax
push 0
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x4c]
lea esi, [eax + 1]
call fcn.00440e80
mov eax, dword [esp + 0x28]
mov ebx, 0x10
cmp dword [esp + 0x3c], ebx
jae 0x4e2f57
lea eax, [esp + 0x28]
push eax
call fcn.00627e45
add esp, 4
cmp dword [esp + 0x3c], ebx
jb 0x4e2f73
mov eax, dword [esp + 0x28]
push eax
call fcn.0062493b
add esp, 4
push 1
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00443880
cmp eax, 0xffffffff
jne 0x4e2f30
jmp 0x4e2f90
mov ebx, 0x10
cmp dword [esp + 0x58], ebx
mov eax, dword [esp + 0x44]
jae 0x4e2f9e
lea eax, [esp + 0x44]
push eax
lea edx, [esp + 0x28]
push str.AdFile:__s_r_n
push edx
call fcn.004e7a20
add esp, 0xc
cmp dword [eax + 0x18], ebx
jb 0x4e2fbb
mov eax, dword [eax + 4]
jmp 0x4e2fbe
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x3c], ebx
jb 0x4e2fd8
mov eax, dword [esp + 0x28]
push eax
call fcn.0062493b
add esp, 4
cmp dword [esp + 0x58], ebx
mov eax, dword [esp + 0x44]
jae 0x4e2fe6
lea eax, [esp + 0x44]
push 0x67d754
push eax
call fcn.006262fc
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4e3040
lea esi, [esp + 0x24]
call fcn.004e4d40
mov eax, dword [esp + 0x28]
mov esi, 0x10
cmp dword [esp + 0x3c], esi
jae 0x4e3016
lea eax, [esp + 0x28]
mov ecx, dword [esp + 0x38]
push ebx
push ecx
push 1
push eax
call fcn.00627cab
push ebx
call fcn.006261bc
add esp, 0x14
cmp dword [esp + 0x3c], esi
jb 0x4e3040
mov edx, dword [esp + 0x28]
push edx
call fcn.0062493b
add esp, 4
mov eax, edi
call fcn.004e4a90
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0x4e311b
mov eax, dword [esp + 0x44]
push eax
call fcn.0062493b
add esp, 4
jmp 0x4e311b
cmp eax, 2
je 0x4e31ca
cmp eax, 1
je 0x4e311b
lea ecx, [edi + 0x44]
push ecx
lea edx, [esp + 0x44]
push str.Error_on_AdFile:
push edx
call fcn.0044cec0
add esp, 0xc
push 0x67cff4
push eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x94], 1
call fcn.0044cf70
mov esi, 0x10
add esp, 0xc
cmp dword [eax + 0x18], esi
jb 0x4e30c4
mov eax, dword [eax + 4]
jmp 0x4e30c7
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [esp + 0x3c], esi
jb 0x4e30e1
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0062493b
add esp, 4
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x58], esi
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
jb 0x4e3114
mov edx, dword [esp + 0x44]
push edx
call fcn.0062493b
add esp, 4
mov eax, edi
call fcn.004e4a90
mov esi, dword [esp + 0x14]
cmp dword [esi + 0x548], 0
jbe 0x4e31ca
mov eax, dword [esi + 0x544]
mov ebx, dword [eax]
add esi, 0x540
cmp ebx, eax
jne 0x4e3143
call fcn.0062492b
push 0xffffffffffffffff
lea eax, [ebx + 8]
push 0
push eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x80], 0xf
mov dword [esp + 0x7c], 0
mov byte [esp + 0x6c], 0
call fcn.00401d10
mov dword [esp + 0x88], 2
mov eax, dword [esi + 4]
mov eax, dword [eax]
push eax
push esi
lea eax, [esp + 0x24]
push eax
push esi
call fcn.004f48a0
mov ebx, dword [esp + 0x14]
add ebx, 0x68
lea ecx, [esp + 0x5c]
call fcn.004e49a0
mov dword [esp + 0x88], 0xffffffff
cmp dword [esp + 0x74], 0x10
jb 0x4e31b8
mov ecx, dword [esp + 0x60]
push ecx
call fcn.0062493b
add esp, 4
xor eax, eax
mov dword [esp + 0x74], 0xf
mov dword [esp + 0x70], eax
mov byte [esp + 0x60], al
add edi, 0x100
sub dword [esp + 0x18], 1
jne 0x4e2ed0
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00624940
mov esp, ebp
pop ebp
ret