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

Disassembly:
push 0xffffffffffffffff
push 0x6e4e02
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
mov al, byte [0x821e98]
push ebx
push ebp
push esi
mov ebx, ecx
xor esi, esi
test al, 1
push edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
jne 0x4458b4
push 0x43b990
mov dl, al
push 0x445b20
push 0xf8
or dl, 1
push 0x28
push 0x822d98
mov byte [0x821e98], dl
call fcn.00660c33
push 0x445c00
call fcn.006601e7
add esp, 4
mov al, byte [0x826d89]
test al, al
jne 0x445a30
mov byte [0x826d89], 1
mov dword [esp + 0x14], esi
mov ebp, 0x822dac
mov ecx, dword [esp + 0x14]
call fcn.004513f0
mov esi, eax
mov al, byte [esp + 0x12]
push 0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2c], al
call fcn.00407e50
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebx, ecx
lea ecx, [esp + 0x2c]
push ebx
call fcn.00402d20
test al, al
je 0x44592d
mov edi, dword [esp + 0x2c]
mov ecx, ebx
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x30], ebx
mov byte [eax + ebx], 0
mov cl, byte [esp + 0x28]
xor esi, esi
mov byte [esp + 0x48], cl
push esi
lea ecx, [esp + 0x4c]
mov dword [esp + 0x7c], 1
call fcn.00407e50
mov edx, dword [0x71eb00]
lea eax, [esp + 0x28]
push edx
push esi
push eax
lea ecx, [esp + 0x54]
call fcn.00407c50
lea ecx, [esp + 0x12]
lea edx, [esp + 0x13]
push ecx
push edx
lea ecx, [esp + 0x64]
mov byte [esp + 0x80], 2
mov dword [esp + 0x60], esi
call fcn.0044d290
mov dword [esp + 0x6c], esi
mov eax, dword [0x71eb00]
lea ecx, [esp + 0x48]
push eax
push esi
push ecx
lea ecx, [ebp - 0x14]
mov byte [esp + 0x84], 3
call fcn.00407c50
lea eax, [esp + 0x5c]
mov edx, dword [esp + 0x58]
cmp ebp, eax
mov dword [ebp - 4], edx
je 0x4459df
mov eax, dword [ebp + 4]
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, ebp
call fcn.004f7b90
mov edx, dword [eax]
lea eax, [esp + 0x28]
push edx
push eax
mov ecx, ebp
call fcn.00410fb0
lea edx, [esp + 0x5c]
mov cl, byte [esp + 0x5d]
push edx
mov byte [ebp + 1], cl
mov ecx, ebp
call fcn.0044d770
mov eax, dword [esp + 0x6c]
mov dword [ebp + 0x10], eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0x78], 4
call fcn.004107b0
lea ecx, [esp + 0x48]
mov byte [esp + 0x78], 1
push 1
call fcn.00407e50
lea ecx, [esp + 0x28]
mov byte [esp + 0x78], 0
push 1
call fcn.00407e50
add ebp, 0x28
mov edx, dword [esp + 0x14]
inc edx
cmp ebp, 0x82546c
mov dword [esp + 0x14], edx
jl 0x4458d1
mov ebx, dword [esp + 0x18]
mov cl, byte [esp + 0x13]
push 0
mov byte [esp + 0x3c], cl
lea ecx, [esp + 0x3c]
call fcn.00407e50
mov edi, 0x7e004c
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x3c]
push ebp
call fcn.00402d20
test al, al
je 0x445a89
mov edi, dword [esp + 0x3c]
mov ecx, ebp
mov edx, ecx
mov esi, 0x7e004c
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov byte [eax + ebp], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x78], 5
push ecx
mov ecx, ebx
call fcn.0040ca10
lea edx, [esp + 0x13]
lea ebp, [ebx + 0x14]
lea eax, [esp + 0x12]
push edx
push eax
mov ecx, ebp
mov byte [esp + 0x80], 6
mov dword [ebx + 0x10], 0xf8
call fcn.0044d290
mov esi, 0x822d98
mov byte [esp + 0x78], 7
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x28], 4
xor edi, edi
push esi
mov ecx, ebp
call fcn.0044d340
mov dword [eax], edi
add esi, 0x28
inc edi
cmp esi, 0x825458
jl 0x445ad6
mov dword [esp + 0x1c], 1
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 0
call fcn.00407e50
mov eax, ebx
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x6c
ret