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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [ebp + 8]
and dword [esi + 4], 0
and dword [esi + 0x38], 0
push edi
lea ecx, [ebp - 0x14]
call fcn.0046fbb3
lea ecx, [ebp - 0x20]
call fcn.0046fbb3
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebx + 4]
test edi, edi
jne 0x464766
push dword [ebp + 0xc]
call fcn.004645c6
mov bl, 1
push dword [ebp - 0x20]
call fcn.004af571
push dword [ebp - 0x14]
call fcn.004af571
pop ecx
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret 0xc
xor edx, edx
mov eax, ebx
call fcn.0046fd83
cmp word [eax], 0x5b
jne 0x46498d
lea edx, [edi - 1]
mov eax, ebx
call fcn.0046fd83
cmp word [eax], 0x5d
jne 0x46498d
add edi, 0xfffffffe
push edi
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 8], edi
push ebx
lea edi, [ebp - 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
call fcn.004645f0
test al, al
je 0x46498d
push 0x46c328
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x4647d4
mov eax, dword [ebp + 8]
or dword [eax + 4], 1
add eax, 8
jmp 0x46494a
push 0x46c334
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x4647f5
mov eax, dword [ebp + 8]
or dword [eax + 4], 8
add eax, 0x14
jmp 0x46494a
push 0x46c344
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x46482f
mov eax, dword [ebp + 8]
or dword [eax + 4], 0x10
lea esi, [eax + 0x4c]
call fcn.004673d8
lea eax, [ebp - 0x20]
mov ecx, esi
call fcn.0046742b
test eax, eax
je 0x46496a
xor bl, bl
jmp 0x46474b
push 0x46c35c
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x464859
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x20
call fcn.004b154d
pop ecx
mov dword [esi + 0x2c], eax
jmp 0x46496a
push 0x46c364
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x464883
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x40
call fcn.004b154d
pop ecx
mov dword [esi + 0x3c], eax
jmp 0x46496a
push 0x46c368
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x4648b0
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x80
call fcn.004b154d
pop ecx
mov dword [esi + 0x40], eax
jmp 0x46496a
push 0x46c36c
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x4648dd
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x100
call fcn.004b154d
pop ecx
mov dword [esi + 0x44], eax
jmp 0x46496a
push 0x46c370
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x464907
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 0x200
call fcn.004b154d
pop ecx
mov dword [esi + 0x48], eax
jmp 0x46496a
push 0x46c374
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x46492e
mov esi, dword [ebp + 8]
push dword [ebp - 0x20]
or dword [esi + 4], 2
call fcn.004b154d
pop ecx
mov dword [esi + 0x30], eax
jmp 0x46496a
push 0x46c388
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x464954
mov eax, dword [ebp + 8]
or dword [eax + 4], 4
add eax, 0x20
lea ebx, [ebp - 0x20]
call fcn.0046fd94
jmp 0x46496a
push 0x46bf80
lea esi, [ebp - 0x14]
call fcn.0046ff30
test al, al
pop ecx
je 0x464828
push dword [ebp - 8]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0x10]
lea edi, [ebp - 4]
lea eax, [ebp - 0x14]
call fcn.004645f0
test al, al
jne 0x4647b3
mov ebx, dword [ebp + 0x10]
mov esi, dword [ebp + 8]
cmp dword [esi + 4], 0
jne 0x4649a2
lea eax, [esi + 0x14]
mov dword [esi + 4], 8
call fcn.0046fd94
test byte [esi + 4], 8
je 0x4649e5
mov eax, dword [esi + 0x18]
and dword [esi + 0x80], 0
test eax, eax
mov dword [esi + 0x7c], eax
lea edi, [eax - 1]
je 0x4649e5
test edi, edi
jl 0x4649e5
lea ebx, [esi + 0x14]
mov edx, edi
mov eax, ebx
call fcn.0046fd83
movzx eax, word [eax]
push eax
call fcn.004b15a7
dec edi
test eax, eax
pop ecx
je 0x4649e5
inc dword [esi + 0x80]
test edi, edi
jge 0x4649c3
mov edi, dword [fcn.00467574]
and dword [esi + 0x78], 0
push esi
push 0x404e38
push dword [ebp + 0xc]
call edi
cmp dword [esi + 0x38], 0
jne 0x464a27
test byte [esi + 4], 8
je 0x464a27
and dword [esi + 0x78], 0
lea ebx, [esi + 0x14]
lea eax, [esi + 0x20]
mov dword [esi + 4], 4
call fcn.0046fd94
push esi
push 0x404e38
push dword [ebp + 0xc]
call edi
mov eax, dword [esi + 0x38]
test eax, eax
je 0x464828
push eax
jmp 0x464744