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

Disassembly:
sub esp, 0x124
push ebp
mov ebp, dword [esp + 0x12c]
mov eax, dword [ebp + 0x328]
mov ecx, dword [ebp + 0x14]
push esi
mov esi, dword [esp + 0x134]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x228]
add eax, esi
push edi
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x224]
push 0
add eax, esi
add ecx, ebp
push ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xc]
push 0x2e
push eax
call dword [eax + 0xc8]
mov edi, eax
mov eax, dword [esp + 0x13c]
cmp eax, 0x20000012
ja 0x68452086
push ebx
mov ebx, 4
je case.0x68451627.2
dec eax
cmp eax, 6
ja case.default.0x68451627
jmp dword [eax*4 + 0x68452094]
push ebx
mov dword [esp + 0x14], 7
mov dword [esp + 0x28], 1
mov dword [esp + 0x40], 0x80000000
mov dword [esp + 0x44], ebx
call fcn.684597a5
push ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x10000005
mov dword [esp + 0x54], ebx
call fcn.684597a5
push ebx
mov dword [esp + 0x5c], eax
mov dword [eax], 1
mov dword [esp + 0x60], 0x10000001
mov dword [esp + 0x64], ebx
call fcn.684597a5
mov edx, dword [ebp + 0x14]
add esp, 0xc
push 0
add edx, ebp
push edx
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0xc]
push 0x37
push eax
call dword [eax + 0xc8]
test eax, eax
je 0x684516af
mov eax, dword [esi + 0x250]
mov ecx, dword [esp + 0x5c]
mov dword [ecx], eax
jmp 0x684516b9
mov edx, dword [esp + 0x5c]
mov dword [edx], 0
push ebx
mov dword [esp + 0x64], 0x10000002
mov dword [esp + 0x68], ebx
call fcn.684597a5
xor ecx, ecx
cmp edi, 2
setne cl
push ebx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], 0x10000000
mov dword [esp + 0x78], ebx
dec ecx
and ecx, 2
mov dword [eax], ecx
call fcn.684597a5
push ebx
mov dword [esp + 0x80], eax
mov dword [eax], 0
mov dword [esp + 0x84], 0x10000003
mov dword [esp + 0x88], ebx
call fcn.684597a5
push ebx
mov dword [esp + 0x90], eax
mov dword [eax], 1
mov dword [esp + 0x94], 0x80000001
mov dword [esp + 0x98], ebx
call fcn.684597a5
mov edx, dword [esp + 0x54]
mov dword [eax], 0xdeadbeef
add esp, 0x10
mov dword [esp + 0x8c], eax
mov dword [edx], 0x54
jmp 0x68451c8e
xor eax, eax
cmp edi, 2
sete al
push ebx
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 3
mov dword [esp + 0x40], 0x80000000
mov dword [esp + 0x44], ebx
add eax, 0xf
mov dword [esp + 0x14], eax
call fcn.684597a5
push ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x20000005
mov dword [esp + 0x54], ebx
call fcn.684597a5
push ebx
mov dword [esp + 0x5c], eax
mov dword [eax], 1
mov dword [esp + 0x60], 0x20000006
mov dword [esp + 0x64], ebx
call fcn.684597a5
mov ecx, dword [ebp + 0x14]
add esp, 0xc
push 0
add ecx, ebp
push ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
push 0x10
push eax
mov dword [esp + 0x6c], esi
call dword [eax + 0xc8]
push ebx
mov dword [esi], eax
mov dword [esp + 0x64], 0x20000000
mov dword [esp + 0x68], ebx
call fcn.684597a5
mov edx, dword [ebp + 0x14]
add esp, 4
push 0
add edx, ebp
push edx
mov esi, eax
mov eax, dword [ebp + 0xc]
push 0x33
push eax
mov dword [esp + 0x78], esi
call dword [eax + 0xc8]
mov dword [esi], eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push 0
add ecx, ebp
push ecx
push 0x33
push eax
call dword [eax + 0xc8]
cmp eax, 3
jne 0x6845182a
mov dword [esi], 0
push ebx
mov dword [esp + 0x70], 0x20000007
mov dword [esp + 0x74], ebx
call fcn.684597a5
push ebx
mov dword [esp + 0x7c], eax
mov dword [eax], 1
mov dword [esp + 0x80], 0x20000008
mov dword [esp + 0x84], ebx
call fcn.684597a5
mov edx, dword [ebp + 0x14]
add esp, 8
push 0
add edx, ebp
push edx
mov esi, eax
mov eax, dword [ebp + 0xc]
push 0x15
push eax
mov dword [esp + 0x90], esi
call dword [eax + 0xc8]
push ebx
mov dword [esi], eax
mov dword [esp + 0x88], 0x20000009
mov dword [esp + 0x8c], ebx
call fcn.684597a5
mov ecx, dword [ebp + 0x14]
add esp, 4
push 0
add ecx, ebp
push ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
push 0x16
push eax
mov dword [esp + 0x9c], esi
call dword [eax + 0xc8]
push ebx
mov dword [esi], eax
mov dword [esp + 0x94], 0x2000000d
mov dword [esp + 0x98], ebx
call fcn.684597a5
mov edx, dword [ebp + 0x2ec]
mov ecx, dword [esp + 0x1c]
imul edx, dword [ecx + 0x28]
add edx, 0x7f
and edx, 0xffffff80
push ebx
mov dword [esp + 0xa0], eax
mov dword [eax], edx
mov dword [esp + 0xa4], 0x2000000e
mov dword [esp + 0xa8], ebx
call fcn.684597a5
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp + 0xc]
add esp, 8
push 0
add edx, ebp
push edx
push 0xc
mov edi, eax
push esi
mov dword [esp + 0xb4], edi
call dword [esi + 0xc8]
mov ecx, dword [ebp + 0x2e8]
sub ecx, eax
mov eax, dword [ebp + 0x14]
push 0
add eax, ebp
push eax
push 0xe
push esi
mov dword [esp + 0x30], ecx
call dword [esi + 0xc8]
mov ecx, dword [esp + 0x20]
sub ecx, eax
push ebx
mov dword [edi], ecx
mov dword [esp + 0xac], 0x2000000a
mov dword [esp + 0xb0], ebx
call fcn.684597a5
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x28]
push ebx
mov dword [esp + 0xb8], eax
mov dword [eax], edx
mov dword [esp + 0xbc], 0x2000000f
mov dword [esp + 0xc0], ebx
call fcn.684597a5
mov esi, dword [ebp + 0xc]
add esp, 8
mov edi, eax
mov eax, dword [ebp + 0x14]
push 0
add eax, ebp
push eax
push 0xb
push esi
mov dword [esp + 0xcc], edi
call dword [esi + 0xc8]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x2e4]
push 0
add edx, ebp
push edx
push 0xd
sub ecx, eax
push esi
mov dword [esp + 0x30], ecx
call dword [esi + 0xc8]
mov ecx, dword [esp + 0x20]
sub ecx, eax
push ebx
mov dword [edi], ecx
mov dword [esp + 0xc4], 0x20000010
mov dword [esp + 0xc8], ebx
call fcn.684597a5
mov esi, dword [ebp + 0xc]
add esp, 4
mov edi, eax
mov eax, dword [ebp + 0x14]
push 0
add eax, ebp
push eax
push 0xc
push esi
mov dword [esp + 0xd8], edi
call dword [esi + 0xc8]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x2e8]
push 0
add edx, ebp
push edx
push 0xe
sub ecx, eax
push esi
mov dword [esp + 0x30], ecx
call dword [esi + 0xc8]
mov ecx, dword [esp + 0x20]
sub ecx, eax
push ebx
mov dword [edi], ecx
mov dword [esp + 0xd0], 0x20000011
mov dword [esp + 0xd4], ebx
call fcn.684597a5
mov esi, dword [esp + 0x140]
mov edx, dword [esi + 0x5c0]
xor ecx, ecx
add esp, 4
test edx, edx
mov edx, dword [esp + 0x2c]
setne cl
mov dword [esp + 0xd4], eax
mov dword [eax], ecx
mov eax, dword [edx + 0x30]
cmp eax, 1
jne 0x68451aad
mov ecx, dword [esi + 0x310]
test ecx, ecx
je 0x68451aaa
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
test edx, edx
je 0x68451aaa
push ebx
mov dword [esp + 0xdc], 0x20000012
mov dword [esp + 0xe0], ebx
call fcn.684597a5
mov dword [eax], 0
jmp 0x68451b78
cmp eax, 1
mov edi, dword [esp + 0x18]
jle 0x68451af0
cmp dword [edi], 0
jne 0x68451af0
mov eax, dword [esi + 0x310]
test eax, eax
je 0x68451af0
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
test eax, eax
je 0x68451af0
push ebx
mov dword [esp + 0xdc], 0x20000012
mov dword [esp + 0xe0], ebx
call fcn.684597a5
mov dword [eax], 1
jmp 0x68451b78
cmp dword [edi], 1
jne 0x68451b82
mov eax, dword [edi + 4]
cmp eax, 1
jne 0x68451b3d
mov ecx, dword [esi + 0x310]
test ecx, ecx
je 0x68451b3d
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 8]
test edx, edx
je 0x68451b3d
push ebx
mov dword [esp + 0xdc], 0x20000012
mov dword [esp + 0xe0], ebx
call fcn.684597a5
mov dword [eax], 2
mov dword [edi + 4], 0
jmp 0x68451b78
test eax, eax
jne 0x68451b82
mov eax, dword [esi + 0x310]
test eax, eax
je 0x68451bf9
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
test eax, eax
je 0x68451b82
push ebx
mov dword [esp + 0xdc], 0x20000012
mov dword [esp + 0xe0], ebx
call fcn.684597a5
mov dword [eax], 3
add esp, 4
mov dword [esp + 0xe0], eax
mov eax, dword [esi + 0x310]
test eax, eax
je 0x68451bf9
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x68451bf9
mov ecx, dword [esp + 0xdc]
push ecx
mov dword [esp + 0xe8], 0x20000001
mov dword [esp + 0xec], ebx
call fcn.684597a5
mov edx, dword [ebp + 0x14]
add esp, 4
push 0
add edx, ebp
push edx
mov esi, eax
mov eax, dword [ebp + 0xc]
push 1
push eax
mov dword [esp + 0xfc], esi
call dword [eax + 0xc8]
push ebx
mov dword [esi], eax
mov dword [esp + 0xf4], 0x80000001
mov dword [esp + 0xf8], ebx
call fcn.684597a5
mov dword [esp + 0xfc], eax
jmp 0x68451c52
push ebx
mov dword [esp + 0xdc], 0x20000001
mov dword [esp + 0xe0], ebx
call fcn.684597a5
mov ecx, dword [ebp + 0x14]
add esp, 4
push 0
add ecx, ebp
push ecx
mov esi, eax
mov eax, dword [ebp + 0xc]
push 1
push eax
mov dword [esp + 0xf0], esi
call dword [eax + 0xc8]
push ebx
mov dword [esi], eax
mov dword [esp + 0xe8], 0x80000001
mov dword [esp + 0xec], ebx
call fcn.684597a5
mov dword [esp + 0xf0], eax
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
mov dword [eax], 0xdeadbeef
jbe 0x68451c84
lea eax, [esp + 0x40]
jmp 0x68451c70
mov edx, dword [eax]
mov esi, dword [esp + 0x1c]
lea edx, [esi + edx + 8]
add eax, 0xc
dec ecx
mov dword [esp + 0x1c], edx
jne 0x68451c70
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x24]
mov ecx, eax
mov edx, eax
shr edx, 0x10
and ecx, 0xff0000
or ecx, edx
mov edx, eax
shl edx, 0x10
and eax, 0xff00
or edx, eax
shr ecx, 8
shl edx, 8
or ecx, edx
mov dword [esp + 0x130], ecx
mov eax, edi
and eax, 0xff0000
mov ecx, edi
shr ecx, 0x10
or eax, ecx
mov edx, edi
shl edx, 0x10
mov ecx, edi
and ecx, 0xff00
or edx, ecx
shr eax, 8
shl edx, 8
or eax, edx
mov edx, dword [ebp + 0xc]
push 8
lea ecx, [esp + 0x130]
push ecx
mov dword [esp + 0x134], eax
mov eax, dword [edx + 0x6c]
push ebp
call dword [eax]
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jbe 0x68452041
mov edx, eax
lea esi, [esp + 0x3c]
mov dword [esp + 0x1c], edx
mov eax, dword [esi]
movzx edx, byte [esi + 3]
mov ecx, eax
shl ecx, 0x10
cmp eax, 0x40000002
mov dword [esp + 0x14], eax
jne 0x68451f79
and eax, 0xff00
or ecx, eax
xor eax, eax
mov ah, byte [esp + 0x16]
shl ecx, 8
or ecx, edx
xor edx, edx
push 8
or ecx, eax
mov eax, dword [esi + 4]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], eax
mov dh, byte [esp + 0x1a]
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, edx
or ecx, eax
mov dword [esp + 0x38], ecx
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
lea eax, [esp + 0x34]
push eax
push ebp
call dword [edx]
mov al, byte [0x68464720]
add esp, 0xc
cmp al, 1
je 0x68451f55
cmp byte [0x68464721], 1
je 0x68451f55
mov ecx, dword [ebp + 0xc]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx + 0x6c]
mov ecx, dword [eax + 0x5c]
mov eax, dword [eax + 0x7c]
push ecx
push eax
push ebp
call dword [edx]
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax + 0x5c], 0
jmp 0x68452023
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], ebx
jmp 0x68451c8e
mov esi, dword [esp + 0x144]
cmp esi, 2
mov dword [esp + 0x1c], 0
jne 0x68451df6
mov dword [esp + 0x10], 3
jmp 0x68451e04
xor edx, edx
cmp esi, ebx
setne dl
add edx, 3
mov dword [esp + 0x10], edx
push ebx
mov dword [esp + 0x28], 5
mov dword [esp + 0x40], 0x80000000
mov dword [esp + 0x44], ebx
call fcn.684597a5
push ebx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], 0x40000000
mov dword [esp + 0x54], ebx
call fcn.684597a5
add esp, 8
cmp esi, 1
mov dword [esp + 0x50], eax
mov dword [eax], 0
jne 0x68451ebc
push 0x14
mov dword [esp + 0x58], 0x40000002
mov dword [esp + 0x5c], 0x14
call fcn.684597a5
mov edx, dword [esp + 0x1c]
mov esi, dword [edx + 0x7c]
mov ecx, 5
mov edi, eax
add esp, 4
mov dword [esp + 0x5c], eax
rep movsd dword es:[edi], dword [esi]
push ebx
mov dword [esp + 0x64], 0x80000001
mov dword [esp + 0x68], ebx
call fcn.684597a5
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x14]
add esp, 4
test ecx, ecx
mov dword [eax], 0xdeadbeef
jbe 0x68451c84
lea eax, [esp + 0x40]
mov edx, dword [eax]
mov esi, dword [esp + 0x1c]
lea edx, [esi + edx + 8]
add eax, 0xc
dec ecx
mov dword [esp + 0x1c], edx
jne 0x68451ea3
jmp 0x68451c84
cmp esi, 3
push ebx
mov dword [esp + 0x5c], ebx
jne 0x68451ee2
mov dword [esp + 0x58], 0x40000003
call fcn.684597a5
add esp, 4
mov dword [esp + 0x5c], eax
mov dword [eax], 1
jmp 0x68451e74
mov dword [esp + 0x58], 0x80000001
call fcn.684597a5
mov dword [esp + 0x60], eax
jmp 0x68451e8a
mov eax, dword [esp + 0x144]
mov ebx, 4
cmp eax, ebx
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 7
je 0x68451f4b
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x5c]
jmp 0x68451c92
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 6
jmp 0x68451c8e
mov dword [esp + 0x10], 0
mov dword [esp + 0x24], 2
jmp 0x68451c8e
mov eax, 0x6e
jmp 0x68451c92
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
push 0x6843c1c0
push 0x14
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x24]
add esp, 0xc
mov dword [eax + 0x5c], 0
jmp 0x68452023
mov edi, dword [esi + 4]
and eax, 0xff00
or ecx, eax
xor eax, eax
mov ah, byte [esp + 0x16]
shl ecx, 8
or ecx, edx
mov dword [esp + 0x14], edi
mov edx, edi
and edx, 0xff00
push edi
or ecx, eax
mov dword [esp + 0x34], ecx
xor eax, eax
mov ah, byte [esp + 0x1a]
mov ecx, edi
shl ecx, 0x10
or ecx, edx
movzx edx, byte [esi + 7]
shl ecx, 8
or ecx, eax
or ecx, edx
mov dword [esp + 0x38], ecx
call fcn.684597a5
mov edx, dword [esi + 8]
mov dword [esp + 0x3c], eax
mov ecx, dword [edx]
movzx edx, byte [edx + 3]
mov eax, ecx
mov dword [esp + 0x30], ecx
shl eax, 0x10
and ecx, 0xff00
or eax, ecx
xor ecx, ecx
mov ch, byte [esp + 0x32]
shl eax, 8
push 8
or eax, ecx
mov ecx, dword [esp + 0x40]
or eax, edx
mov dword [ecx], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x6c]
lea ecx, [esp + 0x38]
push ecx
push ebp
call dword [eax]
mov ecx, dword [esp + 0x48]
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x6c]
push edi
push ecx
push ebp
call dword [eax]
mov edx, dword [esp + 0x54]
push edx
call fcn.6845968d
mov edi, dword [esp + 0x44]
add esp, 0x20
mov eax, dword [esi + 8]
push eax
call fcn.6845968d
mov eax, dword [esp + 0x20]
add esp, 4
add esi, 0xc
dec eax
mov dword [esp + 0x1c], eax
jne 0x68451d18
cmp edi, 7
jne case.default.0x68451627
cmp dword [esp + 0x144], ebx
jne 0x68452066
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
push 0x6843c150
push 0x6e
push ebp
call dword [edx + 4]
mov esi, dword [esp + 0x24]
jmp 0x6845207b
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x18]
mov edx, dword [esi + 0x5c]
mov ecx, dword [eax + 0x6c]
mov eax, dword [esi + 0x7c]
push edx
push eax
push ebp
call dword [ecx]
add esp, 0xc
mov dword [esi + 0x5c], 0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x124
ret 0x10