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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0068447c
add esp, 4
test eax, eax
je 0x68461e
cmp dword [ebp + 0xc], 0
jne 0x684894
mov ecx, eax
call fcn.006851ec
mov eax, dword [0x444e0c]
mov edi, dword [0x444e10]
add eax, edi
mov ecx, dword [0x440694]
cmp eax, ecx
jl 0x684662
cmp dword [0x444e14], 0
jne 0x684653
xor edx, edx
xor ecx, ecx
call fcn.006855fc
mov edi, dword [0x444e10]
mov ecx, dword [0x440694]
mov eax, dword [0x444e0c]
add eax, edi
cmp eax, ecx
jge 0x6846f1
cmp edi, dword [0x443be4]
jl 0x6846af
cmp dword [0x444e14], 0
jne 0x6846af
push 0x17
call fcn.0068f280
add esp, 4
test eax, eax
jne 0x6846fa
push 0x43dae8
push 1
call fcn.0066febc
add esp, 8
mov dword [0x443b50], 2
push 0x44044c
push 1
call fcn.0066febc
mov edi, dword [0x444e10]
add esp, 8
push 0x88
call fcn.0068f280
mov esi, eax
add esp, 4
test esi, esi
je 0x6846f1
mov eax, dword [ebp - 4]
mov byte [esi + 2], al
mov eax, dword [ebp + 0x14]
mov dword [esi + 4], eax
lea eax, [ebx + 1]
push eax
mov dword [esi + 8], 0
call fcn.0068f280
add esp, 4
mov dword [esi + 0xc], eax
test eax, eax
jne 0x684725
push esi
call fcn.0068f208
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 0x10], 0x416600
call fcn.006799bc
test eax, eax
je 0x68469a
mov dword [0x444e14], 1
jmp 0x6846af
push ebx
push dword [ebp - 8]
push eax
call fcn.00696a9c
mov eax, dword [esi + 0xc]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov byte [ebx + eax], 0
xor eax, eax
test ecx, ecx
mov word [esi + 0x10], bx
setne al
or ax, 2
mov word [esi + 0x12], ax
test ecx, ecx
je 0x6847c8
push dword [0x444e08]
movzx ecx, byte [esi + 2]
mov edx, dword [esi + 0xc]
movzx eax, bx
push eax
call fcn.0068e9bc
add esp, 8
lea ebx, [eax*4]
mov eax, dword [0x443d14]
mov ecx, dword [ebx + eax]
test ecx, ecx
je 0x68478f
call fcn.006851ec
mov edi, dword [0x444e10]
mov eax, dword [0x443d14]
mov dword [ebx + eax], esi
mov eax, dword [0x443be0]
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], 0
test eax, eax
je 0x6847b1
mov dword [eax + 0x84], esi
cmp dword [0x443bec], 0
mov dword [0x443be0], esi
jne 0x6847dc
mov dword [0x443bec], esi
jmp 0x6847dc
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
xor eax, eax
mov dword [esi + 0x18], 0
test byte [esi + 0x12], 1
mov word [esi + 0x14], ax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x78], eax
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x70], eax
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x28], 0xffffffff
mov dword [esi + 0x2c], 0xffffffff
mov dword [esi + 0x30], 0xffffffff
mov dword [esi + 0x34], 0xffffffff
mov dword [esi + 0x38], 0xffffffff
mov dword [esi + 0x3c], 0xffffffff
mov dword [esi + 0x40], 0xffffffff
mov dword [esi + 0x44], 0xffffffff
mov dword [esi + 0x48], 0xffffffff
mov dword [esi + 0x4c], 0xffffffff
mov dword [esi + 0x50], eax
mov word [esi + 0x54], ax
mov dword [esi + 0x58], 0xffffffff
mov dword [esi + 0x5c], 0xffffffff
mov dword [esi + 0x68], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x7c], eax
je 0x684884
mov eax, 1
inc edi
mov word [esi], ax
mov eax, esi
mov dword [0x444e10], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
inc dword [0x444e0c]
mov eax, 1
mov word [esi], ax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret