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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
xor edx, edx
mov dword [ebp - 8], edi
mov dword [ebp - 4], edx
test edi, edi
je 0x4666b2
test ebx, ebx
je 0x4666b2
cmp dword [ebx + 0x68], edx
jl 0x4666b2
lea ecx, [edi + 0x284]
cmp dword [ecx], edx
je 0x4666b2
lea esi, [edi + 0x758]
cmp dword [esi], edx
je 0x4666b2
mov eax, dword [ebx + 0x20]
inc eax
push edx
mov edx, ebx
mov dword [edi], eax
call fcn.00465e1e
mov edx, dword [ebx + 0x3d8]
pop ecx
test edx, edx
je 0x465fb2
mov ecx, edi
call fcn.0047b380
mov dword [edi + 0x5fc], edi
push 1
mov edx, ebx
mov ecx, esi
call fcn.00465e1e
mov edx, dword [ebx + 0x3dc]
pop ecx
test edx, edx
je 0x465fd5
mov ecx, edi
call fcn.0047b330
mov dword [edi + 0xad0], edi
push 8
add edi, 0x117
lea esi, [ebx + 0x318]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
mov eax, dword [ebx + 0x338]
mov dword [esi + 4], eax
cmp dword [ebx + 0x64], 0
je 0x466023
cmp dword [ebx + 0x68], 0x14a
jge 0x466023
push dword [ebx + 0x68]
lea eax, [esi + 0x137]
push dword [ebx + 0x64]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x68]
add esp, 0xc
mov byte [eax + esi + 0x137], 0
jmp 0x46602a
mov byte [esi + 0x137], 0
cmp dword [ebx + 0x3c4], 0
push 0x20
pop edi
jle 0x46606a
mov edx, dword [ebx + 0x3c0]
mov al, byte [edx + 1]
movzx ecx, al
cmp al, 0x20
jb 0x466048
mov ecx, edi
movzx eax, byte [edx]
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], ecx
mov eax, dword [ebx + 0x3c0]
push ecx
add eax, 2
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.004cc9b0
add esp, 0xc
jmp 0x46606e
and dword [esi + 0x3c], 0
cmp dword [ebx + 0x3cc], 0
jle 0x4660a9
mov ecx, dword [ebx + 0x3c8]
mov al, byte [ecx + 1]
cmp al, 0x20
jae 0x466087
movzx edi, al
movzx eax, byte [ecx]
mov dword [esi + 0x68], eax
mov dword [esi + 0x64], edi
mov eax, dword [ebx + 0x3c8]
add eax, 2
push edi
push eax
lea eax, [esi + 0x44]
push eax
call fcn.004cc9b0
add esp, 0xc
jmp 0x4660ad
and dword [esi + 0x64], 0
cmp dword [ebx], 0
je 0x466183
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x466183
call fcn.0049945a
mov ecx, eax
mov dword [esi + 0x7c], ecx
test ecx, ecx
je 0x46617e
mov eax, dword [ebx + 0x1c]
mov dword [esi + 0x84], eax
mov eax, dword [ebx + 4]
mov dword [esi + 0x80], eax
push dword [ebx + 4]
push dword [ebx]
push ecx
call fcn.004cc9b0
mov eax, dword [ebx + 0x1c]
add esp, 0xc
mov dword [esi + 0xc3c], eax
mov eax, dword [esi + 0xc34]
test eax, eax
jne 0x466113
call fcn.0047adb2
mov dword [esi + 0xc34], eax
jmp 0x46611b
push dword [eax]
call fcn.00477f04
pop ecx
cmp dword [esi + 0xc34], 0
jne 0x466129
push 0xffffffffffffff83
pop edi
jmp 0x466154
mov ecx, dword [ebx + 0x1c]
push 2
pop edx
call fcn.0047a2a1
xor edx, edx
mov ecx, eax
call fcn.00478f75
mov edi, dword [ebp - 4]
mov ecx, eax
mov eax, dword [esi + 0xc34]
test ecx, ecx
mov dword [eax], ecx
mov eax, 0xffffff7a
cmove edi, eax
mov ecx, dword [esi + 0xc38]
call fcn.00473863
push ecx
push dword [ebx + 4]
mov edx, ebx
call fcn.00475976
test eax, eax
mov dword [esi + 0xc38], eax
pop ecx
mov eax, 0xffffff7a
pop ecx
cmove edi, eax
jmp 0x466186
push 0xffffffffffffff83
pop edi
jmp 0x466186
mov edi, dword [ebp - 4]
cmp dword [ebx + 0x60], 0
je 0x4661f7
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4661f7
cmp ecx, 0x200
ja 0x4661f7
call fcn.0049945a
mov dword [esi + 0x6c], eax
test eax, eax
jne 0x4661ac
push 0xffffffffffffff83
pop edi
jmp 0x4661c7
push dword [ebx + 0x14]
push dword [ebx + 0x60]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0x18]
mov dword [esi + 0x74], eax
push dword [esi + 0xc2c]
call fcn.00477f04
xor edx, edx
pop ecx
mov ecx, dword [ebx + 0x18]
inc edx
call fcn.0047a2a1
xor edx, edx
mov ecx, eax
call fcn.00478f75
test eax, eax
mov dword [esi + 0xc2c], eax
mov eax, 0xffffff7a
cmove edi, eax
cmp dword [ebx + 0x308], 0
je 0x466244
mov edx, dword [ebx + 0x310]
test edx, edx
je 0x466244
push dword [esi + 0x94]
lea ecx, [esi + 0x90]
push 0
call fcn.0048dbe2
pop ecx
pop ecx
test eax, eax
jne 0x466241
push dword [ebx + 0x310]
mov eax, dword [esi + 0x90]
push dword [ebx + 0x308]
push dword [eax]
call fcn.004cc9b0
add esp, 0xc
jmp 0x466244
push 0xffffffffffffff83
pop edi
mov eax, dword [ebx + 0x24]
lea ecx, [esi + 0x78]
mov dword [ecx], eax
and byte [ebx + 0x41c], 0xbf
mov eax, dword [ecx]
push ecx
mov dword [esi + 0x88], eax
mov edx, dword [ebx + 0x28]
push 1
call fcn.00465ec0
pop ecx
pop ecx
test eax, eax
jne 0x4666ad
mov edx, dword [ebx + 0x2c]
push ecx
push 4
lea ecx, [esi + 0x78]
call fcn.00465ec0
pop ecx
pop ecx
test eax, eax
jne 0x4666ad
mov al, byte [ebx + 0x41c]
shr al, 4
xor al, byte [esi + 0x99]
and al, 1
xor byte [esi + 0x99], al
movzx eax, byte [ebx + 0x390]
mov dword [esi + 0xe0], eax
mov ax, word [ebx + 0x394]
mov word [esi + 0xe4], ax
mov cl, byte [ebx + 0x41d]
shr cl, 1
xor cl, byte [esi + 0x114]
and cl, 1
xor cl, byte [esi + 0x114]
mov byte [esi + 0x114], cl
mov al, byte [ebx + 0x41e]
shr al, 1
xor al, cl
and al, 2
xor al, cl
mov byte [esi + 0x114], al
cmp dword [ebx + 0x358], 0
je 0x466333
mov ecx, dword [ebx + 0x35c]
test ecx, ecx
jle 0x466333
call fcn.0049945a
mov dword [esi + 0xcc], eax
test eax, eax
je 0x466330
push dword [ebx + 0x35c]
push dword [ebx + 0x358]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x35c]
add esp, 0xc
mov dword [esi + 0xe8], eax
jmp 0x466333
push 0xffffffffffffff83
pop edi
cmp dword [ebx + 0x360], 0
je 0x46637b
mov ecx, dword [ebx + 0x364]
test ecx, ecx
jle 0x46637b
call fcn.0049945a
mov dword [esi + 0xd0], eax
test eax, eax
je 0x466378
push dword [ebx + 0x364]
push dword [ebx + 0x360]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x364]
add esp, 0xc
mov dword [esi + 0xec], eax
jmp 0x46637b
push 0xffffffffffffff83
pop edi
mov cl, byte [esi + 0x114]
xor cl, byte [ebx + 0x41d]
and cl, 4
xor cl, byte [esi + 0x114]
mov byte [esi + 0x114], cl
mov al, byte [ebx + 0x41e]
xor al, cl
and al, 8
xor al, cl
mov byte [esi + 0x114], al
cmp dword [ebx + 0x348], 0
je 0x4663f0
mov ecx, dword [ebx + 0x34c]
test ecx, ecx
jle 0x4663f0
call fcn.0049945a
mov dword [esi + 0xd4], eax
test eax, eax
je 0x4663ed
push dword [ebx + 0x34c]
push dword [ebx + 0x348]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x34c]
add esp, 0xc
mov dword [esi + 0xf0], eax
jmp 0x4663f0
push 0xffffffffffffff83
pop edi
cmp dword [ebx + 0x350], 0
je 0x466438
mov ecx, dword [ebx + 0x354]
test ecx, ecx
jle 0x466438
call fcn.0049945a
mov dword [esi + 0xd8], eax
test eax, eax
je 0x466435
push dword [ebx + 0x354]
push dword [ebx + 0x350]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x354]
add esp, 0xc
mov dword [esi + 0xdc], eax
jmp 0x466438
push 0xffffffffffffff83
pop edi
mov al, byte [ebx + 0x41d]
shr al, 2
xor al, byte [esi + 0x115]
and al, 2
xor byte [esi + 0x115], al
mov al, byte [esi + 0x115]
mov cl, byte [ebx + 0x41e]
shr cl, 2
xor cl, al
and cl, 4
xor cl, al
mov byte [esi + 0x115], cl
mov al, byte [ebx + 0x41c]
shr al, 2
xor al, cl
and al, 8
xor al, cl
mov byte [esi + 0x115], al
mov cl, byte [ebx + 0x41d]
shr cl, 3
xor cl, al
and cl, 0x10
xor cl, al
mov byte [esi + 0x115], cl
mov al, byte [ebx + 0x41e]
shr al, 1
xor al, cl
and al, 0x20
xor al, cl
mov byte [esi + 0x115], al
mov cl, byte [ebx + 0x41c]
shl cl, 4
xor cl, al
and cl, 0x40
xor cl, al
mov byte [esi + 0x115], cl
mov al, byte [ebx + 0x41e]
xor al, cl
and al, 0x7f
xor al, byte [ebx + 0x41e]
mov byte [esi + 0x115], al
cmp dword [ebx + 0x3a4], 0
je 0x46651e
mov ecx, dword [ebx + 0x3a8]
test ecx, ecx
je 0x46651e
call fcn.0049945a
mov dword [esi + 0xb8], eax
test eax, eax
je 0x46651b
push dword [ebx + 0x3a8]
push dword [ebx + 0x3a4]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x3a8]
add esp, 0xc
mov dword [esi + 0xf4], eax
jmp 0x46651e
push 0xffffffffffffff83
pop edi
mov cl, byte [ebx + 0x41c]
mov al, byte [ebx + 0x41c]
shl cl, 6
xor cl, byte [esi + 0x114]
shl al, 6
and cl, 0x7f
xor cl, al
mov byte [esi + 0x114], cl
mov al, byte [ebx + 0x41f]
shr al, 1
xor al, byte [esi + 0x115]
and al, 1
xor byte [esi + 0x115], al
cmp dword [ebx + 0x3ac], 0
je 0x46659f
mov ecx, dword [ebx + 0x3b0]
test ecx, ecx
je 0x46659f
call fcn.0049945a
mov dword [esi + 0xc0], eax
test eax, eax
je 0x46659c
push dword [ebx + 0x3b0]
push dword [ebx + 0x3ac]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x3b0]
add esp, 0xc
mov dword [esi + 0xfc], eax
jmp 0x46659f
push 0xffffffffffffff83
pop edi
mov cl, byte [ebx + 0x41c]
shr cl, 3
xor cl, byte [esi + 0x114]
and cl, 0x10
xor cl, byte [esi + 0x114]
mov byte [esi + 0x114], cl
mov al, byte [ebx + 0x41f]
shl al, 3
xor al, cl
and al, 0x20
xor al, cl
mov byte [esi + 0x114], al
cmp dword [ebx + 0x398], 0
je 0x466649
mov ecx, dword [ebx + 0x39c]
test ecx, ecx
je 0x466649
call fcn.0049945a
mov dword [esi + 0xc4], eax
test eax, eax
je 0x466646
push dword [ebx + 0x39c]
push dword [ebx + 0x398]
push eax
call fcn.004cc9b0
mov al, byte [ebx + 0x396]
add esp, 0xc
mov byte [esi + 0x100], al
mov eax, dword [ebx + 0x39c]
mov dword [esi + 0x104], eax
mov al, byte [ebx + 0x41f]
shl al, 3
xor al, byte [esi + 0x114]
and al, 0x40
xor byte [esi + 0x114], al
mov eax, dword [ebx + 0x3a0]
mov dword [esi + 0x108], eax
jmp 0x466649
push 0xffffffffffffff83
pop edi
mov al, byte [ebx + 0x3e0]
mov byte [esi + 0x10c], al
cmp dword [ebx + 0x3b4], 0
je 0x46669d
mov ecx, dword [ebx + 0x3b8]
test ecx, ecx
je 0x46669d
call fcn.0049945a
mov dword [esi + 0xc8], eax
test eax, eax
je 0x46669a
push dword [ebx + 0x3b8]
push dword [ebx + 0x3b4]
push eax
call fcn.004cc9b0
mov eax, dword [ebx + 0x3b8]
add esp, 0xc
mov dword [esi + 0x110], eax
jmp 0x46669d
push 0xffffffffffffff83
pop edi
mov ecx, dword [ebx + 0x3bc]
mov eax, edi
mov dword [esi + 0x8c], ecx
jmp 0x4666b7
push 0xffffffffffffff83
pop eax
jmp 0x4666b7
mov eax, 0xffffff53
pop edi
pop esi
pop ebx
leave
ret