Function at 0x465bb6
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]
push edi
mov edi, dword [ebp + 0xc]
push edi
call dword [0x482188]
mov dword [ebp - 0x18], eax
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004321bb
mov dword [esi + 4], eax
xor eax, eax
add esp, 4
xor ebx, ebx
mov dword [ebp + 8], 2
cmp dword [ebp - 0x18], eax
jle 0x465d3c
lea ebx, [ebx]
cmp word [edi + eax*2], 0x20
jne 0x465c15
inc eax
cmp word [edi + eax*2], 0x20
je 0x465c0d
movzx ecx, word [edi + eax*2]
cmp ecx, 0x20
je 0x465c30
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x20
jne 0x465c1e
mov ecx, dword [esi + 4]
inc dword [ebp + 8]
mov edx, 0x7c
mov word [ecx + ebx*2], dx
inc ebx
cmp word [edi + eax*2], 0x20
jne 0x465c4f
inc eax
cmp word [edi + eax*2], 0x20
je 0x465c47
movzx ecx, word [edi + eax*2]
cmp ecx, 0x20
je 0x465c70
cmp cx, 0x28
je 0x465c70
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x20
jne 0x465c58
mov ecx, dword [esi + 4]
mov edx, 0x3b
mov word [ecx + ebx*2], dx
mov ecx, 1
add ebx, ecx
cmp word [edi + eax*2], 0x20
jne 0x465c93
add eax, ecx
cmp word [edi + eax*2], 0x20
je 0x465c8a
cmp word [edi + eax*2], 0x28
jne 0x465c9c
add eax, ecx
cmp word [edi + eax*2], 0x20
jne 0x465caf
lea ecx, [ecx]
add eax, ecx
cmp word [edi + eax*2], 0x20
je 0x465ca6
mov dword [ebp + 0xc], ecx
lea esp, [esp]
cmp word [edi + eax*2], 0x20
jne 0x465cc5
inc eax
cmp word [edi + eax*2], 0x20
je 0x465cbd
movzx ecx, word [edi + eax*2]
cmp ecx, 0x3b
je 0x465cfd
cmp cx, 0x20
jne 0x465cde
mov edi, edi
inc eax
cmp word [edi + eax*2], 0x20
je 0x465cd6
movzx ecx, word [edi + eax*2]
cmp ecx, 0x29
je 0x465fb7
mov edx, dword [esi + 4]
inc eax
mov word [edx + ebx*2], cx
movzx ecx, word [edi + eax*2]
inc ebx
cmp ecx, 0x3b
jne 0x465cce
xor ecx, ecx
cmp word [edi + eax*2], 0x20
jne 0x465d0e
inc eax
cmp word [edi + eax*2], 0x20
je 0x465d06
cmp dword [ebp + 0xc], ecx
mov ecx, dword [esi + 4]
mov edx, 0xa
je 0x465d20
mov edx, 0x3b
mov word [ecx + ebx*2], dx
inc ebx
cmp word [edi + eax*2], 0x3b
jne 0x465d2d
inc eax
cmp dword [ebp + 0xc], 1
je 0x465cb6
cmp eax, dword [ebp - 0x18]
jl 0x465c06
cmp dword [esi + 0x24], 0
je 0x465d46
add dword [ebp + 8], 3
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004321bb
mov dword [esi + 8], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, 0x1c
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004321bb
mov dword [esi + 0xc], eax
mov dword [eax], 0x485574
mov eax, dword [esi + 0xc]
xor edi, edi
mov dword [eax + 4], edi
mov ecx, dword [esi + 0xc]
or eax, 0xffffffff
mov dword [ecx + 8], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0xc], eax
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x10], 4
mov edx, dword [esi + 0xc]
mov dword [edx + 0x14], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x18], dx
mov ecx, dword [esi + 0xc]
xor edx, edx
mov word [ecx + 0x1a], dx
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x1c], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x20], edi
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x24], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x28], eax
mov eax, dword [esi + 0xc]
mov dword [eax + 0x2c], 4
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x30], edi
mov edx, dword [esi + 0xc]
mov eax, 2
mov word [edx + 0x34], ax
mov ecx, dword [esi + 0xc]
mov edx, 0x13
mov word [ecx + 0x36], dx
mov dword [ebp + 0xc], eax
mov eax, dword [esi + 8]
mov dword [eax], edi
mov ecx, dword [esi + 8]
add esp, 8
mov dword [ecx + 4], edi
cmp dword [esi + 0x24], edi
je 0x465f5f
mov edx, dword [esi + 0xc]
mov dword [edx + 0x38], 0x485598
mov eax, dword [esi + 0xc]
mov dword [eax + 0x40], 1
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x44], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x48], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x4c], 2
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x50], dx
mov eax, dword [esi + 0xc]
mov ecx, 3
push 0x10
mov dword [ebp + 0xc], 5
mov word [eax + 0x52], cx
call fcn.004321bb
mov edx, dword [esi + 8]
mov dword [edx + 8], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x48
mov word [ecx + 4], dx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, 0x4013
mov word [ecx + 0xc], dx
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov dword [ecx], edi
mov edx, dword [esi + 8]
mov eax, dword [edx + 8]
mov dword [eax + 8], edi
mov ecx, dword [esi + 8]
mov eax, dword [ecx + 8]
mov edx, dword [esi + 0xc]
mov dword [edx + 0x3c], eax
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x54], 0x4855b8
mov edx, dword [esi + 0xc]
mov dword [edx + 0x58], edi
mov ecx, dword [esi + 0xc]
mov eax, 2
mov dword [ecx + 0x5c], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0x60], 1
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x64], 4
mov edx, dword [esi + 0xc]
mov dword [edx + 0x68], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x6c], dx
mov ecx, dword [esi + 0xc]
mov edx, 0x13
mov word [ecx + 0x6e], dx
mov ecx, dword [esi + 8]
mov dword [ecx + 0xc], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x70], 0x4855c8
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x74], edi
mov edx, dword [esi + 0xc]
mov dword [edx + 0x78], 3
mov ecx, dword [esi + 0xc]
mov dword [ecx + 0x7c], eax
mov edx, dword [esi + 0xc]
mov dword [edx + 0x80], 4
mov eax, dword [esi + 0xc]
mov dword [eax + 0x84], edi
mov ecx, dword [esi + 0xc]
mov edx, 1
mov word [ecx + 0x88], dx
mov eax, dword [esi + 0xc]
mov ecx, 0x13
mov word [eax + 0x8a], cx
mov edx, dword [esi + 8]
add esp, 4
mov dword [edx + 0x10], edi
mov eax, dword [esi + 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
cmp ebx, edi
jle 0x4661ad
mov eax, dword [ebp + 0xc]
lea edi, [eax*8]
sub edi, eax
add edi, edi
lea ecx, [eax*4]
add edi, edi
add eax, 0xfffffffe
mov dword [ebp + 0xc], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
movzx edx, word [ecx + eax*2]
cmp edx, 0x7c
jne 0x465fc2
xor edx, edx
mov word [ecx + eax*2], dx
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
jmp 0x4661a1
xor ecx, ecx
mov dword [ebp + 0xc], ecx
inc eax
jmp 0x465cff
cmp edx, 0xa
je 0x465fd0
test dx, dx
jne 0x4661a1
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [edi + eax], ecx
mov eax, dword [ebp - 0x1c]
mov edx, dword [esi + 0xc]
lea ecx, [eax + 1]
mov dword [edx + edi + 8], ecx
mov dword [ebp - 0x20], ecx
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 0xc], eax
mov edx, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov eax, 1
mov word [edx + edi + 0x18], ax
xor edx, edx
xor eax, eax
mov dword [ebp - 8], edx
cmp word [ecx], dx
je 0x46603d
mov edx, ecx
mov edi, edi
cmp word [edx], 0x3b
jne 0x466030
cmp word [edx + 2], 0
je 0x466028
inc dword [ebp - 8]
jmp 0x466030
xor ecx, ecx
mov word [edx], cx
mov ecx, dword [ebp - 4]
inc eax
cmp word [ecx + eax*2], 0
lea edx, [ecx + eax*2]
jne 0x466016
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
test eax, eax
jle 0x466069
cmp word [ecx + edx*2], 0x3b
je 0x466054
inc edx
cmp edx, eax
jl 0x466046
jmp 0x466069
xor eax, eax
cmp word [ecx + edx*2 + 2], 0
mov word [ecx + edx*2], ax
lea eax, [ecx + edx*2 + 2]
je 0x466069
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 0xc]
add eax, edi
lea edx, [eax + 0x1a]
push edx
add eax, 0x10
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004558ad
mov eax, dword [ebp - 8]
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 0x14], eax
test eax, eax
je 0x46616a
xor ecx, ecx
mov edx, 8
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004321bb
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
add esp, 4
cmp dword [ebp - 0xc], 0
mov dword [edx + ecx], eax
je 0x466158
mov ecx, dword [ebp - 0xc]
cmp word [ecx], 0
mov dword [ebp - 0x14], 0
mov eax, ecx
mov dword [ebp - 0x1c], 0
je 0x466131
mov edx, ecx
mov dword [ebp - 8], ecx
cmp word [edx], 0x3b
jne 0x46611d
mov edx, dword [ebp - 8]
xor ecx, ecx
push eax
mov word [edx], cx
call fcn.004557ed
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x14]
mov word [edx + ecx*8 + 4], ax
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], 0
mov eax, dword [ebp - 8]
add eax, 2
inc ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
inc edx
cmp word [ecx + edx*2], 0
mov dword [ebp - 0x1c], edx
lea edx, [ecx + edx*2]
mov dword [ebp - 8], edx
jne 0x4660db
push eax
call fcn.004557ed
mov ecx, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov edx, dword [ecx + edx]
mov ecx, dword [ebp - 0x14]
mov word [edx + ecx*8 + 4], ax
mov eax, dword [esi + 8]
mov edx, dword [ebp + 0xc]
mov eax, dword [eax + edx]
mov dword [eax + ecx*8], 0
mov ecx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov edx, dword [esi + 0xc]
mov ecx, dword [eax + ecx]
mov dword [edx + edi + 4], ecx
jmp 0x466182
mov edx, dword [esi + 8]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx], 0
mov ecx, dword [esi + 0xc]
mov dword [ecx + edi + 4], 0
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
add dword [ebp + 0xc], 4
mov dword [ebp - 0x1c], edx
lea edx, [eax + ecx*2 + 2]
mov eax, ecx
mov ecx, dword [ebp - 0x18]
add edi, 0x1c
mov dword [ebp - 0x14], edx
inc eax
mov dword [ebp - 0x10], eax
cmp eax, ebx
jl 0x465f9c
push 8
call fcn.004321bb
mov ecx, dword [ebp + 8]
mov dword [esi + 0x10], eax
add esp, 4
mov dword [eax + 4], ecx
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov dword [edx], eax
pop ebx
mov esp, ebp
pop ebp
ret 8