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

Disassembly:
sub esp, 0x80
push ebp
push esi
mov esi, dword [esp + 0x8c]
push edi
mov ecx, 6
xor eax, eax
lea edi, [esp + 0x50]
mov ebp, dword [esp + 0xa8]
mov edx, dword [esi + 0x14]
rep stosd dword es:[edi], eax
mov ecx, 6
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
xor edi, edi
mov dword [esp + 0x14], edx
cmp ebp, edi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x10], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], edi
jne 0x46838c
lea ebp, [esp + 0x50]
mov eax, dword [esp + 0x98]
cmp eax, edi
je 0x4683b5
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [eax + 4]
mov eax, dword [eax]
push ebp
push ecx
push eax
push ebp
push edx
call fcn.0047b1b0
add esp, 0x18
cmp eax, edi
jne 0x468827
mov eax, dword [esp + 0x94]
mov dword [esp + 0x20], edi
cmp eax, edi
mov dword [esp + 0x24], edi
jne 0x4683dd
mov eax, dword [esi + 0x250]
mov dword [esp + 0xc], 1
test eax, 0x20000000
jne 0x4683e1
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0xa4]
push ebx
mov ebx, dword [esp + 0xa4]
test ah, 0x60
je 0x46851c
test ah, 0x20
je 0x468408
or ah, 0x40
mov dword [esp + 0xa8], eax
cmp dword [esp + 0x10], edi
je 0x46843d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x98]
push edi
push ecx
push edi
push edx
call fcn.00425cc0
mov esi, eax
add esp, 0x10
cmp esi, edi
jne 0x46869f
mov esi, dword [esp + 0x94]
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x30]
lea edx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x28]
push edx
mov edx, dword [esp + 0xa0]
push ecx
push ebx
push eax
push edx
push esi
call fcn.00489590
mov esi, eax
add esp, 0x1c
cmp esi, edi
je 0x468478
mov eax, dword [esp + 0xa8]
and ah, 0xbf
mov dword [esp + 0xa8], eax
jmp 0x4684bf
mov eax, dword [esp + 0x28]
cmp eax, edi
jne 0x46849c
mov ecx, dword [esp + 0xa8]
test ch, 0x20
je 0x46849c
mov eax, ecx
xor esi, esi
and ah, 0xbf
mov dword [esp + 0xa8], eax
jmp 0x4684bf
mov ecx, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x28]
push eax
push ecx
call fcn.0046c0d0
mov esi, eax
add esp, 0xc
cmp esi, edi
je 0x4684bf
cmp esi, 0x10
jne 0x4684bf
xor esi, esi
cmp dword [esp + 0x10], edi
je 0x4684ef
mov edx, dword [esp + 0x98]
push 0x100
push edx
call fcn.004264a0
add esp, 8
cmp eax, edi
je 0x4684e4
cmp esi, edi
jne 0x4684e4
mov esi, eax
xor eax, eax
mov dword [esp + 0x98], eax
jmp 0x4684f6
mov eax, dword [esp + 0x98]
cmp esi, edi
jne 0x4686a6
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xa8]
test ah, 0x20
jne 0x468722
mov esi, dword [esp + 0x94]
mov ecx, dword [esi]
mov edx, dword [ebx]
cmp edx, edi
lea eax, [ecx - 0x1a]
je 0x468536
imul edx, eax
mov eax, 0x51eb851f
mul edx
shr edx, 5
mov eax, edx
sub ecx, eax
mov eax, dword [ebx + 8]
sub ecx, 0x1a
cmp eax, edi
mov dword [esp + 0x2c], ecx
jne 0x46854d
mov dword [ebx + 8], 0xffffffff
mov eax, dword [ebp + 4]
mov dword [esp + 0x20], edi
mov ecx, 9
mov esi, ebx
lea edi, [esp + 0x6c]
lea edx, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x44]
push ecx
mov ecx, dword [ebp]
push edx
push eax
lea edx, [esp + 0x48]
push ecx
push edx
push edi
call fcn.0047b1b0
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x4686f4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4685d5
lea eax, [esp + 0x98]
push esi
push eax
push esi
push edi
call fcn.00425cc0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4686f4
mov eax, dword [ebx + 4]
test eax, eax
je 0x4685d5
mov ecx, dword [esp + 0x98]
push 0x1d
push eax
push ecx
call fcn.004270a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x46869d
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
lea edx, [esp + 0x1c]
push 0
push edx
push eax
push ecx
call fcn.0041b5f0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x46869d
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0xa4]
lea eax, [esp + 0x3c]
push ebx
push eax
mov eax, dword [esp + 0x28]
push ecx
push edx
push ebp
push eax
call fcn.00468840
mov esi, eax
add esp, 0x1c
cmp esi, 0xffff86ed
jne 0x46867b
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46867b
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x80]
mov eax, dword [esp + 0x8c]
mov esi, dword [ebx + 0x18]
mov dword [ebx + 0xc], ecx
lea ecx, [ebp + 8]
mov dword [ebx + 0x14], edx
mov edx, dword [esp + 0x40]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 0x3c]
push ecx
push ebp
push edx
push eax
inc esi
push ebp
push edi
mov dword [esp + 0x38], 1
mov dword [ebx + 0x18], esi
call fcn.0047b1b0
add esp, 0x18
mov esi, eax
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0045f1b0
add esp, 4
test eax, eax
je 0x46869d
test esi, esi
jne 0x46869d
mov esi, eax
mov eax, dword [esp + 0x98]
xor edi, edi
jmp 0x4686a6
xor edi, edi
mov eax, dword [esp + 0x98]
cmp dword [esp + 0x10], edi
je 0x4686e4
cmp eax, edi
je 0x4686e4
cmp esi, edi
jne 0x4686ca
cmp dword [esp + 0x20], edi
jne 0x4686ca
push 0x100
push eax
call fcn.004264a0
add esp, 8
jmp 0x4686db
push eax
call fcn.00426930
add esp, 4
cmp eax, edi
je 0x4686dd
cmp esi, edi
jne 0x4686dd
mov esi, eax
mov dword [esp + 0x98], edi
cmp esi, edi
jne 0x4686f6
cmp dword [esp + 0x14], edi
je 0x46854d
jmp 0x4686f6
xor edi, edi
mov eax, dword [esp + 0x54]
cmp eax, edi
je 0x46870c
mov edx, dword [esp + 0x18]
push eax
push edx
call fcn.00410cc0
add esp, 8
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x468722
push eax
mov eax, dword [esp + 0x1c]
push eax
call fcn.00410cc0
add esp, 8
mov eax, dword [esp + 0xa8]
test ah, 0x40
je 0x468824
cmp esi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0x14], 1
jne 0x4687a7
test ah, 0x20
jne 0x4687a7
mov ebp, dword [esp + 0x94]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x30]
mov eax, dword [ebp + 0x1c]
push edi
push edx
push eax
call fcn.00453820
add esp, 0x10
test eax, eax
jne 0x46878b
mov eax, dword [esp + 0x20]
mov edx, dword [ebp + 0x1c]
xor ecx, ecx
push edi
mov esi, dword [eax + 0x1c]
push eax
cmp esi, edi
push edx
sete cl
mov dword [esp + 0x20], ecx
call fcn.00453170
add esp, 0xc
mov esi, eax
cmp dword [esp + 0x14], edi
jne 0x4687ae
mov eax, dword [esp + 0x98]
push ebx
push eax
push ebp
call fcn.0046bcc0
add esp, 0xc
mov esi, eax
jmp 0x4687ae
mov ebp, dword [esp + 0x94]
mov eax, dword [esp + 0x24]
cmp eax, edi
je 0x4687c4
mov ecx, dword [esp + 0x18]
push eax
push ecx
call fcn.00410cc0
add esp, 8
mov ecx, dword [ebp + 0x1c]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x30]
push edi
push eax
push ecx
call fcn.00453820
add esp, 0x10
cmp eax, edi
jne 0x46880d
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x30]
push edi
push eax
mov ecx, dword [eax + 0x20]
sub edx, ecx
mov ecx, dword [esp + 0x3c]
add edx, ecx
mov dword [ebx + 0x1c], edx
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00453170
add esp, 0xc
cmp eax, edi
je 0x468813
cmp esi, edi
jne 0x468813
jmp 0x468811
cmp esi, edi
jne 0x468813
mov esi, eax
mov ecx, dword [esp + 0x98]
push ecx
push ebp
call fcn.0046c120
add esp, 8
mov eax, esi
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x80
ret