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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x456290
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x46ae30]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x418f21
dec eax
mov dword [edi + 0x7c], eax
test eax, eax
jg 0x418f21
push 0xc
call fcn.00424cca
mov eax, dword [edi + 0x78]
test eax, eax
jle 0x418f34
dec eax
mov dword [edi + 0x78], eax
test eax, eax
jg 0x418f34
push 0xb
jmp 0x418f1c
mov esi, dword [ebp + 8]
xor bl, bl
mov dword [esp + 0x10], ebx
test esi, esi
je 0x4192fd
mov dword [esp + 0x18], 0xa
mov dword [esp + 0x1c], 0xd
mov ecx, dword [esi + 4]
xor edx, edx
lea eax, [ecx - 1]
inc edx
cmp eax, 0x14
ja case.default.0x418f67
jmp dword [eax*4 + 0x41933d]
mov eax, dword [edi + 0x60]
and eax, 0x101
cmp eax, edx
je 0x419324
test dword [edi + 0x60], 0x100
jne 0x418f92
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je case.0x418f67.1
mov eax, dword [edi]
push 0xa
pop ecx
cmp word [eax - 2], cx
setne bl
mov dword [esp + 0x10], ebx
jmp case.0x418f67.1
test byte [edi + 0x60], 2
jne 0x418fc4
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je case.0x418f67.1
push 0xa
pop ecx
cmp word [eax], cx
je case.0x418f67.1
mov bl, dl
jmp 0x418f9e
test byte [edi + 0x60], 4
je 0x418fd5
mov eax, dword [edi]
cmp eax, dword [edi + 0x4c]
je 0x418fe2
test byte [edi + 0x60], 8
je 0x418fe6
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
jne 0x418fe6
xor cl, cl
jmp 0x41900a
push 0xffffffffffffffff
push dword [edi]
mov ecx, edi
call fcn.00419939
push 0
push dword [edi]
mov ecx, edi
mov bl, al
call fcn.00419939
cmp bl, al
mov ebx, dword [esp + 0x10]
setne cl
xor edx, edx
inc edx
mov al, byte [esi + 8]
and al, dl
cmp cl, al
jne case.0x418f67.1
jmp 0x418fc4
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x418fc4
movzx ecx, word [eax]
cmp cx, word [esp + 0x18]
je 0x418fc4
cmp cx, word [esp + 0x1c]
je 0x418fc4
add eax, 2
mov dword [edi], eax
jmp case.0x418f67.1
mov eax, dword [edi + 0x60]
mov edx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
lea eax, [edx + ecx*2]
push dword [edi + 0x70]
mov ecx, dword [edi]
push eax
push edx
mov edx, dword [edi + 0x50]
call fcn.00419391
add esp, 0x14
cmp eax, dword [edi]
jne 0x419034
xor ebx, ebx
inc ebx
jmp 0x418f9e
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x419324
push esi
mov ecx, edi
call fcn.00419991
test al, al
je 0x419328
xor bl, bl
mov dword [esp + 0x10], ebx
jmp 0x4192eb
mov eax, dword [edi]
mov dword [esp + 0x24], eax
mov dword [esp + 0x40], eax
cmp ecx, 0xb
lea eax, [edi + 4]
push eax
lea ecx, [esp + 0x48]
sete bl
call fcn.00406ec1
mov eax, dword [edi + 0x10]
mov dword [esp + 0x20], eax
mov dword [esp + 0x50], eax
and dword [esp + 0x60], 0
push dword [esi + 0x14]
mov ecx, edi
call fcn.00418ed9
cmp al, bl
jne 0x4190f6
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
mov dword [edi], eax
mov dword [edi + 0x10], ecx
lea ecx, [esp + 0x44]
push ecx
lea ecx, [edi + 4]
call fcn.00405e7d
mov byte [esp + 0x10], 1
jmp 0x4190fc
mov eax, dword [esp + 0x24]
mov dword [edi], eax
or dword [esp + 0x60], 0xffffffff
and dword [esp + 0x50], 0
lea ecx, [esp + 0x44]
call fcn.00405491
mov ebx, dword [esp + 0x10]
jmp case.0x418f67.1
mov edx, dword [esi + 0x14]
mov ecx, dword [edi + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8], eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], eax
cmp dword [esi + 0x14], eax
jae case.0x418f67.1
mov ebx, dword [esp + 0x24]
lea eax, [edi + 4]
mov edi, dword [ebp + 8]
mov dword [esp + 0x20], eax
dec ebx
push ebx
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.00405af7
mov ecx, dword [eax + 4]
mov esi, dword [eax]
mov eax, dword [esp + 0x20]
xor edx, edx
inc edx
shl edx, cl
not edx
and dword [esi], edx
cmp dword [edi + 0x14], ebx
jb 0x419141
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
jmp case.0x418f67.1
cmp byte [edi + 0x65], 0
mov eax, dword [esi + 0x14]
mov dword [esp + 0x24], eax
jne 0x41918d
cmp dword [eax + 0x14], 0
je case.0x418f67.1
push dword [eax + 0x14]
lea eax, [esp + 0x34]
lea ecx, [edi + 4]
push eax
call fcn.00405af7
mov ecx, dword [eax + 4]
mov esi, dword [eax]
xor edx, edx
inc edx
shl edx, cl
or dword [esi], edx
mov edx, dword [esp + 0x24]
mov ecx, dword [edi + 0x14]
mov edx, dword [edx + 0x14]
mov eax, dword [edi]
mov dword [ecx + edx*8 + 4], eax
jmp 0x41916e
mov eax, dword [esi + 0x14]
push eax
lea eax, [esp + 0x3c]
lea ecx, [edi + 4]
push eax
call fcn.00405af7
mov ecx, dword [eax + 4]
mov eax, dword [eax]
xor edx, edx
inc edx
shl edx, cl
test dword [eax], edx
je case.0x418f67.1
mov eax, dword [edi + 0x14]
mov edx, dword [esi + 0x14]
mov ecx, dword [edi]
mov edi, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
mov edx, edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], eax
cmp edx, eax
je 0x41922e
mov eax, dword [edi + 0x60]
and eax, 0x80
setne al
movzx eax, al
push eax
push dword [edi + 0x5c]
push dword [edi + 0x70]
push dword [esp + 0x2c]
push edx
mov edx, dword [edi + 0x50]
call fcn.00419391
mov ecx, eax
add esp, 0x14
cmp ecx, dword [edi]
je 0x41932d
mov dword [edi], ecx
jmp case.0x418f67.1
push esi
mov ecx, edi
call fcn.004196dd
movzx ebx, bl
test al, al
push 1
pop eax
cmove ebx, eax
jmp 0x4192bf
mov eax, dword [esi + 8]
shr eax, 1
and al, dl
movzx eax, al
push 0
push eax
push esi
mov ecx, edi
call fcn.004197ac
mov edx, dword [esp + 0x10]
movzx ebx, dl
jmp 0x419240
mov ecx, dword [esi + 0x14]
mov edx, dword [edi + 0x40]
cmp dword [ecx + 0x24], 0
mov eax, dword [ecx + 0x20]
jne case.0x418f67.12
push dword [edx + eax*8]
mov eax, dword [ecx + 8]
shr eax, 1
xor ebx, ebx
inc ebx
and al, bl
movzx eax, al
push eax
push ecx
mov ecx, edi
call fcn.004197ac
mov edx, dword [esp + 0x10]
movzx ecx, dl
test al, al
cmove ecx, ebx
mov bl, cl
jmp 0x4192bf
test dword [edi + 0x60], 0x2020
je 0x4192b0
mov eax, dword [edi + 0x4c]
cmp eax, dword [edi]
je 0x4192bd
cmp byte [edi + 0x74], 0
je 0x4192c5
mov eax, dword [edi]
cmp eax, dword [edi + 0x50]
je 0x4192c5
mov bl, dl
mov dword [esp + 0x10], ebx
jmp case.0x418f67.12
cmp byte [edi + 0x64], 0
je 0x4192d6
mov ecx, edi
call fcn.00407643
test al, al
je case.0x418f67.12
push edi
lea ecx, [edi + 0x20]
call fcn.004059f8
xor eax, eax
inc eax
mov byte [edi + 0x64], al
xor esi, esi
test bl, bl
jne 0x4192fd
test esi, esi
je 0x4192fd
mov esi, dword [esi + 0xc]
mov dword [ebp + 8], esi
test esi, esi
jne 0x418f55
mov eax, dword [edi + 0x7c]
test eax, eax
jle 0x419308
inc eax
mov dword [edi + 0x7c], eax
xor eax, eax
test bl, bl
sete al
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov bl, dl
jmp 0x4192fd
xor edx, edx
inc edx
jmp 0x419324
xor eax, eax
lea ebx, [eax + 1]
jmp 0x4192fd
push 0xd
pop eax
push eax
jmp 0x418f1c