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

Disassembly:
sub esp, 0x394
mov eax, dword [0x5a5084]
xor eax, esp
mov dword [esp + 0x38c], eax
push ebx
push ebp
mov ebp, dword [esp + 0x3a4]
push esi
mov esi, dword [esp + 0x3a4]
cmp esi, 0xffffffff
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
jl 0x446c89
mov ebx, dword [edi]
cmp esi, dword [ebx + 4]
jge 0x446c89
cmp dword [edi + 4], 0xffffffff
je 0x4467ab
call fcn.00446550
cmp esi, dword [edi + 0x238]
mov dword [edi + 4], 0xffffffff
jne 0x4467d2
cmp esi, 0xffffffff
je 0x4467d7
lea esi, [edi + 8]
mov ecx, 0x8c
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x446c8e
cmp esi, 0xffffffff
jne 0x446820
mov eax, dword [edi]
mov ecx, dword [eax + 4]
xor eax, eax
mov dword [ebp], ecx
mov word [ebp + 4], ax
mov dword [ebp + 0x20c], eax
mov dword [ebp + 0x210], eax
mov dword [ebp + 0x214], eax
mov dword [ebp + 0x218], eax
mov dword [ebp + 0x21c], eax
mov dword [ebp + 0x220], eax
mov dword [ebp + 0x224], eax
mov dword [ebp + 0x228], eax
mov dword [ebp + 0x22c], eax
jmp 0x446c8e
mov eax, dword [edi]
cmp esi, dword [eax + 0x10]
jge 0x446835
mov esi, eax
call fcn.00445ee0
mov esi, dword [esp + 0x3a8]
mov edx, dword [edi]
cmp dword [edx + 0x10], esi
jge 0x446855
lea esp, [esp]
mov esi, dword [edi]
call fcn.00445f20
mov eax, dword [edi]
mov ecx, dword [esp + 0x3a8]
cmp dword [eax + 0x10], ecx
jl 0x446840
mov ecx, dword [edi]
push 0x104
lea edx, [esp + 0x3c]
push 0
push edx
lea eax, [esp + 0x94]
call fcn.00445c60
mov edi, dword [edi]
add esp, 0xc
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.00445f80
add esp, 0xc
test eax, eax
je 0x446899
mov eax, 0x700
jmp 0x446c8e
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x4468c4
cmp byte [eax + 1], 0
je 0x446901
mov ecx, dword [eax + 0xc]
add ecx, dword [esp + 0x14]
mov edx, dword [eax + 4]
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x4468cb
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x1c], ecx
mov esi, dword [esp + 0x24]
push esi
call fcn.00472258
mov edx, dword [edi]
mov edi, dword [edx]
add esp, 4
push esi
mov ebx, 1
mov edx, eax
mov dword [esp + 0x18], eax
call fcn.00445670
add esp, 4
cmp eax, esi
je 0x44690b
mov eax, dword [esp + 0x14]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, 0x800
jmp 0x446c8e
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
push 0x104
lea ecx, [esp + 0x194]
push ecx
push 0xffffffffffffffff
lea edx, [esp + 0x94]
push edx
push 0
push 0xfde9
mov dword [ebp], eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ebx, dword [sym.imp.MSVCR80.dll_wcsstr]
lea edi, [esp + 0x190]
movzx eax, word [edi]
test ax, ax
je 0x44695c
cmp word [edi + 2], 0x3a
jne 0x44695c
add edi, 4
jmp 0x446948
cmp ax, 0x5c
jne 0x446967
add edi, 2
jmp 0x446948
cmp ax, 0x2f
jne 0x446972
add edi, 2
jmp 0x446948
push 0x593d1c
push edi
call ebx
add esp, 8
test eax, eax
je 0x446986
lea edi, [eax + 8]
jmp 0x446948
push str..._
push edi
call ebx
add esp, 8
test eax, eax
je 0x44699a
lea edi, [eax + 8]
jmp 0x446948
push 0x593d34
push edi
call ebx
add esp, 8
test eax, eax
je 0x4469ae
lea edi, [eax + 8]
jmp 0x446948
push str._.._
push edi
call ebx
add esp, 8
test eax, eax
je 0x4469c2
lea edi, [eax + 8]
jmp 0x446948
push edi
lea eax, [ebp + 4]
push 0x104
push eax
call dword [sym.imp.MSVCR80.dll_wcscpy_s]
mov eax, dword [esp + 0x78]
mov edi, dword [esp + 0x44]
mov edx, eax
shr edx, 0x17
mov ecx, eax
shr ecx, 0x1e
not dl
add esp, 0xc
and cl, 1
and dl, 1
shr edi, 8
mov byte [esp + 0x1b], 0
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 1
je 0x446a12
cmp edi, 7
je 0x446a12
cmp edi, 0xb
je 0x446a12
cmp edi, 0xe
jne 0x446a39
mov ecx, eax
shr ecx, 2
and cl, 1
mov byte [esp + 0x12], cl
mov ebx, eax
mov ecx, eax
mov dl, al
shr ebx, 1
shr ecx, 4
shr eax, 5
and dl, 1
and bl, 1
and cl, 1
and al, 1
jmp 0x446a41
mov bl, byte [esp + 0x1b]
mov al, byte [esp + 0x13]
test cl, cl
mov dword [ebp + 0x20c], 0
je 0x446a59
mov dword [ebp + 0x20c], 0x10
test al, al
je 0x446a64
or dword [ebp + 0x20c], 0x20
test bl, bl
je 0x446a6f
or dword [ebp + 0x20c], 2
test dl, dl
je 0x446a7a
or dword [ebp + 0x20c], 1
cmp byte [esp + 0x12], 0
je 0x446a88
or dword [ebp + 0x20c], 4
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x54]
mov dword [ebp + 0x228], ecx
mov ecx, eax
shr ecx, 0x10
mov dword [ebp + 0x22c], edx
call fcn.004465d0
mov dword [esp + 0x30], eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x34]
push ecx
mov dword [esp + 0x3c], edx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
xor ebx, ebx
cmp esi, 4
mov dword [ebp + 0x210], eax
mov dword [ebp + 0x214], ecx
mov dword [ebp + 0x218], eax
mov dword [ebp + 0x21c], ecx
mov dword [ebp + 0x220], eax
mov dword [ebp + 0x224], ecx
jbe 0x446c53
mov byte [esp + 0x22], bl
mov eax, dword [esp + 0x14]
mov dl, byte [ebx + eax]
mov al, byte [eax + ebx + 1]
mov byte [esp + 0x20], dl
mov edi, 0x593d4c
lea esi, [esp + 0x20]
mov ecx, 3
xor edx, edx
mov byte [esp + 0x21], al
repe cmpsb byte [esi], byte es:[edi]
je 0x446b3f
mov eax, dword [esp + 0x14]
movzx ecx, byte [ebx + eax + 2]
lea ebx, [ebx + ecx + 4]
lea edx, [ebx + 4]
cmp edx, dword [esp + 0x24]
jb 0x446afd
jmp 0x446c53
mov esi, dword [esp + 0x14]
movzx eax, byte [ebx + esi + 4]
mov ecx, eax
mov edx, eax
shr ecx, 1
shr edx, 2
and cl, 1
and dl, 1
add ebx, 5
test al, 1
mov byte [esp + 0x13], cl
mov byte [esp + 0x12], dl
je 0x446bb6
movzx ecx, byte [ebx + esi + 1]
movzx edx, byte [ebx + esi]
xor eax, eax
mov ah, byte [ebx + esi + 3]
push 0
add ebx, 4
push 0x989680
mov al, byte [ebx + esi - 2]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
cdq
add eax, 0xb6109100
adc edx, 2
push edx
push eax
call fcn.00546b10
mov ecx, edx
sar ecx, 0x1f
mov cl, byte [esp + 0x13]
mov dword [ebp + 0x224], edx
mov dl, byte [esp + 0x12]
mov dword [ebp + 0x220], eax
test cl, cl
je 0x446c06
movzx edx, byte [ebx + esi + 1]
movzx ecx, byte [ebx + esi]
xor eax, eax
mov ah, byte [ebx + esi + 3]
push 0
add ebx, 4
push 0x989680
mov al, byte [ebx + esi - 2]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
cdq
add eax, 0xb6109100
adc edx, 2
push edx
push eax
call fcn.00546b10
mov ecx, edx
mov dword [ebp + 0x214], edx
mov dl, byte [esp + 0x12]
sar ecx, 0x1f
mov dword [ebp + 0x210], eax
test dl, dl
je 0x446c53
mov eax, dword [esp + 0x14]
movzx ecx, byte [ebx + eax + 1]
xor edx, edx
mov dh, byte [ebx + eax + 3]
push 0
push 0x989680
mov dl, byte [ebx + eax + 2]
movzx eax, byte [ebx + eax]
shl edx, 8
or edx, ecx
shl edx, 8
or eax, edx
cdq
add eax, 0xb6109100
adc edx, 2
push edx
push eax
call fcn.00546b10
mov ecx, edx
sar ecx, 0x1f
mov dword [ebp + 0x218], eax
mov dword [ebp + 0x21c], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x446c64
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x3a8]
add edi, 8
mov ecx, 0x8c
mov esi, ebp
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x238], edx
xor eax, eax
jmp 0x446c8e
mov eax, 0x10000
mov ecx, dword [esp + 0x39c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004726a1
add esp, 0x394
ret 8